display ps command line parameters
Mon Apr 30 17:48:00 GMT 2007
On Mon, 30 Apr 2007, Andy@Jet-Net wrote:
> Hi all,
> I'm trying to get parameters entered at the Cygwin command line to
> appear on my ps command, and failing miserably!
> i.e. I'm running the following process at the command line:
> program parameter1
> In "ps -s" I get something like:
> PID TTY STIME COMMAND
> 1234 con 09:00:00 /path/program
> ... but I'd like to be able to pick up the "parameter1". So far as I can see
> it other ps commands on Unix have an "-o args" option. I've tried every
> option that seems to be available in Cygwin ps (v 1.11), but cannot get past
> this wall.
> Is there a way of doing this through ps (or an alternative) in Cygwin?
|\ _,,,---,,_ firstname.lastname@example.org | email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Freedom is just another word for "nothing left to lose"... -- Janis Joplin
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin