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