Pierre,

Instead of using /usr/bin/ps, try /usr/ucb/ps -auxwww

This will output a much longer cmd line for each process.


------------------------------
James Schappet
Schappet.com


On Mon, 8 Jul 2002, [iso-8859-1] Pierre-Philippe Ravier wrote:

> Hi,
>
> I tried to use the Process Perl module on Solaris 8.
> While it works well, there is a limitation :
>
> The cmndline variable, which contains the command-line
> of the process we are getting informations from, is
> limited to 80 chars.
>
> While this is a limitation we also find in the 'ps'
> program, it doesn't exist in another version of the
> 'ps' program. This version is declared as more or less
> obsolete from Sun, but yet it can retrieve the
> complete command-line of a process whatever its length
> is.
>
> I would like to know how to do that In Perl (without
> calling the external ps binary of course).
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
> _______________________________________________
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to