Questions tagged [sar]

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

sar is a widely used system load monitor in POSIX.

Sar shows current status of memory, CPU load and network usage, and it can log the load statistics over time.

65 questions
3
votes
5 answers

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 particular metrics. Is there something I need to enable…
Ryan Olson
  • 171
  • 2
  • 6
3
votes
2 answers

sar service has stopped collecting data

We had sar working on our Ubuntu server, but did some work on the server and now it's stopped logging to the day's logfile. sar -b 5 5 This indicates that sar is alive, and monitoring data, but ubuntu@testing:/var/log/sysstat$ sar outputs: Linux…
2
votes
1 answer

HP UX iostat on File System

I have a server running HP UX 11 OS and I'm trying to have I/O statistics for File System and not disk. For example, I have 50 disk attached to the server when I type iostat (here under output of iostat for 3 disks) : disk9 508 31.4 …
got2be
  • 21
  • 1
2
votes
1 answer

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 great to be able to track this usage over time in…
Yoav Aner
  • 561
  • 2
  • 6
  • 13
2
votes
2 answers

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 0 0 1 09:44:10 PM 580 …
moodywoody
  • 123
  • 1
  • 11
2
votes
2 answers

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 by sar. I've noticed a few things, one of which…
Domino
  • 265
  • 4
  • 5
2
votes
2 answers

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 and read it using the "-f" option. But I only use…
2
votes
1 answer

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 cpu minutes used by all programs that this user ran…
user13185
1
vote
1 answer

Control-C sends control-alt-delete to my Ubuntu server over ssh

On my Ubuntu VM: Linux xxxxxxx 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux to which I am connected over SSH, I am running this command: sar 1 10000 | awk '{print $9}' | grep -v…
Jaor
  • 11
  • 2
1
vote
1 answer

Update sa reports every 6 hours

On SuSE Linux the default cron-job for sa/sar looks like this: # /etc/cron.d/sysstat # Activity reports every 10 minutes everyday */10 * * * * root [ -x /usr/lib64/sa/sa1 ] && exec /usr/lib64/sa/sa1 -S ALL 1 1 # Update reports every 6 hours 55…
guettli
  • 3,591
  • 17
  • 72
  • 123
1
vote
2 answers

How does sar collect/calculate disk utilization %?

I'm pretty sure sar's disk utilization % shows how much of the disk is being utilized at any given time, but how does it calculate that? I found: %util Percentage of CPU time during which I/O requests were issued to the device (bandwidth…
Locane
  • 429
  • 1
  • 8
  • 20
1
vote
1 answer

Take all sadc (sar) data from production, and analyze it on another machine

sadc is running on the production server. When a incident happens, I want the admin to give me all the data (going back in the past as far as possible) so that I can analyze the incident and also might have lead to it during the previous week.…
Nicolas Raoul
  • 1,334
  • 7
  • 22
  • 43
1
vote
2 answers

What's the caculation for network speed reported with sar-n DEV output?

I am confused about the network speed outputs: If the report says: sar -n DEV 1 1 Linux 2.6.18-194.el5PAE (dev-db) 03/26/2011 _i686_ (8 CPU) 01:11:13 PM IFACE rxpck/s txpck/s rxbyt/s txbyt/s rxcmp/s txcmp/s …
GP92
  • 681
  • 2
  • 9
  • 27
1
vote
1 answer

What is the best way to analyze data captured from sar?

I've got some sysstat data that has been captured from servers with SAR, and I'm unsure what is the best way to analyze that data. I've found ksar, but it seems to be quite old and out of date. I'd prefer to be able to analyze in a graphical…
stonecrusher
  • 135
  • 7
1
vote
0 answers

Does an NFS client incur read/write page faults proportional to bytes read to/written from server?

Perhaps my knowledge of virtual memory has been supplanted by too much other junk. Recently I ran some database benchmark tests where all data was to be stored on an NFS server and accessed via NFSv3 mounts. While importing data into the database…
Marc C
  • 81
  • 4