public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ps COMMAND column
@ 2009-01-13 22:30 Paul McFerrin
  2009-01-13 22:47 ` Buchbinder, Barry (NIH/NIAID) [E]
  2009-01-14 12:25 ` Ehud Karni
  0 siblings, 2 replies; 3+ messages in thread
From: Paul McFerrin @ 2009-01-13 22:30 UTC (permalink / raw)
  To: cygwin

Is there a way to get "ps" to display more on the COMMAND column?

It appears to display only argv[0] and none of the others.  So when 
executing ksh scripts, they all show up as "ksh".  Or if you have 
multiple executions of a single command, it makes it hard to identify 
which one you want to kill off.

- Paul

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: ps COMMAND column
  2009-01-13 22:30 ps COMMAND column Paul McFerrin
@ 2009-01-13 22:47 ` Buchbinder, Barry (NIH/NIAID) [E]
  2009-01-14 12:25 ` Ehud Karni
  1 sibling, 0 replies; 3+ messages in thread
From: Buchbinder, Barry (NIH/NIAID) [E] @ 2009-01-13 22:47 UTC (permalink / raw)
  To: cygwin, 'pmcferrin@columbus.rr.com'

Paul McFerrin wrote on Tuesday, January 13, 2009 5:14 PM:

> Is there a way to get "ps" to display more on the COMMAND column?

Doesn't look like it.  But try

$ pstree -a
$ procps -f
$ procps -F

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ps COMMAND column
  2009-01-13 22:30 ps COMMAND column Paul McFerrin
  2009-01-13 22:47 ` Buchbinder, Barry (NIH/NIAID) [E]
@ 2009-01-14 12:25 ` Ehud Karni
  1 sibling, 0 replies; 3+ messages in thread
From: Ehud Karni @ 2009-01-14 12:25 UTC (permalink / raw)
  To: pmcferrin; +Cc: cygwin

On Tue, 13 Jan 2009 17:14:20, Paul McFerrin wrote:
>
> Is there a way to get "ps" to display more on the COMMAND column?

Use the "procps" command instead.  It works like the "ps" command on
Linux.  For example I use the following command:
    procps -e -o user,pid,ppid,sess,tty8,start,time,cmd -w 160

Ehud.


--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-14 10:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-13 22:30 ps COMMAND column Paul McFerrin
2009-01-13 22:47 ` Buchbinder, Barry (NIH/NIAID) [E]
2009-01-14 12:25 ` Ehud Karni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).