In our HP-UX 11.11 box, sar data is generated in a slightly diferent name
formatted file like /var/adm/sa/sa0323 - usually it is sa#dd; but in our
case it is sa#mmdd. I guess it is set by the script /usr/lbin/sa/sa1.
So, when I do
sar -u , sar complains that /var/adm/sa/sa23 is not found. I can un like
sar -u -f /var/adm/sa/sa0323.
However, I want to avoid typing the full file name every time I run the sar
ie, I just want to run sar as:
sar -u
or sar -d etc without the filename?
How do I do that?
formatted file like /var/adm/sa/sa0323 - usually it is sa#dd; but in our
case it is sa#mmdd. I guess it is set by the script /usr/lbin/sa/sa1.
So, when I do
sar -u , sar complains that /var/adm/sa/sa23 is not found. I can un like
sar -u -f /var/adm/sa/sa0323.
However, I want to avoid typing the full file name every time I run the sar
ie, I just want to run sar as:
sar -u
or sar -d etc without the filename?
How do I do that?