How to access sar command info from file in linux

686 views Asked by At

I'm trying to collect system activity using sar command in Linux. I can get this info readily by executing sar command from shell. Internally this information is popped from some file in /var/log/sa/sadd. but it contains values updated every 10min. I need to collect system activity at every second (sar -A 1). If I need to read this info from internal file every second, is it possible.

Cheers.

0

There are 0 answers