openedx-vlead / college-cloud

1 stars 2 forks source link

Get the number of page faults in College Cloud machine #60

Open ashay-maheshwari opened 7 years ago

ashay-maheshwari commented 7 years ago

Page faults are suspected to happen in large numbers in College Cloud. To count the no of page faults use the command below - ps -o min_flt,maj_flt 1

Reference - https://www.cyberciti.biz/faq/linux-command-to-see-major-minor-pagefaults/

Identify the page faults count in College Cloud for various combinations of containers running.

ashay-maheshwari commented 7 years ago

Sar tool given in the refernece link is a better tool to get more better stats.

 sar -B
 sar -B 1 10

See the command and sample output on reference link - https://www.cyberciti.biz/faq/linux-command-to-see-major-minor-pagefaults/

ashay-maheshwari commented 7 years ago

Probably we can check which process is resulting in maximum page faults using /usr/bin/time command. The details to the same command is given in the reference link mentioned above.

kraghupathi commented 7 years ago

Document found at here