/ Published in: Bash
This is something I have in allmost everywhere on my .bashrc files for the machines I'm running. Its handy when you want to see data about your applications. best used with a slight grep over the data.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# This is an examble of running it as is # PID|niceness|cpu-usage|memory-usage-percentage|?=sleeping/-=active|full command # 2693 0 0.0 0.0 ? /usr/bin/kde # 2703 0 11.3 4.1 ? \_ /usr/bin/X -br -nolisten tcp :0 vt7 -auth # 2751 0 0.0 0.0 ? \_ -:0 # 2788 0 0.0 0.0 - \_ /bin/sh /usr/bin/startkde # 3035 0 0.0 0.0 - \_ kwrapper4 ksmserver # alias procc='ps axf -o pid,ni,pcpu,%mem,wchan,cmd '