SUMMARY: psinfo

From: Jaewan Kim (jaewan@u1.net)
Date: Tue Dec 05 2000 - 12:07:27 CST


To get the full commandline,

/usr/ucb/ps ww <pid>

/usr/ucb/ps probes /proc/<pid>/as as well as /proc/<pid>/psinfo.

============================================
Jaewan Kim

856-988-0062 x425 (u1.net)
877-250-8919 (ureach.com fax/voicemail)

======== Original question ========

> Where would you find the full command line for a process?
>
> ps -ef would return up to 80 characters.
>
> ps actually looks at the /proc/<pid>/psinfo to return that information. I
> looked at <sys/procfs.h> which had PRARGSZ defined to 80.
> Is there any way to recover the full command line for a process given the
> pid?

_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:24 CDT