Re: CYGWIN_NT-5.1 1.7.0(0.214/5/3) ps (cygwin) 1.11 - how do I display the arguments to the processes?

2009-11-19 Thread Julio Costa
Hi Larry, If you want a more dirty-cheap solution, without installing anything, you could also try something like this in a bash shell: for i in /proc/[0-9]* ; do echo -n "${i#/proc/}: " ; cat -v $i/cmdline ; echo ; done | sed -e 's/\^@/ /g' -- ___ Julio Costa -- Problem reports:

Re: CYGWIN_NT-5.1 1.7.0(0.214/5/3) ps (cygwin) 1.11 - how do I display the arguments to the processes?

2009-11-18 Thread Haojun Bao
Chris January writes: > > Install the procps package and then use the procps command. > You can also try WMIC which comes with Windows, on XP in my case. If you need for e.g., PID/PPID/CMDLINE, especially if you need see Windows native processes and if procps can't do that (I don't know if it ca

Re: CYGWIN_NT-5.1 1.7.0(0.214/5/3) ps (cygwin) 1.11 - how do I display the arguments to the processes?

2009-11-18 Thread Chris January
On Wed, 18 Nov 2009 04:00:21 -0800 (PST), "Larry W. Virden" wrote: > A developer has asked me to see if there is a way in Cygwin to get output > more similar to Solaris or other Unix system ps commands. > > He specifically needs to get information about a process, its pid, and the > argume

Re: CYGWIN_NT-5.1 1.7.0(0.214/5/3) ps (cygwin) 1.11 - how do I display the arguments to the processes?

2009-11-18 Thread Eliot Moss
Larry W. Virden wrote: A developer has asked me to see if there is a way in Cygwin to get output more similar to Solaris or other Unix system ps commands. He specifically needs to get information about a process, its pid, and the arguments passed to the process. When I try the various flags f

CYGWIN_NT-5.1 1.7.0(0.214/5/3) ps (cygwin) 1.11 - how do I display the arguments to the processes?

2009-11-18 Thread Larry W. Virden
A developer has asked me to see if there is a way in Cygwin to get output more similar to Solaris or other Unix system ps commands. He specifically needs to get information about a process, its pid, and the arguments passed to the process. When I try the various flags for ps, I don't see any wh