Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:produce_and_deliver_reports_on_system_utilization_processor_memory_disk_and_network [2016/08/16 21:55] billdozor [Sysstat] |
linux_wiki:produce_and_deliver_reports_on_system_utilization_processor_memory_disk_and_network [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 4: | Line 4: | ||
System utilization reporting. | System utilization reporting. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Lab Setup ====== | ||
+ | |||
+ | The following virtual machines will be used: | ||
+ | * server1.example.com (192.168.1.150) -> Configure and test system reporting | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== Help ====== | ||
+ | |||
+ | Finding help in this section. | ||
+ | * standard man pages< | ||
+ | man sar | ||
+ | man sadf</ | ||
---- | ---- | ||
Line 44: | Line 60: | ||
Sysstat runs periodically and provides historical statistics. | Sysstat runs periodically and provides historical statistics. | ||
+ | |||
+ | [[linux_wiki: | ||
\\ | \\ | ||
Line 68: | Line 86: | ||
\\ | \\ | ||
- | Print data from a system activity file, redirect to a file to view later | + | View info now from a system activity file |
+ | <code bash> | ||
+ | sar -urd -f / | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | Semi Colon Separated: | ||
<code bash> | <code bash> | ||
sadf -d / | sadf -d / | ||
</ | </ | ||
- | * -d -> Print contents of the data file in an easy to ingest by database format | + | * -d -> Print contents of the data file in an easy to ingest by database format |
* -- -> sar options will follow | * -- -> sar options will follow | ||
* -u -> sar option: CPU usage | * -u -> sar option: CPU usage | ||
* -r -> sar option: Memory usage | * -r -> sar option: Memory usage | ||
- | * dp -> sar option: Disk usage (d) with pretty print (p) device names | + | * d -> sar option: Disk usage (d) |
* -n DEV -> sar option: Network stats from devices | * -n DEV -> sar option: Network stats from devices | ||
---- | ---- | ||