sar is a Linux command used to collect, report, and save system activity information. It is primarily used to monitor system performance and troubleshoot issues. The command can collect various metrics such as CPU usage, memory usage, I/O activity, and network activity. The data collected by sar can be used to analyze system performance and identify areas for improvement. The command can be run in real-time or can be scheduled to run periodically to collect data over a specified time interval.
Check disk activity
sar -d
Get all stats
sar -A