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

Julio Costa costaju@gmail.com
Thu Nov 19 11:30:00 GMT 2009


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