Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
No Starch Press

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 220 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

mpstat



SYNOPSIS

       mpstat [ -P { cpu | ALL } ] [ -V ] [ interval [ count ] ]


DESCRIPTION

       The  mpstat  command  writes to standard output activities
       for each available processor, processor 0 being the  first
       one.   Global  average activities among all processors are
       also reported.  The mpstat command can be used both on SMP
       and  UP  machines,  but in the latter, only global average
       activities will be printed.

       The interval parameter specifies the  amount  of  time  in
       seconds  between each report.  A value of 0 indicates that
       processors statistics are to  be  reported  for  the  time
       since  system  startup (boot).  The count parameter can be
       specified in conjunction with the  interval  parameter  if
       this one is not set to zero. The value of count determines
       the number of reports generated at interval seconds apart.
       If  the  interval parameter is specified without the count
       parameter, the mpstat command generates  reports  continu­
       ously.


REPORTS

       The report generated by the mpstat command has the follow­
       ing format:

       CPU
              Processor number. The keyword  all  indicates  that
              statistics  are  calculated  as  averages among all
              processors.
       %user
              Show  the  percentage  of  CPU   utilization   that
              occurred  while executing at the user level (appli­
              cation).
       %nice
              Show  the  percentage  of  CPU   utilization   that
              occurred  while  executing  at  the user level with
              nice priority.
       %system
              Show  the  percentage  of  CPU   utilization   that
              occurred  while executing at the system level (ker­
              nel).
       %idle
              Show the percentage of time that the  CPU  or  CPUs
              were idle.
       intr/s
              Show  the  total  number of interrupts received per
              second by the CPU or CPUs.


OPTIONS


       S_TIME_FORMAT
              If  this  variable exists and its value is ISO then
              the current locale will be  ignored  when  printing
              the  date in the report header.  The mpstat command
              will use the ISO format (YYYY-MM-DD) instead.


EXAMPLES

       mpstat 2 5
              Display five reports of global statistics among all
              processors at two second intervals.

       mpstat -P ALL 2 5
              Display  five reports of statistics for all proces­
              sors at two second intervals.


BUGS

       /proc filesystem must be mounted for the mpstat command to
       work.

       Only a few activities are supplied by the Linux kernel for
       each processor.


FILES

       /proc contains various files with system statistics.


AUTHOR

       Sebastien Godard <sebastien.godard@wanadoo.fr>


SEE ALSO

       sar(1), sadc(8), sa1(8), sa2(8), iostat(1), vmstat(8)

       http://perso.wanadoo.fr/sebastien.godard/

Linux                        MAY 2000                   MPSTAT(1)
  




Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.18 Seconds