Mpstat

Mpstat

mpstat is a computer command-line software used in linux operating system to report (on the screen) processor related statistics. It is used in computer monitoring in order to diagnose problems or for build statistics about a computer CPU usage.

Description

The mpstat command writes to standard output activities for each available processor.

The mpstat command can be used both on SMP and UP machines, but in the latter, only global average activities will be printed.

= Usage =

$ mpstat

Interval is the time in seconds between printing out a line of statistics.Count is the number of lines of output you want.

It's very important to disregard the first line of output from mpstat (like iostat, vmstat, etc) as this line has unreliable information.

= Examples =Example of output under linux:

$ mpstatLinux 2.4.21-32.ELsmp (linux00) 07/04/07

10:26:54 CPU %user %nice %system %iowait %irq %soft %idle intr/s10:26:54 all 0.07 0.00 0.16 8.48 0.00 0.09 91.18 165.49

under solaris 8

$ mpstatCPU minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl 0 -43 -29 0 -1313 -1406 -769 -701 0 -20 0 -806 -112 -49 -10 -1889

References

* [http://www.linuxcommand.org/man_pages/mpstat1.html mpstat man page]

External links

* [http://perso.orange.fr/sebastien.godard/ sysstat] - includes mpstat


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • mpstat — is a computer command line software used in unix type operating systems to report (on the screen) processor related statistics. It is used in computer monitoring in order to diagnose problems or for build statistics about a computer CPU usage.… …   Wikipedia

  • Load (computing) — In UNIX computing, the system load is a measure of the amount of work that a computer system is doing. The load average is the average system load over a period of time. It is conventionally given as three numbers that represent the system load… …   Wikipedia

  • Iostat — (input/output statistics) is a computer operating system monitoring tool used to collect and show storage input and output statistics.It is often used to identify performance issues with local disks or networked file systems such as NFS.The… …   Wikipedia

  • CPU time — on Single CPU Multi Tasking System CPU time (or CPU usage, process time) is the amount of time for which a central processing unit (CPU) was used for processing instructions of a computer program, as opposed to, for example, waiting for… …   Wikipedia

  • Tiempo de CPU — Exhibición del tiempo de CPU (usando top) de varios procesos en un sistema tipo Unix (GNU/Linux) (la columna TIME+ ). El tiempo de CPU (o uso del CPU, o tiempo de proceso) es la cantidad de tiempo en que la unidad central de proceso fue usada… …   Wikipedia Español

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”