![Forrest logo](/images/logo.png)
pidstat:tldr:82581
pidstat: Show input/output usage per process id.
$ pidstat -d
try on your machine
The command "pidstat -d" is used to view disk I/O statistics for processes on a Linux system. Here is a breakdown of the command: - "pidstat" is the main command that allows you to monitor various system statistics for processes.
- "-d" is an option or flag that specifies that the specific statistics related to disk I/O should be displayed. When you run the command "pidstat -d", it will provide output showing disk I/O statistics such as: - kB_rd/s: kilobytes read per second
- kB_wr/s: kilobytes written per second
- kB_ccwr/s: kilobytes whose writing to disk was canceled due to another write request by the same process
- Command: the name of the command or process associated with the statistics
- PID: process ID of the command These statistics allow you to monitor the disk I/O activity for each process and identify any potential bottlenecks or excessive disk usage that may be affecting the system's performance.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.