David Landgren > BSD-Process > topten

Download:
BSD-Process-0.07.tar.gz

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

topten - Show the ten biggest processes according to some attribute

SYNOPSIS ^

topten <attr> <count>

DESCRIPTION ^

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.

OPTIONS ^

-V

Print the version of this program and exit.

EXAMPLES ^

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

SEE ALSO ^

BSD::Process

AUTHOR ^

David Landgren, copyright (C) 2006. All rights reserved.

LICENSE ^

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: