{"id":9,"date":"2014-12-10T20:23:14","date_gmt":"2014-12-10T20:23:14","guid":{"rendered":"http:\/\/onebyte.org\/blog\/?p=9"},"modified":"2021-03-21T08:02:30","modified_gmt":"2021-03-21T13:02:30","slug":"aix-5-3-kill-proc","status":"publish","type":"post","link":"https:\/\/www.onebyte.org\/blog\/2014\/12\/10\/aix-5-3-kill-proc\/","title":{"rendered":"AIX 5.3 Kill Proc"},"content":{"rendered":"<p>I began receiving alerts that my CPU utilization was peaking 1.25. Obviously this was not common for my build and I began inspecting.<\/p>\n<p>I ran the first command<\/p>\n<pre class=\"lang:default decode:true \">Ps -ef<\/pre>\n<p>Output:<\/p>\n<pre class=\"lang:default decode:true\"># ps -ef\n     UID     PID    PPID   C    STIME    TTY  TIME CMD\n    root       1       0   0   Mar 03      -  2:52 \/etc\/init\n    root   86212       1   0   Mar 03      -  2:57 \/APP\/ud\/bin\/smm -t 60\n    root   94284       1   0   Mar 03      -  0:00 \/usr\/ccs\/bin\/shlap64\n    root  118898       1   0   Mar 03      - 16:59 \/storis\/ud\/bin\/sbcs -r\n    root  122964       1   0   Mar 03      -  0:00 \/usr\/lib\/errdemon\n    root  135406  176260   0   Mar 03      -  0:00 \/usr\/sbin\/rpc.lockd -d 0\n    root  139502       1   0   Mar 03      - 555:55 \/usr\/sbin\/syncd 60\n    root  163958       1   0   Mar 03      -  4:50 \/APP\/ud\/bin\/cleanupd -m 10 -t 20\n    root  172122       1   0   Mar 03      -  0:08 \/APP\/ud\/unishared\/unirpc\/unirpcd<\/pre>\n<p>If you wanted to sort it by the top 10 processes you can use the following:<\/p>\n<pre class=\"lang:default decode:true \"># ps -e -o pcpu -o ruser -o args|sort -nr|grep -v %CPU|head -10<\/pre>\n<p>Output:<\/p>\n<pre class=\"lang:default decode:true \"># ps -e -o pcpu -o ruser -o args|sort -nr|grep -v %CPU|head -10\n24.5 billybob03\u00a0udserver 4 3600 0\n0.2 billybob02 udt\n0.1 int\u00a0udt\n0.1 int\u00a0udt\n0.1 int\u00a0udt\n0.1 int\u00a0udt\n0.1 int\u00a0udt\n0.1 int\u00a0udt\n0.1 billybob01 udt<\/pre>\n<p>To kill the process you need to enter the &#8216;KILL&#8217; command:<\/p>\n<pre class=\"lang:default decode:true \">kill PID#<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I began receiving alerts that my CPU utilization was peaking 1.25. Obviously this was not common for my build and I began inspecting. I ran the first command Ps -ef Output: # ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 Mar 03 &#8211; 2:52 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":84,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[3,2,4],"tags":[],"class_list":["post-9","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-server","category-unix"],"uagb_featured_image_src":{"full":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2015\/07\/aix-pci-compliance.png",350,207,false],"thumbnail":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2015\/07\/aix-pci-compliance-150x150.png",150,150,true],"medium":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2015\/07\/aix-pci-compliance-300x177.png",300,177,true],"medium_large":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2015\/07\/aix-pci-compliance.png",350,207,false],"large":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2015\/07\/aix-pci-compliance.png",350,207,false],"1536x1536":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2015\/07\/aix-pci-compliance.png",350,207,false],"2048x2048":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2015\/07\/aix-pci-compliance.png",350,207,false],"post-thumbnail":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2015\/07\/aix-pci-compliance.png",350,207,false],"modality-logo":["https:\/\/www.onebyte.org\/blog\/wp-content\/uploads\/2015\/07\/aix-pci-compliance.png",135,80,false]},"uagb_author_info":{"display_name":"Mr-Moo","author_link":"https:\/\/www.onebyte.org\/blog\/author\/ahess\/"},"uagb_comment_info":0,"uagb_excerpt":"I began receiving alerts that my CPU utilization was peaking 1.25. Obviously this was not common for my build and I began inspecting. I ran the first command Ps -ef Output: # ps -ef UID PID PPID C STIME TTY TIME CMD root 1 0 0 Mar 03 - 2:52 [&hellip;]","_links":{"self":[{"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/comments?post=9"}],"version-history":[{"count":1,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":501,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/posts\/9\/revisions\/501"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/media\/84"}],"wp:attachment":[{"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/media?parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/categories?post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onebyte.org\/blog\/wp-json\/wp\/v2\/tags?post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}