Red Hat ENTERPRISE LINUX 3 - INTRODUCTION TO SYSTEM ADMINISTRATION Administration Manual page 35

Introduction to system administration
Hide thumbs Also See for ENTERPRISE LINUX 3 - INTRODUCTION TO SYSTEM ADMINISTRATION:
Table of Contents

Advertisement

Chapter 2. Resource Monitoring
The device specification, displayed as
¦
major-number
number starting at zero.
The number of transfers (or I/O operations) per second.
The number of 512-byte blocks read per second.
The number of 512-byte blocks written per second.
The total number of 512-byte blocks read.
The total number of 512-byte block written.
This is just a sample of the information that can be obtained using
refer to the
iostat(1)
2.5.4.2. The
mpstat
The
command at first appears no different from the CPU utilization report produced by
mpstat
:
iostat
Linux 2.4.20-1.1931.2.231.2.10.ent (pigdog.example.com)
07:09:26 PM
CPU
07:09:26 PM
all
With the exception of an additional column showing the interrupts per second being handled by the
CPU, there is no real difference. However, the situation changes if
Linux 2.4.20-1.1931.2.231.2.10.ent (pigdog.example.com)
07:13:03 PM
CPU
07:13:03 PM
all
07:13:03 PM
0
07:13:03 PM
1
On multiprocessor systems,
making it possible to determine how effectively each CPU is being used.
2.5.4.3. The
command
sadc
As stated earlier, the
analysis. By default, the data is written to files in the
, where
¦
§
¦
sa
dd
dd
is normally run by the
sadc
, which is located in
sysstat
measuring interval. By default,
each interval to the current
3. Device major numbers can be found by using
sample output from
ls -l /dev/hda
brw-rw----
1 root
The major number in this example is
is the device's major number
§
man page.
command
%user
%nice %system
6.40
5.84
%user
%nice %system
6.40
5.84
6.36
5.80
6.43
5.87
allows the utilization for each CPU to be displayed individually,
mpstat
command collects system utilization data and writes it to a file for later
sadc
is the current day's two-digit date.
§
script. This script is periodically invoked by
sa1
/etc/cron.d/
runs
cron
/var/log/sa/sa
:
disk
and appears between the file's group and its minor number.
3
¦
dev
major-number
3
, and
¦
sequence-number
%idle
intr/s
3.29
84.47
542.47
%idle
intr/s
3.29
84.47
542.47
3.29
84.54
542.47
3.29
84.40
542.47
/var/log/sa/
. The
script invokes
sa1
every 10 minutes, adding the data collected during
sa1
¦
§
file.
dd
to display the desired device file in
ls -l
3,
0 Aug 30 19:31 /dev/hda
§
-sequence-number
is a sequence
§
. For more information,
iostat
07/11/2003
's
option is used:
mpstat
-P ALL
07/11/2003
directory. The files are named
cron
for a single one-second
sadc
/dev/
23
, where
via the file
. Here is

Advertisement

Table of Contents
loading

Table of Contents