From the course: Linux Performance Tuning

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

sar and atop tools and disk utilization

sar and atop tools and disk utilization - Linux Tutorial

From the course: Linux Performance Tuning

Start my 1-month free trial

sar and atop tools and disk utilization

- [Instructor] Sar, the system activity reporter, we've talked about before. Sar can gather data while you run it, or it can report on data collected previously by the sar daemon. Sar can get you information about lots of resources, CPU, memory and so forth, and it's textual information. And when you run sar, it's got tons of options. You can pick the options you're interested in. For disk-related stuff, you might be interested in capital b, which will report in page size settings in a page to sar's 1K. Little b, it's I/O and transfer rate information and that's in block and a block is 512 bytes, half a k. Little d is activity for your block devices, your disks. Little d will report based on the major and minor number of the device, not the name of the device. So, instead of saying dev SDA, it would say something like device eight zero, eight is the major number, zero is the minor number and SDA would be that device. If you want to get the name SDA, then use dash p to print the name…

Contents