Problem
Run each of these and then answer the questions below:
i. How are the two sets of output between pidstat and ps similar? How do the outputs differ?
pidstat pidstat -r ps aux vmstat free
sar -r sar -R sar -S
ii. How are the two sets of output between pidstat -r and vmstat similar? How do the outputs differ?
iii. How does sar -r differ from vmstat? from sar -R? from sar -S?
iv. Of the approaches listed in step 2, which gives you the best indication of your memory system right now? Which gives you the best indication of your memory system over the recent period? Explain.