{"id":2399,"date":"2017-12-08T09:25:06","date_gmt":"2017-12-08T09:25:06","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2399"},"modified":"2020-01-09T09:30:29","modified_gmt":"2020-01-09T09:30:29","slug":"unix-command-to-find-memory-usage","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/unix-command-to-find-memory-usage\/","title":{"rendered":"Unix command to find memory usage"},"content":{"rendered":"<p><strong>rajeshkumar created the topic: unix command to find memory usage<\/strong><\/p>\n<p>Monitor processes continuously. Updates every 3 seconds by default. Displays useful information such as total memory, memory in use, % of total memory used by each process, % cpu usage of each process, and process ID (PID) of each process. Type &#8216;h&#8217; for help or &#8216;q&#8217; to quit. To stop (&#8216;kill&#8217;) a process, type &#8216;k&#8217; and enter the PID of the process, then enter the signal for the &#8216;kill&#8217; command (see below) or press Enter to use the default signal (terminate).<\/p>\n<p>top<br \/>\nUseful options:<br \/>\n-d <delay_time> Specify time between updates<br \/>\n-u <user> List processes for user <user><br \/>\n-p<PID> List process with ID <PID><br \/>\n-n <num_iterations> Specify number of iterations before quitting<\/p>\n<p>Regards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>rajeshkumar created the topic: unix command to find memory usage Monitor processes continuously. Updates every 3 seconds by default. Displays useful information such as total memory, memory in use, %&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[454],"tags":[169],"class_list":["post-2399","post","type-post","status-publish","format-standard","hentry","category-shell-script","tag-unix"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2399"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2399\/revisions"}],"predecessor-version":[{"id":2400,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2399\/revisions\/2400"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}