Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [sysstat]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
147 views

Can I use SAR to log GPU usage metrics?

sar is a great tool to log various resource usage metrics, regarding CPU, memory, I/O, network... ...but not GPU? I won't be remotely original by stressing the importance of logging GPU usage metrics (...
user209974's user avatar
0 votes
1 answer
165 views

SAR / syssstat issues

I am having issues with SAR not populating daily logs from the 10 minute interval runs it is supposed to be doing. I have the same configuration on multiple servers, and they are running sar just fine....
Dylan Michaels's user avatar
2 votes
1 answer
2k views

Why 7z not using enough CPU?

CentOS 9. 3 vCPU VM with 4Gb RAM. I run a cron job with 7z compressing 35Gb data in 150 files 7za a -mx=9 -mmt=3 ... RAM usage - 18%, disk queue is very small, CPU is 61% on average. Why not 100% ? ...
Boppity Bop's user avatar
1 vote
1 answer
1k views

Enable sysstat temperature logging

I'm trying to enable sysstat to take temperature readings, so that I have past temperature information to diagnose host failures in the future. I tried this command to get temperature information: $ ...
Nick ODell's user avatar
  • 2,658
0 votes
1 answer
200 views

RHEL 6 sa and sar log file size

I am trying to figure out why sa and sar log files are much larger on one of our servers. Basically double the size -rw-r--r-- 1 root root 100M Feb 5 23:59 sa05 -rw-r--r-- 1 root root 100M Feb 6 23:...
Ask and Learn's user avatar
0 votes
1 answer
648 views

Sysstat Time Options and Command Differences

I would like to track total CPU and memory use on an Ubuntu 20.04 machine. For that purpose, I am about to install the sysstat library. I read the manuals of and posts on sar and related functions, ...
user's user avatar
  • 71
0 votes
1 answer
151 views

How should I run sysstat / sar to get a reading for 00:00:00 in same day data file

I was trying the below entries to get the sar information for every 5 minutes including the 00:00:00 (midnight) data. 0 * * * * root /usr/lib64/sa/sa1 300 6 */5 1-22 * * * root /usr/lib64/sa/sa1 1 1 ...
whiterose's user avatar
  • 1,069
1 vote
0 answers
305 views

Monitoring the activity of tape drive with SCSI generic driver (sg)

I would like to monitor statistics (transfer rate, byte/sec) for each LTO tape drive connected to Linux system. I understand that tapestat command can exactly do this, but this shows the activity of ...
Kevin Nakamoto's user avatar
0 votes
2 answers
2k views

In iostat, why are kB_wrtn/s and kB_wrtn the same?

/dev/sdc is a SATA hard drive. Do the kB_read and kB_wrtn fields sometimes, in some situations, show total counts? Here it seems to be just the same as the per second value. Linux kernel 5.4.0-26-...
brendan's user avatar
  • 175
1 vote
1 answer
692 views

sysstat sar only collects cpu usage

I'm running into a problem when using sar to collect live system statistics. When I run a sar command such as the following, I get the right output: $ sar -r 1 -o /tmp/memory_usage Linux 4.15.0-70-...
Dash83's user avatar
  • 183
0 votes
1 answer
2k views

pidstat %CPU vs htop %CPU of a process

I'm using the pidstat to monitor the cpu usage of a process and it shows 100%. For the same process the htop or top shows 200% for the same process. The system has 16 cores, and the process i am ...
Madan's user avatar
  • 101
9 votes
3 answers
12k views

Can I avoid debian-sa1 lines in my syslog?

My syslog is chock-full of the following: Oct 28 23:35:01 myhost CRON[17705]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) Oct 28 23:45:01 myhost CRON[18392]: (root) ...
einpoklum's user avatar
  • 9,615
2 votes
3 answers
3k views

How to retrieve specific cpu, memory and interface statistics only

There is requirement to collect only specific stats like %idle, memfree, available, pmemused etc. I further have to convert the output to a json string and consume it. Is there any UNIX tool which ...
Aditya369's user avatar
  • 133
3 votes
1 answer
2k 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) ...
pkaramol's user avatar
  • 2,829
1 vote
1 answer
1k 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 ...
Murali Mopuru's user avatar
1 vote
1 answer
3k 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/...
Peter's user avatar
  • 521
1 vote
1 answer
8k 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 ...
Justin's user avatar
  • 495
1 vote
3 answers
1k views

sun solaris 11.2 sysstat

I've sun solaris 11.2 and I want to install and use sysstat and use it the way I use it on linux-ubuntu to monitor some activities and run cpu and memory checks for certain time intervals. I was ...
Mr. Curious's user avatar
2 votes
1 answer
2k 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/...
Bruno Bieri's user avatar
2 votes
1 answer
2k views

How to enable sadc cron jobs?

I've installed sysstat and no log are generated in /var/log/sysstat when I do sudo /etc/init.d/sysstat status I get * sadc cron jobs are disabled how do I enable sadc cron jobs?
Elia Weiss's user avatar
1 vote
1 answer
577 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 ...
Andrey Steklov's user avatar
5 votes
0 answers
2k views

Strange cpu usage values reported by pidstat

I have a script that reports the cpu usage of a specific program reading values from pidstat. The script launches as: pidstat -C ^frontend$ -h -l -p ALL 1 1 The values reported this way sometimes ...
kali's user avatar
  • 161
1 vote
0 answers
159 views

PCI-e SSD - Not visible to sysstat's iostat or sar

I am attempting to get basic statistics during test runs on a server with a PCI-e attached SSD that is mounted on /dev/rssda1, however sar and other sysstat either do not log, or in the case of iostat ...
Voltaire's user avatar
  • 133
3 votes
3 answers
1k views

How to display the time of sadf in epoch format

I have a problem in sadf between ubuntu and centos. The thing is how the date is displayed in both. Ubuntu: root@db1:/usr/local/nagios/libexec/nrpe_local# sadf | head -10 db1.oas3.realmedia.xstrat....
mijhael3000's user avatar
1 vote
1 answer
676 views

Is there any way to view several days of sysstat logs in kSar?

Is there any way to amalgamate days of sysstat logs, so one could view a whole week in kSar for example? Currently I can only see individual days, loaded one at a time, or in separate windows.
blarg's user avatar
  • 1,595
1 vote
2 answers
6k 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 ...
Gregg Leventhal's user avatar