Questions tagged [sysstat]

26 questions
9
votes
3 answers

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) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1) and…
einpoklum
  • 8,772
  • 19
  • 65
  • 129
5
votes
0 answers

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 exceed 100% cpu usage, which it's not possible since…
kali
  • 61
  • 5
3
votes
1 answer

Send sar series to grafana

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) is whether it is possible to send these…
pkaramol
  • 2,587
  • 4
  • 36
  • 71
3
votes
3 answers

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.us 300 2014-05-15 03-05-01 UTC all %%user …
mijhael3000
  • 85
  • 2
  • 6
2
votes
1 answer

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% ? How do I find the bottleneck? sar -p -d 1 10 Linux…
Boppity Bop
  • 139
  • 9
2
votes
1 answer

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/sysstat where it has it's SA_DIR specified. In my case…
Bruno Bieri
  • 145
  • 9
1
vote
1 answer

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: $ sar -m TEMP Requested activities not available in…
Nick ODell
  • 2,498
  • 2
  • 20
  • 28
1
vote
0 answers

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 tape driver:/dev/st only. In other words, if we…
Kevin Nakamoto
  • 136
  • 1
  • 6
1
vote
1 answer

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-generic () 29/12/20 _x86_64_ (60…
Dash83
  • 173
  • 6
1
vote
3 answers

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 can do the same? I tried sar and sadf in…
Aditya369
  • 123
  • 5
1
vote
1 answer

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 here). The output of the 'sar' command should…
1
vote
1 answer

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/init.d/boot.sysstat start SLES12: systemctl start…
Peter
  • 521
  • 10
  • 21
1
vote
1 answer

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 resources, but pidstat doesn't go into the past. So…
Justin
  • 465
  • 5
  • 14
1
vote
3 answers

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 looking in the internet i couldn't find sysstat for…
Mr. Curious
  • 51
  • 1
  • 6
1
vote
1 answer

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
  • 113
  • 5
1
2