Questions tagged [sysstat]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
20 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, ...
0
votes
1answer
13 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 ...
1
vote
0answers
19 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 ...
0
votes
1answer
76 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-...
0
votes
1answer
39 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-...
0
votes
1answer
397 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 ...
4
votes
2answers
5k 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) ...
1
vote
3answers
920 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 ...
3
votes
1answer
998 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) ...
0
votes
1answer
788 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 ...
1
vote
1answer
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/...
1
vote
1answer
4k 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 ...
1
vote
3answers
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 ...
2
votes
1answer
1k 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/...
1
vote
1answer
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?
1
vote
1answer
436 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 ...
5
votes
0answers
1k 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 ...
1
vote
0answers
131 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 ...
3
votes
3answers
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....
1
vote
1answer
560 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.
1
vote
2answers
5k 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 ...