Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sar]

The tag has no usage guidance.

0
votes
3answers
43 views

How to find top memory & CPU consuming process for particular time?

I have checked the sar report and found that CPU & Memory is getting utilized much more at particular time (for ex. day ago). Is it possible to find which process was taking much CPU & Mem? ...
2
votes
1answer
238 views

Send sar series to grafana [closed]

sar of sysstat package produces a lot of useful information about system usage regarding various resources; My question (since after a brief query I was unable to find a useful suggestion / solution) ...
3
votes
1answer
2k views

How is runq-sz counted in sar?

I would like to ask question about the output from sar -q . I appreciate if someone can help me out with understanding runq-sz. I have a system which cpu threads are 8 cpu threads on RHEL 7.2 . [...
1
vote
2answers
345 views

IO Wait is consistently touching high values around 60-70% during load run

I am stuck on an IOwait related problem, the server I am monitoring shows a very high value for IOwait during my load run time (50%-70%). I generated this data using the SAR report command. The ideal ...
2
votes
2answers
327 views

Collect all of the sar data

Task: I can sar -u > tmp.csv and I can sar -r > tmp.csv But what I need is a big table of all the sa* files of all the options. sar -r -u -S -q > tmp.csv does not quite do the job ...
0
votes
0answers
102 views

How do you change files in /var/log/sysstat to be sarYYYYMMDD format?

I started using sar for system reports recently, but I am confused on how sar would store data after this month is over. Currently, sar saves summary report data in the /var/log/sysstat directory, in ...
0
votes
0answers
32 views

view sar data from before last reboot [duplicate]

I have a system that was just rebooted that I also want to run sar on. However it only shows me data up to the last reboot. Is there a way to view information prior to the last reboot? # sar -V ...
0
votes
0answers
170 views

Finding User With High Resource Utilization Of System Using Sar

Ok sar is a great tool, you can check into history of cpu utilization by processes, or atleast that's what so far I've explored. On live systems, load averages are supposed to get high peaks, so I ...
0
votes
0answers
138 views

Get hourly averages from sar - In day range

Looking to have sar average values between days? EXAMPLE: I would like to compare all entries between 12:00 and 14:00 for the following four days 22,23,24,25 Which would return an average of load ...
0
votes
1answer
176 views

Solaris10 , disk io sar -d output interpretation

Question: in sar -d output ..you have %busy column. How is this value calculated? can this value be more than 100%?
0
votes
1answer
328 views

how to query sar(sysstat) for more than one day data points

I don't see 'sar' command accepts date-and-time as starttime(-s) or endtime(-e) than just time. So, how to query 'sar' for more than one day's data point with older date and times(-f not going to help ...
0
votes
1answer
770 views

What are these sarXX files?

I know what are the saXX files in /var/log/sa directory but can you tell me what are the sa"r"XX files please? [root@centos3 sa]# ll total 3104 -rw-r--r--. 1 root root 43648 19 janv. 16:00 sa19 -rw-...
1
vote
0answers
120 views

Free pages in Kstat and Sar output

I am trying to find out number of free pages available on Solaris 11. I am using kstat and sar utilities. I was comparing their output as follows: There is slight difference in the number of free ...
1
vote
1answer
326 views

Sar vs df -h… discrepancy between percentage of root filesystem

why does sar give me 8.14% of root filesystem used and df -h gives me 9% for the same root filesystem? I was thinking df may be rounding the value, but if so it would be 8%. localhost one # sar -F 1 ...
1
vote
1answer
2k views

How to put systat/sar in cron on SLES 12?

Before, there was a https://linuxmain.blogspot.de/2011/12/gathering-performance-data-with-sysstat.html For SLES you can install the cron settings by SLES10: /etc/init.d/sysstat start SLES11: /etc/...
1
vote
1answer
1k views

Any tool for viewing historical process resource utilization? (IE: A combination of sar and pidstat)

I'm trying to troubleshoot some CPU spikes that occur every so often on a Linux server. I can use sar to see the resource utilization in the past, and pidstat to see what processes are using what ...
12
votes
1answer
812 views

Making sense of the output from sar on AIX

I'm trying to understand some data that has been pulled from SAR. I have three main questions about this. Ultimately, I'd like to determine how many CPUs were idle at each sampling interval across a ...
1
vote
0answers
52 views

multiple directories for sar command

Is it normal for below directories created by sar command -rw-r--r-- 1 root root 348948 Nov 3 23:50 sa03 -rw-r--r-- 1 root root 348757 Nov 3 23:53 sar03 -rw-r--r-- 1 root root 348948 Nov 4 23:50 ...
2
votes
1answer
806 views

How to call sadf, so it automatically detects latest sar statistics?

I'm looking for a way to get sadf (from sysstat package) to generate me the csv version of the collected data by sar of the current day. I know that sar keeps it's configuration in /etc/sysstat/...
0
votes
1answer
167 views

How to use SNMP to get any information that we need in Redhat?

I am new to SNMP and I can not find any clear article if we can add a data node in SNMP. And also how does SNMP collect data? I want to monitor the following resources, which can be obtained from ...
6
votes
2answers
8k views

High load average: Which processes are waiting in the queue?

I have an Ubuntu server running Redis, which suffers from a high load problem. Forensics Uptime # uptime 05:43:53 up 19 min, 1 user, load average: 2.96, 2.07, 1.52 sar # sar -q 05:24:00 AM ...
1
vote
3answers
1k views

ksar (a sar grapher) development stopped 2013 - no RHEL 7x compatibility - any alternative? [closed]

Ksar is a BSD licensed Java based application to create graph of all parameters from the data collected by Unix sar utilities. Usually Unix sar is part of Unix' sysstat package and run sa1, sa2, ...
5
votes
1answer
4k views

On SAR reports, does %commit include page cache usage?

From the sar manpage: %commit Percentage of memory needed for current workload in relation to the total amount of memory (RAM+swap). This number may be greater than 100% because the kernel ...
2
votes
0answers
697 views

sar command vs /proc/stat for cpu usage

I have been using /proc/stat for calculating the cpu usage. Recently I have been going through sar command for calculating cpu usage. And what I found was that their values were not related (I was ...
2
votes
1answer
7k views

Understand sar command output Unix [closed]

I am trying to analyze my server CPU utilization and processing time .So for that i have taken sar output for the reference.But i am not able to understand it properly i help to understand the output ...
0
votes
1answer
276 views

Previous System Statistics From Sar

I did see the post here: How do I get sar to show for the previous day? But it doesn't answer my questions below. I am trying to use sar to look at the statistics from yesterday (March 9th): $ sar -...
0
votes
1answer
2k views

Can I get yesterday's stats using sar command but I have installed sar now

Can I get yesterday's stats using sar command, I have installed sar now so will I get yesterdays sa logs ? If yes then How ? I can see today's log : # sar -f /var/log/sa/sa12 Linux 3.14.19-17.43....
1
vote
0answers
585 views

sar/sysstat output logs to a 2nd directory

We're running RHEL on one server and I need to report some stats about the machine. sysstat/sar does a great job but I need the logs to report starting with 6am until next morning at 6am and output ...
0
votes
1answer
944 views

Writing awk to extract cpu utilization from sar command

I am trying to extract the values of the %user,%nice etc from the output of the sar command. sar -P ALL 1 1 Output of this: Linux 2.6.32-358.el6.x86_64 (ftizsldapp009.ftiz.cummins.com) 09/28/...
1
vote
2answers
495 views

Change time format in a file

I have output of a sar commands and the time is not POSIX: Linux 2.6.32-431.29.2.el6.x86_64 (test.server.com) 2015-08-01 _x86_64_ (32 CPU) 12:00:01 AM CPU %usr %nice %sys %...
1
vote
0answers
319 views

What does the “ss -s” result “Total:” value represent? How to get details on each of them?

I am trying to understand what the ss -s result line Total: value represents, along with how this number is related to the other numbers. Note, the following values are equivalent: ss -s Total: == ...
1
vote
1answer
306 views

sar shows zero percent load

I have an issue with sar on several machines running ORACLE Linux 6.4. Sometimes it shows zero load (CPU, block device, whatever else), including idle: Why can it happen? sysstat package version is ...
1
vote
1answer
1k views

Run sar daily to log file

How can I run the sar command to run daily using cron then get killed every 24 hours and start over again creating a new log file? Command: sar -u 300 288 >> $(date "+ %Y-%m-%d")-cpu.log This ...
2
votes
1answer
726 views

Format sar samples live with paste and awk

I'm combining live sar samples with paste and trying to format the output with awk live. It works as expected to format the output, but it doesn't do the formatting live on each sample and instead ...
2
votes
1answer
1k views

How can I find the CPU resource utilization of a process and all its children [duplicate]

If I have a process that spawns child processes, is there a good way to get a single number representing the combined CPU use of that process and its children? i.e is there a simple shell command ...
0
votes
2answers
664 views

What are the positions in `free` called?

I am trying to compare the output of free with the output of sar -r: # sar -r 12:00:01 AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit 12:10:01 AM 629756 65293976 99....
0
votes
2answers
819 views

How to format the output of free/sar/such commands?

I need to get some specific columns from the output of free command. The way I'm following doesn't seem good, could anyone please suggest me a better way? bash-3.2$ free -gotsi total ...
1
vote
2answers
8k views

How can average run queue length be 1 but load average is almost zero

(I originally posted this on Stack Overflow - advised to move it to here). On fedora 17 when i run the sar command to view the load average activity it almost always shows a run queue length of 1 ...
2
votes
2answers
2k views

Get daily averages from sar

Is there a way to just display a given days averages using sar. I currently do something like the following: sar -u -s 00:00:00 -e 23:59:59 -f /var/log/sysstat/sa10 And just take the last (average) ...
6
votes
2answers
2k views

Attempting to Abbreviate kSAR's PDF output

I'm currently writing a cronjob around kSar's command line (non-GUI) options in order generate PDF's. I'm just going to email a PDF of the previous day's activity to a different webmaster (basically ...
1
vote
2answers
3k views

Is this sar/sysstat cron job formatted correctly?

I want it to give me all the sar/sadc options, interrupts,disk,etc.. every 10 seconds starting at noon for the entire hour. On the second line I want to capture the info in /proc/interrupts every ...
1
vote
1answer
2k views

High IO-APIC-fasteoi interrupt usage eth0

I believe this is due to an rsync cronjob which runs every 15 minutes. This is a RHEL 6 box running in ESXi. /proc/interrupts shows: 18: 3386804969 IO-APIC-fasteoi eth0 and the system load ...