This is the mail archive of the
cygwin
mailing list for the Cygwin project.
AW: Question about the ps command, missing option -o to format the output
- From: Holger Dietze <holger dot dietze at inforsacom dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Wed, 26 Mar 2014 13:20:08 +0000
- Subject: AW: Question about the ps command, missing option -o to format the output
- Authentication-results: sourceware.org; auth=none
> But if it works it at least a workaround.
And it works:
$ procps
PID TTY TIME CMD
18124 pty1 00:00:00 procps
4112 pty1 00:00:01 bash
$ procps -p 4112 -o pid= -o comm=
4112 bash
Thank you.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple