[Recommendation] replacing iotop with iopp

Source: Internet
Author: User
1. Why is it recommended that ioppiotop have certain requirements on the kernel and python version, and sometimes it cannot be used? In this case, iopp can be used as an alternative solution. In some cases, you may not be able to use iotop smoothly. In this case, you can choose iopp. It is developed by MarkWong and has only 532 lines of code and is very concise. Iopp Project address: h

1. Why is it recommended that iopp iotop have certain requirements on the kernel and python version, and sometimes it cannot be used? In this case, iopp can be used as an alternative solution. In some cases, you may not be able to use iotop smoothly. In this case, you can choose iopp. Its author is Mark Wong, which is developed in C and has only 532 lines of code, which is very concise. Iopp Project address: h

1. Why iopp is recommended?

Iotop has certain requirements on the kernel and python versions. Sometimes it cannot be used. In this case, iopp can be used as an alternative. In some cases, you may not be able to use iotop smoothly. In this case, you can choose iopp. Its author is Mark Wong, which is developed in C and has only 532 lines of code, which is very concise.

Iopp Project address: https://github.com/markwkm/iopp

2. Install iopp and download the source code locally. Then, run the following command to complete the installation: cmake CMakeLists.txt make & make install # or specify the installation target path to make install DESTDIR =/usr3 under/usr/bin, and use iopp

Iopp is easy to use. Usage:

Iopp [-ci] [-k |-m] [delay [count]

For more information about several common parameters, see the following:

-C, -- command display full command line-h, -- help display help-I, -- idle hides idle processes-k, -- kilobytes display data in kilobytes-m, -- megabytes display data in megabytes-u, -- human-readable display data in kilo-, mega-, or giga-bytes

Iopp output results are also clear and easy to understand. A simple explanation is as follows:

Pid process IDrchar expected disk read bytes wchar expected disk write bytes syscr I/O read times syscw I/O write this book rbytes true disk read bytes wbytes true number of bytes written by disk (cwbytes) the number of bytes not operated by clearing the page cache command line name

This entry was published on February 12. Belongs to the system O & M classification and is labeled with iopp and Linux labels. The author is yejr. Personal PPT sharing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.