{"id":516,"date":"2019-05-13T06:02:37","date_gmt":"2019-05-13T06:02:37","guid":{"rendered":"https:\/\/jan.schnasse.org\/blog\/?p=516"},"modified":"2026-09-28T11:39:16","modified_gmt":"2026-09-28T09:39:16","slug":"unix-tools-introduced-today-pgrep","status":"publish","type":"post","link":"https:\/\/jan.schnasse.org\/blog\/2019\/05\/13\/unix-tools-introduced-today-pgrep\/","title":{"rendered":"Unix tools introduced. Today: pgrep"},"content":{"rendered":"<p>pgrep looks through the currently running processes and lists the process IDs. Use<\/p>\n<p><code><span class=\"pln\">pgrep <\/span><span class=\"pun\">-<\/span><span class=\"pln\">f <\/span><span class=\"str\">'process_name'<\/span><\/code><\/p>\n<p>to find the process ID of a process.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>pgrep looks through the currently running processes and lists the process IDs. Use pgrep -f &#8218;process_name&#8216; to find the process ID of a process.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,17],"tags":[],"class_list":["post-516","post","type-post","status-publish","format-standard","hentry","category-admin","category-unixtools"],"_links":{"self":[{"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/posts\/516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/comments?post=516"}],"version-history":[{"count":1,"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/posts\/516\/revisions"}],"predecessor-version":[{"id":4345,"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/posts\/516\/revisions\/4345"}],"wp:attachment":[{"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/media?parent=516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/categories?post=516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jan.schnasse.org\/blog\/wp-json\/wp\/v2\/tags?post=516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}