Warning:  main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/h/hogs.html on line 1
Warning:  main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/h/hogs.html on line 1
Warning:  main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/h/hogs.html on line 8
Warning:  main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/h/hogs.html on line 8
List the processes that are hogging the CPU
hogs [options] [pids ...]
Neutrino
- -n
 
- Show the names of processes (hogs always displays the
  process IDs).
 
- -p priority
 
- Run hogs at the given priority (default: the same as the
  parent process).
 
- -s sec
 
- Sleep this long between updates (default: 3 seconds).
 
- -% num
 
- Show only processes that consume this percentage or more CPU.
  You can use this option to reduce the amount of output.
 
The hogs utility displays a list of processes in descending order
by percentage of CPU usage (i.e. it shows who's hogging the processor).
It loops forever, sleeping between updates.
The format of the output is tabular, and includes:
- PID
 
- The ID of the process being reported.
 
- NAME
 
- The name of the process (included only if you specify the -n
  option).
 
- MSEC
 
- The number of milliseconds for which this process has been running since
  the last iteration.
 
- PIDS
 
- The amount of time that the process ran in this iteration, as a
  percentage of the times of all the other processes running.
 
- SYSTEM
 
- The amount of time that the process ran in this iteration, as a
  percentage of the iteration time.
 
Display the processes that are using 10% or more of the CPU.
Include the name of the processes:
$ hogs -n -% 10
PID             NAME  MSEC  PIDS SYSTEM
1                     2023   78%    67%
8200       devb-eide   384   14%    12%
1                     2456   80%    81%
8200       devb-eide   357   11%    11%
1                     2369   87%    78%
This sample includes three iterations.
pidin,
top
Fine-Tuning Your System
in the Neutrino User's Guide
Warning:  main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/h/hogs.html on line 161
Warning:  main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/h/hogs.html on line 161