Posted By

xxtjaxx on 10/27/09


Tagged

psgrepbashshcshashprocesses


Versions (?)

ps with a good overview of data


 / 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.

  1. # This is an examble of running it as is
  2. # PID|niceness|cpu-usage|memory-usage-percentage|?=sleeping/-=active|full command
  3. # 2693 0 0.0 0.0 ? /usr/bin/kde
  4. # 2703 0 11.3 4.1 ? \_ /usr/bin/X -br -nolisten tcp :0 vt7 -auth
  5. # 2751 0 0.0 0.0 ? \_ -:0
  6. # 2788 0 0.0 0.0 - \_ /bin/sh /usr/bin/startkde
  7. # 3035 0 0.0 0.0 - \_ kwrapper4 ksmserver
  8. #
  9. alias procc='ps axf -o pid,ni,pcpu,%mem,wchan,cmd '

Report this snippet  

You need to login to post a comment.