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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

  • mo... Russell Coker
    • ... Adrian 'Dagurashibanipal' von Bidder
      • ... Gavin Hamill
      • ... Васил Колев
      • ... Corey Ralph
        • ... Samantha Scafe
          • ... Jeremy C. Reed
            • ... Michelle Konzack
              • ... Bart-Jan Vrielink
                • ... Keegan Quinn
              • ... Jeremy C. Reed
                • ... Cristian Ionescu-Idbohrn
    • ... Alex Borges (lex)

Reply via email to