Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

mpstat

Show CPU statistics

Syntax

mpstat [OPTION]... [DELAY [COUNT]]

Common Options

-AShow all CPUs
-PSpecify CPU number
-uShow CPU utilization
-IShow interrupt stats

Common Examples

mpstat

Show CPU stats

mpstat 2 5

Refresh every 2s, 5 times

mpstat -P ALL

Show all CPU cores

mpstat -P 0 1

Show CPU0 stats every 1s

mpstat -I SUM

Show interrupt summary

Related Commands

Related Tools

More Code & Dev Tools