[Nagiosplug-help] check_javaproc.pl on Solaris

Michael Feld michael.nagiosplughelp at incamail.com
Mon Nov 18 20:54:46 CET 2002


anyone made this work with solaris?

> -----Original Message-----
> From: Subhendu Ghosh <sghosh at sghosh.org>
> Sent: Mon Nov 18 20:57:00 EST 2002
> To: Nagiosplug-help at lists.sourceforge.net
> Subject: Re: [Nagiosplug-help] check_javaproc.pl on Solaris
> 
> 
> Yes - needs some ps functionality to list child processes in groups with 
> the parent. 
> 
> -sg
> On Mon, 18 Nov 2002, Michael Feld wrote:
> 
> > Hi there..
> > 
> > The perl script works great on linux, but not so great on Solaris x86
> > (haven't tried it on sparc because of the problems with nrpe).  Here's
> > the output:
> > 
> > root at database[libexec]# ./check_javaproc.pl 
> > ps: illegal option -- H
> > ps: unknown output format: -o %a
> > ps: illegal option -- w
> > ps: illegal option -- w
> > usage: ps [ -aAdeflcjLPy ] [ -o format ] [ -t termlist ]
> > 	[ -u userlist ] [ -U userlist ] [ -G grouplist ]
> > 	[ -p proclist ] [ -g pgrplist ] [ -s sidlist ]
> >   'format' is one or more of:
> > 	user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid
> > 	pri opri pcpu pmem vsz rss osz nice class time etime stime
> > 	f s c lwp nlwp psr tty addr wchan fname comm args projid project
> > 0 java processes for 0 applicationsroot at database[libexec]# 
> > 
> > 
> > I tried changing the options to "-ef" but clearly there's still a
> > problem having to do with the output format.  Any help would be
> > appreciated.  Thanks. :)
> > 
> > Michael
> > 
> > 
> 
> -- 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: To learn the basics of securing 
> your web site with SSL, click here to get a FREE TRIAL of a Thawte 
> Server Certificate: http://www.gothawte.com/rd524.html
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> 

------------------------------------------------------------
Tired of spam and email overload?
Get a FREE 6MB email account at http://www.incamail.com





More information about the Help mailing list