{"id":1020,"date":"2010-02-28T20:00:20","date_gmt":"2010-03-01T04:00:20","guid":{"rendered":"http:\/\/ryanorser.com\/wordpress\/?p=1020"},"modified":"2010-02-28T20:00:20","modified_gmt":"2010-03-01T04:00:20","slug":"useful-linux-command","status":"publish","type":"post","link":"https:\/\/ryanorser.com\/index.php\/2010\/02\/28\/useful-linux-command\/","title":{"rendered":"Useful Linux Command"},"content":{"rendered":"<p>I have found this useful Linux command called pidof. Lately I have found that Firefox has been crashing with audio in Ubuntu 9.10.<\/p>\n<p>I have had to kill the process before I could restart it. I tried using top to see if Firefox was using processing power still. It wasn&#8217;t. I tried looking for it. Couldn&#8217;t find the process.<\/p>\n<p>So just about an hour ago Firefox did the same thing again. I searched the commands that would tell my the process id of an application. I found pidof.<\/p>\n<p>To use this command you will need the name of the application.<\/p>\n<p>syntax: pidof (application)<br \/>\n-s single shot: returns only 1 pid<br \/>\n-c root: returns root pid for the applications but you will need to be root to do so.<br \/>\n-x scripts: used to find the scripts that go along with the application<br \/>\n-o omit: omits processes with that process id<\/p>\n<p>Ryan Orser.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have found this useful Linux command called pidof. Lately I have found that Firefox has been crashing with audio in Ubuntu 9.10. I have had to kill the process before I could restart it. I tried using top to see if Firefox was using processing power still. It wasn&#8217;t. I tried looking for it. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[],"_links":{"self":[{"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/posts\/1020"}],"collection":[{"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/comments?post=1020"}],"version-history":[{"count":0,"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/posts\/1020\/revisions"}],"wp:attachment":[{"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/media?parent=1020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/categories?post=1020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/tags?post=1020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}