display ps command line parameters

Tony Richardson ar63@evansville.edu
Mon Apr 30 16:04:00 GMT 2007


Andy <at> Jet-Net <Andy <at> jet-net.co.uk> writes:
> In "ps -s" I get something like:
> 
>  PID  TTY    STIME COMMAND
> 1234  con 09:00:00 /path/program
> 
> Is there a way of doing this through ps (or an alternative) in Cygwin?

An alternative would be to parse /proc/PID/cmdline.  Arguments are
separated by null bytes.

Tony Richardson





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