[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: monitoring load average



On Tuesday 07 January 2003 8:28 pm, Adrian 'Dagurashibanipal' von Bidder 

> Monitoring vmstat output? I feel vmstat gives you all relevant data in
> one place: memory, disk, cpu.
>
> Sorry, no advise on how to collect this from the network.

inetd?

inetd.conf:
vmstat  stream  tcp nowait  root    /usr/bin/vmstat /usr/bin/vmstat

services:
vmstat	1551/tcp

then... 

gdh@lindesk:~$ telnet 10.0.0.1 1551
Trying 10.0.0.1...
Connected to 10.0.0.1.
Escape character is '^]'.
   procs                      memory    swap          io     system         
cpu
 r  b  w   swpd   free   buff  cache  si  so    bi    bo   in    cs  us  sy  
id
 0  0  0   1280  26380  22672 121520   0   0    13    19  178    41   2   1  
97
Connection closed by foreign host.

The joys of UNIX - then just use hosts.allow to restrict access to this port 

=)

gdh



Reply to: