[Nagiosplug-devel] BUG: check_proc doeas not work under FreeBSD 4

Tomasz Pilat poncki.lists at axelspringer.com.pl
Tue Dec 21 03:04:02 CET 2004


Self-correction ;-)

>> Alternatively, we'd have to change check_procs to
>> only use one column for command + args and do some clever working out
>> of what is the command and what is the arguments and I'm not convinced

> Why, this should be pretty easy and straightforward -

Oh well, it it not ;-)

> with /bin/ps -axwo 'state uid ppid vsz rss pcpu command' You will get:

> STAT   UID  PPID   VSZ  RSS %CPU COMMAND
> Ss       0     1  1200  596  0.0 /usr/sbin/syslogd -4 -s -cc -l /jails/named/dev/log

and such pretty things as:

Ss      52     1  3756  700  0,0 /usr/local/sbin/ripd -d
Is   65534     1  1948  460  0,0 proftpd: (accepting connections) (proftpd)
S     1054     1  2928 1320  0,0 ./eggdrop meggy17.conf (eggdrop-1.6.17)
Ss       0     1  9660 5096  0,0 /usr/local/bin/perl -w /usr/local/bin/mrtg /usr/local/etc/mrtg/sysstats.cfg
I      250 90565  3128 1268  0,0 qmgr -l -t fifo -u
Is       0   201  5152 1780  0,0 sshd: poncki [priv] (sshd)

*puzzled*

Ponc





More information about the Devel mailing list