...
mpstat # Reports CPU usage. ( requires install sysstat
package on Ubuntu or Debian-based systems via command apt install sysstatinstall sysstat or sudo yum install sysstat on CentOS ).
Code Block | ||||
---|---|---|---|---|
| ||||
mpstat Linux 5.15.0-112-generic (testhost) 06/21/24 _x86_64_ (1 CPU) 10:37:12 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle 10:37:12 all 1.68 0.11 1.38 0.14 0.00 0.04 1.16 0.00 0.00 95.49 |
...
iostat # Reports CPU and I/O statistics ( requires install sysstat
package on Ubuntu or Debian-based systems via command apt install sysstatinstall sysstat or sudo yum install sysstat on CentOS ).
Code Block | ||||
---|---|---|---|---|
| ||||
iostat Linux 5.15.0-112-generic (testhost) 06/21/24 _x86_64_ (1 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 1.68 0.11 1.41 0.14 1.16 95.50 |
...