Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How do I use sar to generate monitoring files on a remote server that I can then copy to my local and graph with the kSar tool?

(My server can only be accessed via the cmd)

share|improve this question

2 Answers 2

Sar's data files are stored in /var/log/sa/sa?? , named for the day of the month. Note this assumes a Red Hat style distro; files might be elsewhere on Debian/Ubuntu.

share|improve this answer

You have to copy the /var/log/sa/ directory from your remote server to the local machine. If the local machine and remote systems are different in OS versions, then sar might give unpredictable results. Be sure to use the same binary of sar through out the systems from where you are copying and where you are keeping the sar data to examine.

After you have got the sar files, just load them up on ksar and be done.

This is in a nutshell, if you have specific requirements, I might have precise answers.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.