Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.