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.

I am trying to understand why my system is running slowly. I found the sar command, but wanted to know the difference between sar -B and sar -W

I read the man page, and I understand that -B gives me the paging statistics and -W gives me the swapping statistics. What I would like to understand is the following:

What is the correlation between the two sets of statistics.

When should I be concerned about -B and when about -W? ie, what values from each command should I be concerned with?

Which statistic is more closely related to system performance

Thanks

share|improve this question
    
Which version of sar are you running? (there are multiple implementations) -W on my Debian box shows -W Statistics about errors for IP (version 4) traffic. Without knowing the particulars for your implementation it is difficult to check the man pages, and source to see exactly what statistics are being checked and reported. –  Zoredache Aug 20 at 21:25
1  
sar -V gives me sysstat version 7.0.2 –  Mark Aug 20 at 21:44
    
man sar can help you –  c4f4t0r Aug 21 at 21:53

1 Answer 1

It's good question, But consider every pageing is not swaping of swap area, -W and -w is related to swap area and -B gets you some information about pageing of disk io.

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.