Skip to content

Instantly share code, notes, and snippets.

@amadorpahim
Created May 24, 2012 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amadorpahim/2783552 to your computer and use it in GitHub Desktop.
Save amadorpahim/2783552 to your computer and use it in GitHub Desktop.
Before:
# vdsClient -s 192.168.10.250 getVdsStats | grep ksm
ksmCpu = 1 -> the ksmd process cpu load
ksmPages = 664 -> pages to scan before ksmd goes to sleep
ksmState = True -> is ksm running?
After:
# vdsClient -s 192.168.10.250 getVdsStats | grep ksm
ksmCpu = 1
ksmPages = 664
ksmShared = 426 -> how many Mbytes of memory are being shared
ksmSharing = 2188 -> how many more sites are sharing them i.e. how much Mbytes are being saved
ksmState = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment