{"id":778,"date":"2012-10-03T18:33:25","date_gmt":"2012-10-04T01:33:25","guid":{"rendered":"http:\/\/yan.lalife.net\/?p=778"},"modified":"2026-01-20T05:08:02","modified_gmt":"2026-01-20T05:08:02","slug":"check-linux-server-status","status":"publish","type":"post","link":"http:\/\/www.lalife.net\/?p=778","title":{"rendered":"Check Linux server status"},"content":{"rendered":"<p>vmstat, iostat, top&#8230;etc are useful to check server load, I\/O or memory usage.<\/p>\n<p>iostat<br \/>\nr\/s and w\/s<br \/>\nthe number of read and write requests sent to the device per second<br \/>\nawait<br \/>\nthe number of requests waiting in the device&#8217;s queue<br \/>\nsvctm<br \/>\nthe number of miliseconds spent servicing requests, from beginning to end<br \/>\nutil<br \/>\nthe percentage of the device utilization<\/p>\n<p>vmstat<br \/>\nprocs<br \/>\nr: processes are waiting for the CPU time<br \/>\nb: processes are in sleep (means they are waiting for I\/O)<br \/>\nio<br \/>\nbi\/bo: how many blocks reading in\/out the device<br \/>\nsystem<br \/>\nin: number of interrupts per second<br \/>\ncs: context switches per second<\/p>\n<p>Here are some good sites showing how to use them<\/p>\n<p>http:\/\/www.cyberciti.biz\/tips\/linux-disk-performance-monitoring-howto.html<br \/>\nhttp:\/\/www.cyberciti.biz\/tips\/how-do-i-find-out-linux-cpu-utilization.html<br \/>\nhttp:\/\/www.linuxforums.org\/articles\/using-top-more-efficiently_89.html<br \/>\nhttp:\/\/software.intel.com\/en-us\/blogs\/2011\/02\/09\/using-linux-top-to-troubleshoot-multi-core-scalability-issues-at-dreamworks-animation\/<\/p>\n<p>Good article about I\/O scheduler<br \/>\nhttp:\/\/www.linuxjournal.com\/article\/6931<\/p>\n","protected":false},"excerpt":{"rendered":"<p>vmstat, iostat, top&#8230;etc are useful to check server load, I\/O or memory usage. iostat r\/s and w\/s the number of read and write requests sent to the device per second await the number of requests waiting in the device&#8217;s queue &hellip; <a href=\"http:\/\/www.lalife.net\/?p=778\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-778","post","type-post","status-publish","format-standard","hentry","category-linux-command"],"_links":{"self":[{"href":"http:\/\/www.lalife.net\/index.php?rest_route=\/wp\/v2\/posts\/778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.lalife.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.lalife.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.lalife.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.lalife.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=778"}],"version-history":[{"count":1,"href":"http:\/\/www.lalife.net\/index.php?rest_route=\/wp\/v2\/posts\/778\/revisions"}],"predecessor-version":[{"id":1856,"href":"http:\/\/www.lalife.net\/index.php?rest_route=\/wp\/v2\/posts\/778\/revisions\/1856"}],"wp:attachment":[{"href":"http:\/\/www.lalife.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.lalife.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=778"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.lalife.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}