Archive for December, 2008

check linux bottleneck

1, CPU usage

use top, w or vmstat

 

2, memory usage

top or free

 

3, disk I/0

vmstat 1 5

 

4, number of tcp connections

netstat -an | wc -l

Wake up on Lan (WOL) from Linux

I was looking for software to do Wake up on Lan from Linux and this is one of solutions.

get source code form Wake-On-Lan

and compile on your machine.

[root@ns99 ~]#  gcc -o wol wol.c

Usage: wol <IP> <MAC>
or 
Usage: wol <broadcast IP> <MAC>

« Previous Page