Thomas/Davie,

od and strings output below.  strings is truncated like native ps
command.  Not sure about od command.

[EMAIL PROTECTED]:/root# od -c /proc/5026/psinfo
0000000  \b  \0   @  \b  \0  \0  \0   '  \0  \0 023   �  \0  \0 023   ~
0000020  \0  \0 022   �  \0  \0 002  \f  \0  \0  \0  \0  \0  \0  \0  \0
0000040  \0  \0  \0 001  \0  \0  \0 001  \0  \0  \0  \0  \0 005 211   
0000060  \0 001   � 020  \0  \0  \0  \0   �   �   �   �  \0  \0 002   x
0000100   E 234 013   :  \t   � 030   �  \0  \0  \0 023 022   z   9 200
0000120  \0  \0  \0 003 021   I  \f 200   j   a   v   a  \0  \0  \0  \0
0000140  \0  \0  \0  \0  \0  \0  \0  \0   /   u   s   r   /   l   o   c
0000160   a   l   /   j   d   k   /   b   i   n   /   j   a   v   a    
0000200   -   s   e   r   v   e   r       -   X   m   s   2   5   6   m
0000220       -   X   m   x   2   5   6   m       -   D   o   r   g   .
0000240   o   m   g   .   C   O   R   B   A   .   O   R   B   C   l   a
0000260   s   s   =   o   r   g   .  \0  \0  \0  \0  \0  \0  \0  \0  \r
0000300   �   �   �   �   �   �   �   � 001  \0  \0  \0  \0  \0  \0 004
0000320  \0  \0  \0 001  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0000340  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0 022 002  \0  \0  \0 001
0000360  \0  \0  \0  \0  \0  \0  \0  \0 005 001   S 024  \0   �   (  \0
0000400  \0  \0  \0   ;  \0  \0  \0  \0   E 234 013   :  \0  \0  \0  \0
0000420  \0  \0  \0 002 026  \r   � 200   T   S  \0  \0  \0  \0  \0  \0
0000440  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0000460  \0  \0  \0  \0   �   �   �   �   �   �   �   �  \0  \0  \0  \0
0000500  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0000520

[EMAIL PROTECTED]:/root# strings /proc/5026/psinfo
����
java
/usr/local/jdk/bin/java -server -Xms256m -Xmx256m
-Dorg.omg.CORBA.ORBClass=org.
������
��������

Full command line from /usr/ucb/ps is:
[EMAIL PROTECTED]:/root# /usr/ucb/ps -auwxxxx | grep 5026
root      5026  0.0  2.0362960116240 ?        S   Jan 03
0:19 /usr/local/jdk/bin/java -server -Xms256m -Xmx256m
-Dorg.omg.CORBA.ORBC

John
On Sun, 2007-01-07 at 22:39 +0000, Dave Shield wrote:
> 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
-- 
===========================================
John Clinton, Netcool Administrator
Mobile 678.717.8864 Office:  678.689.6589

-------------------------------------------------------------------------
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