Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ iostat command Detailed     - Configure shared library PCRE (Linux)

- Depth understanding of DB2 table space (Tablespace) (Database)

- Node.js Getting the basics: Helloworld! (Linux)

- mysqldump implement database logical backup (Database)

- CentOS iptables firewall enabled (Linux)

- DataGuard Standby backup error RMAN-06820 ORA-17629 to solve (Database)

- The official release method to upgrade to Ubuntu 15.04 (Linux)

- Merge Sort (Programming)

- When a software RAID data recovery and reconstruction of how failure (Linux)

- Oracle RMAN repair logical bad blocks (Database)

- How to build a custom exclusive Ubuntu Live CD (Linux)

- Fast Learning Clojure (Programming)

- BCP importing and exporting large amounts of data Practice (Database)

- PULL operation mechanism parsing XML Comments (Programming)

- DRBD daily management (Server)

- Python 3.5 await / async (Programming)

- Oracle ORA-01089 failure analysis (Database)

- Oracle 11g on Linux system boot from the startup settings (Database)

- Qt for file splitting and fusion gadgets (Programming)

- MongoDB simple replication configuration (Database)

  iostat command Detailed
  Add Date : 2018-11-21      
  Iostat for outputting CPU and disk input and output, partitions, Network File System NFS-related statistics. iostat command is used to monitor system input device I / O, and to generate reports, statistical reports according to modify the system configuration, obtain better performance.

iostat [-c] [-d] [-N] [-n] [-h] [-k | -m] [-t] [-V] [-x] [-z] [device [... ] | ALL] [-p [device [, ...] | ALL]] [interval [count]]

iostat can generate three types of reports: CPU utilization reports, equipment utilization reports, network file system utilization reports.
iostat command format can be summarized as follows:
iostat [parameters] [time] [number]
Wherein the time in seconds.

Simple to use 1, iostat command
iostat command can display the CPU load and I / O system and partition status information.
Direct execution iostat command can display the following contents:
# Iostat
# Iostat -xm
(With xm parameter displays extended information and disk data per sector to have displayed per megabyte [1] sector equals 512 bytes)

Meaning the output of the project are as follows:
1) avg-cpu paragraph:
% User: the user level operation of the percentage of CPU usage.
% Nice: nice operation percentage use of the CPU.
% System: at the system level (kernel) to run the percentage of CPU usage.
% Iowait: When the CPU waits for the hardware I / O, the percentage of CPU usage.
% Steal: the management of the program by maintaining a second virtual processor, a virtual CPU waits for the percentage of time unconscious.
% Idle: the percentage of CPU idle time.
Device group:
tps: device per second I / O requests, a plurality of logical requests can be combined into "one I / O request."
Blk_read / s: read per second block number
Blk_wrtn / s: block number written per second
The total number of block read: Blk_read
Blk_wrtn: The total number of block write
wrqm / s write request after the merger, per second sent to the writing device requests.

2. Parameter Description iostat command
-c Display only CPU statistics. And -d options are mutually exclusive.
-d display only disk statistics. And -c options are mutually exclusive.
-k displayed in KB per second of disk requests, the default unit block.
-m displays in MB per second of disk requests.
-N Displays the disk array information
-n Display NFS network file system reports. This option is only available for Linux kernel 2.6.17 or later.
-p device | ALL
And -x options are mutually exclusive, for displaying statistics block device and system partition, you can specify a device name after -p, such as:
# Iostat -p hda
Or show all devices:
# Iostat -p ALL
-t When the output data, the print data collection time.
-V Print version number and helpful information.
-x output expansion information.
- Install Firefox 32 official version of the Linux system (Linux)
- Preview function to confirm the stop resource Oracle 12c new feature crsctl (Database)
- Java Set and List in the relationship and difference (Programming)
- Linux based serial programming (Programming)
- Java implementation of stacks and queues (Programming)
- Linux uses the SMTP proxy to send mail (Linux)
- Spring AOP for logging (Programming)
- Formatted output printf command (Programming)
- Cygwin install Python MySQLdb (Linux)
- ActiveMQ-based shared file system HA solutions (Server)
- Ubuntu Server 14.04 installation Web server (Linux + Apache + MySQL + PHP) (Server)
- Linux Network Programming - raw socket Example: sending a UDP packet (Programming)
- JavaScript common functions summary (Programming)
- CentOS 6.5 installation and deployment SVN 1.8.10 (Linux)
- Grep, Ack, Ag searches Efficiency Comparison (Linux)
- ADSL router to defend their own network security methods (Linux)
- The basic principles for the protection of a good linux server security (Linux)
- Installing PHP Memcache extension under Linux (Server)
- VMware11 virtual machine Ubuntu14.10 system partition sda1 disk expansion (Linux)
- Installation Yarock 1.1.4 Music Player in Ubuntu (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.