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 3

Parameters & Attributes

NameTypeDescription
-doptionI/O statistics
intervaloperandSeconds
countoperandNumber 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
Linux Reference