[Nagiosplug-devel] check_procs problem

James Fidell james at cloud9.co.uk
Wed Jan 8 10:14:04 CET 2003


Quoting Dave Viner (dviner at yahoo-inc.com):

> how about these args for ps on freebsd:
> 
> /bin/ps waxo 'state uid ppid ucomm command'
> 
> the ucomm column according to the man page should print 
> 	"ucomm      name to be used for accounting"
> which on my system is the command name without any path.
> but command will still print out the full executable and arguments.

That looks like it would do the trick.

James




More information about the Devel mailing list