On 07/01/07, Thomas Anders <[EMAIL PROTECTED]> wrote:
> Dave Shield wrote:
> > If you try
> >     cat /proc/05026/psinfo
> >
> > how much does this report?  Everything, or is this truncated too?
>
> None of that, just binary data, I fear. :-)
> Unlike Linux /proc, Solaris /proc is designed for C, not cat.

Fair enough.
How about

    od -c /proc/05026/psinfo
or
    strings /proc/05026/psinfo

or something equivalent?
The 'pr_psargs' field of this data structure is a simple string,
so should be visible in a dump of the psinfo file.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to