AW: Question about the ps command, missing option -o to format the output

Holger Dietze holger.dietze@inforsacom.com
Wed Mar 26 15:44:00 GMT 2014


> 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



More information about the Cygwin mailing list