display ps command line parameters

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Tue May 1 13:36:00 GMT 2007


On Tue, May 01, 2007 at 10:41:19AM +0100, Andy@Jet-Net wrote:
>> An alternative would be to parse /proc/PID/cmdline. 
>I think I'll use Tony's solution, as I don't have pstree available on my
>"development" or "live" Cygwin installation. This would be quicker as I can
>use it straight "out of the box".
>
>I was looking for exactly something like the cmdline file yesterday!

It seems rather silly to parse /proc/PID/cmdline when you could just use
procps.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list