Is there a way to get the full output from ps
on Cygwin?
For instance, none of the following gives me the full wget
shell line, just /usr/bin/wget
:
$ ps -ef | grep wget
Administ 9844 7780 pty1 13:22:57 /usr/bin/wget
Administ 8036 12648 pty0 13:18:15 /usr/bin/wget
Administ 4832 11828 pty2 13:23:42 /usr/bin/wget
$ ps awx | grep wget
9844 7780 9844 10264 pty1 197108 13:22:57 /usr/bin/wget
8036 12648 8036 10060 pty0 197108 13:18:15 /usr/bin/wget
4832 11828 4832 10780 pty2 197108 13:23:42 /usr/bin/wget
$ ps -p 9844 | cat
PID PPID PGID WINPID TTY UID STIME COMMAND
9844 7780 9844 10264 pty1 197108 13:22:57 /usr/bin/wget
ps -efl
? This is what I normally use for a long listing in Linux. Or you can use-o
and specify the columns you want to see. I don't know if these options are available in Cygwin.ps -efl
gives the same output asps -ef
.