Tech Junkie Blog - Real World Tutorials, Happy Coding!: Linux Performance: sar Reporting Tool

Monday, May 30, 2022

Linux Performance: sar Reporting Tool

 In Linux there's a great reporting tool that can look in the past for performance issues, it's an activity reporter call sar, it's an accounting tool which records the information on a cumulative and interval basis.

We can run sar to report on the CPU information with this command sar -u


As you can see there's historical data of a recent restart of the system at 2:46 and from the entries you see that the information is being recorded about every 10 minutes starting at 2:50 PM

You can switch it up and report on the memory utilization with the command sar -r


Or we can look at the disk access with the command sar -b

We could even look at our network adapter information with the command sar -n DEV

There's another good option you can run that is the sar -q option which will show you the load average for the system


You can also specify the the time you wan to look at by giving it a range like so sar -s 03:30:02 -e 05:10:01 and only those time intervals will show up








1 comment:

  1. They are all derived from the large highway and describe the patterns in the massive highway. Each of massive eye boy, the small highway and the cockroach highway describe slightly different sorts of patterns (we’ll get to that later). Derived roads don’t tell you exactly what occurred, they tell you whether or not there have been patterns in what occurred. Notice on the show shown in Figure 1 cockroach highway is shown as seven rows in 카지노사이트 peak, which is unusual. At the tip of each shoe, the display is cleared and new roads are built from scratch. But one article stands out above all else for the unimaginable response it generated from readers and our many friends and acquaintances in the gaming business alike.

    ReplyDelete

Search This Blog