Operating System - Linux
1827771 Members
2735 Online
109969 Solutions
New Discussion

Re: how to read /var/log/sa/sa30 file

 
SOLVED
Go to solution
vvsha
Frequent Advisor

how to read /var/log/sa/sa30 file

Hi,

Can anyone help me for the below note,

How can I read /var/log/sa/sa30 file in linux.

It is related to sar command.

Plese help me.
2 REPLIES 2
Robert-Jan Goossens
Honored Contributor
Solution

Re: how to read /var/log/sa/sa30 file

Hi Shabi,

Use the -f option

# sar -f /var/log/sa/sa30

Regards,
Robert-Jan
Alexander Chuzhoy
Honored Contributor

Re: how to read /var/log/sa/sa30 file

and as far as I remember: you have to run it (sar -f ) as root or it will complaint about file's format.