/sbin/pidof java | sed 's/\s/\n/g' cat /proc/%/environ | tr \\0 \\n combined.... /sbin/pidof java | sed 's/\s/\n/g' | xargs -i% cat /proc/%/environ | tr \\0 \\n xargs -i% -t ps -o uid,pid,start_time,ucomm -p % w 2> /dev/null xargs -i% -t ps -o uid,pid,start_time,comm,args -p % wwe ' /sbin/pidof java | sed 's/\s/\n/g' |xargs -i% -t ps -o uid,pid,start_time,comm,args -p % wwe '
Rants and ravings of a semi-autistic developer who has a hard time remembering idiotic nonsense details. Why remember it, when you know where to find it.
Friday, June 15, 2012
pidof and /proc/pid/environ values and ps and ...
All this time and I was not aware
Labels:
linux
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment