This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: display ps command line parameters
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 1 May 2007 09:36:03 -0400
- Subject: Re: display ps command line parameters
- References: <4edba06c76Andy@jet-net.co.uk> <loom.20070430T174617-803@post.gmane.org> <4edc19cdd3Andy@jet-net.co.uk>
- Reply-to: cygwin at cygwin dot com
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/