ps with a good overview of data


/ Published in: Bash
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.