This is a discussion on Re: HOST-RESOURCES-MIB::hrSWRunParameters - truncation - Solaris 9 - - SNMP ; On 07/01/07, Thomas Anders 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 ...
On 07/01/07, Thomas Anderswrote:
> 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?p...rge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders