Repository List
/
perl
/
trunk
/
sum.pl @ HEAD
English
Français
Chinese (Simplified)
Chinese (Traditional)
Blame/Annotate
Checkout
View File
RSS Feed
Show last: 20 ,
50
,
100
,
All
Date
File
Revision
Author
Diff
Revision Log
2008/05/17 14:16:36
179
179
dpavlin
HTML
|
TEXT
added --human option to display units
2005/02/10 06:29:18
55
55
dpavlin
HTML
|
TEXT
added eval around Term::ReadKey::GetTerminalSize
2005/02/10 01:58:08
52
52
dpavlin
Small script to do powerfull reporting based on first (space delimited)
element of STDIN and description which is eveything rest. It will generate
rolling sum and graph:
$ ps v | awk '{ print $8 " " $9 " " $10 }' | sort -rn | ~/private/perl/sum.pl | head
You can add this to alias to create list of worst offenders to your memory
freedom :-)