topten - Show the ten biggest processes according to some attribute
topten <attr> <count>
Display one or more attributes for a number of processes currently running on the system. By default, the rssize attribute is assumed, and 10 processes are displayed.
rssize
Print the version of this program and exit.
topten time 5
Display the 5 processes that have spent the most CPU time (system and user).
topten nsignals 10
Display the 10 processes that have received the most signals. On my machine, this produces
svnserve(89699) owned by eric: 4346541 syslogd(45796) owned by david: 1447563 sshd(478) owned by root: 729944 pflogd(253) owned by root: 727742 cron(498) owned by root: 648861 postgres(18164) owned by eric: 589751 master(95268) owned by david: 294754 master(56500) owned by david: 39297 httpd-static(15330) owned by eric: 14309 httpd-static(15332) owned by eric: 14280
BSD::Process
David Landgren, copyright (C) 2006. All rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
To install BSD::Process, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BSD::Process
CPAN shell
perl -MCPAN -e shell install BSD::Process
For more information on module installation, please visit the detailed CPAN module installation guide.