Top iotop command in Linux and its uses

Top iotop command in Linux and its uses

If you are working on Linux server and suddenly your server is getting slow down then don’t be panic. From top command you can check the server load and can easily find the solution for the problem. You can check the I/O usage for the server with the “iotop” command and this will displays the I/O of processes.

Here are the top iotop command with different parameters :

1. –o, -- only command : This command only displays threads or processes. It does not shows all processes, it only shows single process.

2. –b – batch command : Through this command you can turn non-interactive mode ON. You can check logging I/O usage with time.

3. -n NUM, --iter=NUM : Here n is the number of number of iterations. You can use this command in non-interactive mode.

4. -d SEC, --delay=SEC : Through this command you can set iterations and delay them for particular time. By default iteration time is 1 second. This command can also accept non-integer values for example 1.1.

5. -p PID, --pid=PID : Through this command you can monitor all the processes or threads.

6. -u USER, --user=USER : This command can display list of users. By default all users displays.

7. -P, --processes : This command can only displays processes running on server. By default iotop command shows all the processes or threads.

8. -a, --accumulated : This command does not shows bandwidth, it shows accumulated I/O. Through this command you can see the number of I/O processes after iotop command.

9. -k, --kilobytes : You can use –k with iotop command instead of using bytes unit. This will display all the sizes in kilobytes instead of other units.

10. –q, -- quiet : This command can be compress some header lines.
Author
bhawanisingh
Views
1,715
First release
Last update
Rating
0.00 star(s) 0 ratings
Top