System Activity Report: a Unix/Linux command to display various system loads (Wikipedia).

learn more… | top users | synonyms

1
vote
1answer
45 views

What is the difference between sar -B verses sar -W

I am trying to understand why my system is running slowly. I found the sar command, but wanted to know the difference between sar -B and sar -W I read the man page, and I understand that -B gives me ...
0
votes
0answers
56 views

sar -b reports much too high statistics, are the I/O counted twice?

On a Linux server sar -b reports much too high read block statistics, sometimes 3.500.000 readb/s peak and around 2.500.000 readb/s sustain, which makes more that 1 gigabyte/s (according to the sar ...
1
vote
1answer
43 views

High load on a particular time

I am facing one odd problem in one of my remote servers (Centos 6). Its load became high by 09:30 AM and became normal by 09:40. See my SAR -q on 2 days. 09:00:01 PM 4 199 0.95 ...
0
votes
0answers
46 views

Nor able to parse the SAR output

We are using SuSE 10 OS and lately I wish to know the total network bandwidth used for a period of time lets say for 1 week. We have sar enabled and the sar data for a week is there. Now I know how ...
0
votes
2answers
233 views

How to Change sysstat/sar logging folder

I have just enabled sysstat on one of my servers (Ubuntu 12.04), I have noticed it is logging all to /var/log/sysstat/sa04 /var/log/sysstat/sa05 /var/log/sysstat/sar04 How can I change the sysstat ...
2
votes
1answer
2k views

opening sar activity files error “Invalid system activity file”

Note: I opened this question on Stackoverflow first and realized that this is the right place for the question. Just stating that it is not a duplicate, already closed the question on SO. I am new ...
0
votes
1answer
594 views

report per-process IO stats with pidstat or sar

I'm trying to track io usage of a few "suspect" processes over time. Ideally would like to make those stats available via munin, or push directly to graphite. However, as a starting point it would be ...
0
votes
1answer
157 views

High CPU usage in RHEL machine

I have RHEL machine that runs postgres-9.1 database. In a particular time, sar output shows as follows: Refer link for snapshot: http://imgur.com/gKcOhOX,vNwTpwC#0 where as %user is high between ...
1
vote
0answers
355 views

Why are pgpgin/s and majflt/s inconsistent in sar -B?

In sar -B ouptut, I would naively expect pgpgin/s to equal majflt/s multiplied by the system page size. From man sar: pgpgin/s Total number of kilobytes the system paged in ...
6
votes
2answers
3k views

Relation between disk IOPS and sar tps

I'm trying to estimate IOPS requirements of my application running on 32-bit CentOS 6.2. I started to take some measurement on a machine with SATA disks and I'm quite confused of difference between ...
2
votes
2answers
185 views

Reporting historical system activity in FreeBSD

I'd like to record data about system activity under FreeBSD for future analysis. If I were running a SysV system, I'd just sar and its related utilities, but that doesn't exist in the BSDs. (And ...
-1
votes
2answers
141 views

How to find DEVICE on which read per second (rd_sec/s) is highest?

I am using awk to find out DEVICE on which read per second (rd_sec/s) is highest, (from SAR file) below is my command : # sar -d -f sa28 | awk '{print $3,$4}' |sort -k1,1n Output is showing on ...
0
votes
1answer
115 views

How to track down sudden increase in process numbers (linux)

I find it pretty common for a Linux server to slow down to the point of complete unresponsiveness (LA 150+ etc), which when looking at it later using sar or munin or whatever it will show a sudden ...
1
vote
3answers
2k views

High await in sar

My database server has the following sar output for the data device: [postgres@dbsrv07 ~]$ LC_ALL=POSIX sar -d |egrep "await|dev253-2" 00:00:01 DEV tps rd_sec/s wr_sec/s avgrq-sz ...
1
vote
2answers
3k views

Invalid system activity (sysstat) file on Ubuntu server

I'm periodically getting this message from the daily cron on my server. (I don't get this message every day.) /etc/cron.daily/sysstat: Invalid system activity file: /var/log/sysstat//sa28 Here's ...
0
votes
1answer
509 views

Sar: Free memory statistics (including buffers, cache)

The free commands gives the amount of free memory in two forms: completely free memory (the Mem line) and disposable memory used for caches and buffers (the -/+ buffers/cache line): -bash-3.2$ free ...
1
vote
2answers
656 views

Linux SAR/SAT Daily Reports to store more than a month?

I'm on RHEL. How can i extend the log interval of SAR Reports to be more then a month? Normally the daily SAR reports are something like: [root@server /]# cat /var/log/sa/sa sa01 sa21 sa23 ...
0
votes
1answer
5k views

CRON opens and closes sessions continuously

I'm seeing a huge amount of these lines in my auth logs: Dec 31 03:45:01 xxxxxxx CRON[17259]: pam_unix(cron:session): session opened for user root by (uid=0) Dec 31 03:45:01 xxxxxxx CRON[17259]: ...
1
vote
2answers
434 views

How to use Sar and kSar

How do I use sar to generate monitoring files on a remote server that I can then copy to my local and graph with the kSar tool? (My server can only be accessed via the cmd)
4
votes
2answers
4k views

Shell script to notify when CPU usage goes to 100%

sar -u 1 | awk '{print $9}' so this will give me "CPU Idle" value every second. I'd like to get email in this case the value goes to "0" 10 times in a row? What would be the appropriate way to ...
1
vote
1answer
165 views

Measuring custom statistics with sar

I have a server application which I think is leaking file handles. I want to track the usage of file descriptors over time on my Linux (ubuntu) server. I've figured out that I can track the number ...
1
vote
1answer
172 views

High mysql server load, sar output

I have a MySQL Server that should be performing better than it seems to be. We're running ubuntu on a Amazon Cluster Compute (cc1.4xlarge) Linux ip-10-0-1-60 3.2.0-25-virtual #40-Ubuntu SMP Wed May ...
1
vote
1answer
1k views

sa2 -A /var/log/sa/sa13: No such file or directory

I have systat version 7.0.2 and the /etc/sysconfig/sysstat has the entry HISTORY=27, this is on a redhat enterprise server 5.6, the cron setup for this is # run system activity accounting tool every ...
0
votes
1answer
2k views

Sar: what does totsck stand for

I'm looking for an explanation of the totsck column for the "sar -n SOCK" output 09:44:06 PM totsck tcpsck udpsck rawsck ip-frag tcp-tw 09:44:09 PM 580 18 5 ...
2
votes
2answers
1k views

Does a high run queue length average result in poor performance for a web server?

I'm trying to narrow down the list of suspects of web servers that perform moderately well most of the time with occasional bouts of poor performance. I'm analyzing the data collected and summarized ...
2
votes
2answers
610 views

sar command to generate only CPU utilization and network statistics in Linux

I want to be able to generate the system activity report every 30 seconds or every minute and store in a file and use it for diagnostic purposes on my VM. So I give an output file for the sar command ...
4
votes
4answers
2k views

CentOS - High CPU Usage at a particular time in the night

I have a CentOS-5 server that has very little load. A typical output of "sar" command shows like this: 02:20:01 PM CPU %user %nice %system %iowait %steal %idle 02:30:01 PM ...
0
votes
1answer
736 views

SAR statistics on CPU usage

i have Ubuntu server with 2 processors. top command show that mysql eats up to 195%. sar shows the following: 08:30:59 AM CPU %user %nice %system %iowait %steal %idle 08:31:00 ...
1
vote
1answer
839 views

top command indicates a different cpu usage than sar command

In my CentOS server, when I check the resources with sar command, user cpu usage is around %15 while in top command the sole 'java' process uses like %99 of cpu. sometimes it's even goes further than ...
3
votes
1answer
7k views

What does the fields in sar -B output mean?

The sar manpage says : pgpgin/s - Total number of kilobytes the system paged in from disk per second. pgpgout/s - Total number of kilobytes the system paged out to disk per second. fault/s ...
2
votes
1answer
766 views

Tool to show summarized cpu usage per user

I once saw report that contained information, that within given time frame, total number of x cpu minutes, were used, and this was: - afterwards was list of uids (or usernames), and total number of ...
5
votes
2answers
4k views

How do I see what's in the run queue on GNU/Linux?

The load on my server is very high, even though there doesn't seem to be much disk activity and the CPU is idle. Using sar, I can see the run queue is getting full, but is there any way to see what's ...
2
votes
4answers
4k views

What do I need to enable to run sar -d?

When I run sar -d I receive the error message: Requested activities not available in file /var/log/sysstat/sa24 The file does exist, and I can run sar with other flags, but can't see these ...
0
votes
1answer
134 views

Sar data not collected for 10 minutes

We have a RedHat server whose only job is to run a JBoss server. Monitors said that memory usage spiked (we have the JVM limited to far less than the total memory on the system) and JBoss crashed. ...