commands
pidstat — Inspect per-task I/O
Report task I/O accounting, subject to availability and permissions. Requires sysstat. Use a fresh private workspace; No production workload is required.
Formal Syntax & Structure
linux syntaxlinux
pidstat -d 1 3Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| -d | option | I/O statistics |
| interval | operand | Seconds |
| count | operand | Number of reports |
Return Value
exit status and output
Prints per-task statistics for the selected activity and interval. A task may exit before a sample; successful output does not establish that every process was visible.
Working Example
Example Snippetlinux
pidstat -d 1 3