{"id":12823,"date":"2010-07-27T12:30:19","date_gmt":"2010-07-27T10:30:19","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=12823"},"modified":"2010-07-27T12:30:19","modified_gmt":"2010-07-27T10:30:19","slug":"monitoring-tree-of-linux-processes","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/","title":{"rendered":"Monitoring tree of Linux processes"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>Once in a while there is a need to see the tree of processes on a Linux system. \u00a0When such a need arises, I usually run &#8220;<em>ps auxw &#8211;forest<\/em>&#8220;, which results in something like this (partial output, top only):<\/p>\n<figure id=\"attachment_12824\" aria-describedby=\"caption-attachment-12824\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/ps_auxw_forest.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"12824\" data-permalink=\"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/ps_auxw_forest\/\" data-orig-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/ps_auxw_forest.png?fit=746%2C378&amp;ssl=1\" data-orig-size=\"746,378\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"ps auxw &amp;#8211;forest\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;ps auxw &amp;#8211;forest&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/ps_auxw_forest.png?fit=660%2C334&amp;ssl=1\" class=\"size-medium wp-image-12824 \" title=\"\/bin\/ps auxw --forest\" src=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/ps_auxw_forest-500x253.png?resize=500%2C253&#038;ssl=1\" alt=\"\" width=\"500\" height=\"253\" srcset=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/ps_auxw_forest.png?resize=500%2C253&amp;ssl=1 500w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/ps_auxw_forest.png?resize=160%2C81&amp;ssl=1 160w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/ps_auxw_forest.png?resize=75%2C38&amp;ssl=1 75w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/ps_auxw_forest.png?w=746&amp;ssl=1 746w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-12824\" class=\"wp-caption-text\">\/bin\/ps auxw --forest<\/figcaption><\/figure>\n<p>Today, via <a href=\"http:\/\/iarlyy.wordpress.com\/2010\/07\/23\/tools-for-performance-monitoring-on-linux\/\">this blog post<\/a>, I&#8217;ve learned that there is another way &#8211; &#8220;<em>pstree<\/em>&#8220;. \u00a0This command accepts a number of parameters, but in its simplest form, results in something like this (partial output, top only):<\/p>\n<figure id=\"attachment_12825\" aria-describedby=\"caption-attachment-12825\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/pstree.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"12825\" data-permalink=\"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/pstree\/\" data-orig-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/pstree.png?fit=746%2C378&amp;ssl=1\" data-orig-size=\"746,378\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"pstree\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;pstree&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/pstree.png?fit=660%2C334&amp;ssl=1\" class=\"size-medium wp-image-12825 \" title=\"\/usr\/bin\/pstree\" src=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/pstree-500x253.png?resize=500%2C253&#038;ssl=1\" alt=\"\" width=\"500\" height=\"253\" srcset=\"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/pstree.png?resize=500%2C253&amp;ssl=1 500w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/pstree.png?resize=160%2C81&amp;ssl=1 160w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/pstree.png?resize=75%2C38&amp;ssl=1 75w, https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/pstree.png?w=746&amp;ssl=1 746w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-12825\" class=\"wp-caption-text\">\/usr\/bin\/pstree<\/figcaption><\/figure>\n<p>On my Fedora box, <em>\/usr\/bin\/pstree<\/em> is a part of the psmisc RPM, which is the one that brings <em>\/usr\/bin\/killall<\/em> to the system.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Once in a while there is a need to see the tree of processes on a Linux system. \u00a0When such a need arises, I usually run &#8220;ps auxw &#8211;forest&#8220;, which results in something like this (partial output, top only): Today, via this blog post, I&#8217;ve learned that there is another way &#8211; &#8220;pstree&#8220;. \u00a0This command &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Monitoring tree of Linux processes<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_links_to":"","_links_to_target":""},"categories":[1,6,133,62],"tags":[1960,74,19],"keyring_services":[],"class_list":["post-12823","post","type-post","status-publish","format-standard","hentry","category-general","category-linux","category-sysadmin","category-technology","tag-command-line","tag-tips","tag-tools"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Once in a while there is a need to see the tree of processes on a Linux system. When such a need arises, I usually run &quot;ps auxw --forest&quot;, which results in something like this (partial output, top only): Today, via this blog post, I&#039;ve learned that there is another way - &quot;pstree&quot;. This command\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Leonid Mamchenkov\"\/>\n\t<meta name=\"google-site-verification\" content=\"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Leonid Mamchenkov - Life, universe, and everything else\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Monitoring tree of Linux processes - Leonid Mamchenkov\" \/>\n\t\t<meta property=\"og:description\" content=\"Once in a while there is a need to see the tree of processes on a Linux system. When such a need arises, I usually run &quot;ps auxw --forest&quot;, which results in something like this (partial output, top only): Today, via this blog post, I&#039;ve learned that there is another way - &quot;pstree&quot;. This command\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2010-07-27T10:30:19+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2010-07-27T10:30:19+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MamchenkovBlog\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Monitoring tree of Linux processes - Leonid Mamchenkov\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Once in a while there is a need to see the tree of processes on a Linux system. When such a need arises, I usually run &quot;ps auxw --forest&quot;, which results in something like this (partial output, top only): Today, via this blog post, I&#039;ve learned that there is another way - &quot;pstree&quot;. This command\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2010\\\/07\\\/27\\\/monitoring-tree-of-linux-processes\\\/#blogposting\",\"name\":\"Monitoring tree of Linux processes - Leonid Mamchenkov\",\"headline\":\"Monitoring tree of Linux processes\",\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/wp-content\\\/uploads\\\/2010\\\/07\\\/ps_auxw_forest-500x253.png\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2010\\\/07\\\/27\\\/monitoring-tree-of-linux-processes\\\/#articleImage\"},\"datePublished\":\"2010-07-27T12:30:19+02:00\",\"dateModified\":\"2010-07-27T12:30:19+02:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2010\\\/07\\\/27\\\/monitoring-tree-of-linux-processes\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2010\\\/07\\\/27\\\/monitoring-tree-of-linux-processes\\\/#webpage\"},\"articleSection\":\"All, Linux, Sysadmin, Technology, command line, tips, tools\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2010\\\/07\\\/27\\\/monitoring-tree-of-linux-processes\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/linux\\\/#listItem\",\"name\":\"Linux\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/linux\\\/#listItem\",\"position\":3,\"name\":\"Linux\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/linux\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2010\\\/07\\\/27\\\/monitoring-tree-of-linux-processes\\\/#listItem\",\"name\":\"Monitoring tree of Linux processes\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2010\\\/07\\\/27\\\/monitoring-tree-of-linux-processes\\\/#listItem\",\"position\":4,\"name\":\"Monitoring tree of Linux processes\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/technology\\\/linux\\\/#listItem\",\"name\":\"Linux\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2010\\\/07\\\/27\\\/monitoring-tree-of-linux-processes\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2010\\\/07\\\/27\\\/monitoring-tree-of-linux-processes\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2010\\\/07\\\/27\\\/monitoring-tree-of-linux-processes\\\/#webpage\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2010\\\/07\\\/27\\\/monitoring-tree-of-linux-processes\\\/\",\"name\":\"Monitoring tree of Linux processes - Leonid Mamchenkov\",\"description\":\"Once in a while there is a need to see the tree of processes on a Linux system. When such a need arises, I usually run \\\"ps auxw --forest\\\", which results in something like this (partial output, top only): Today, via this blog post, I've learned that there is another way - \\\"pstree\\\". This command\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2010\\\/07\\\/27\\\/monitoring-tree-of-linux-processes\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"datePublished\":\"2010-07-27T12:30:19+02:00\",\"dateModified\":\"2010-07-27T12:30:19+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/\",\"name\":\"Blog of Leonid Mamchenkov\",\"description\":\"Life, universe, and everything else\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Monitoring tree of Linux processes - Leonid Mamchenkov","description":"Once in a while there is a need to see the tree of processes on a Linux system. When such a need arises, I usually run \"ps auxw --forest\", which results in something like this (partial output, top only): Today, via this blog post, I've learned that there is another way - \"pstree\". This command","canonical_url":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/#blogposting","name":"Monitoring tree of Linux processes - Leonid Mamchenkov","headline":"Monitoring tree of Linux processes","author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/07\/ps_auxw_forest-500x253.png","@id":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/#articleImage"},"datePublished":"2010-07-27T12:30:19+02:00","dateModified":"2010-07-27T12:30:19+02:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/#webpage"},"isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/#webpage"},"articleSection":"All, Linux, Sysadmin, Technology, command line, tips, tools"},{"@type":"BreadcrumbList","@id":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","position":1,"name":"Home","item":"https:\/\/mamchenkov.net\/wordpress","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/linux\/#listItem","name":"Linux"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/linux\/#listItem","position":3,"name":"Linux","item":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/linux\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/#listItem","name":"Monitoring tree of Linux processes"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/#listItem","position":4,"name":"Monitoring tree of Linux processes","previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/linux\/#listItem","name":"Linux"}}]},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/#person","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author","url":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"WebPage","@id":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/#webpage","url":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/","name":"Monitoring tree of Linux processes - Leonid Mamchenkov","description":"Once in a while there is a need to see the tree of processes on a Linux system. When such a need arises, I usually run \"ps auxw --forest\", which results in something like this (partial output, top only): Today, via this blog post, I've learned that there is another way - \"pstree\". This command","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#website"},"breadcrumb":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/#breadcrumblist"},"author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"creator":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"datePublished":"2010-07-27T12:30:19+02:00","dateModified":"2010-07-27T12:30:19+02:00"},{"@type":"WebSite","@id":"https:\/\/mamchenkov.net\/wordpress\/#website","url":"https:\/\/mamchenkov.net\/wordpress\/","name":"Blog of Leonid Mamchenkov","description":"Life, universe, and everything else","inLanguage":"en-US","publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"}}]},"og:locale":"en_US","og:site_name":"Leonid Mamchenkov - Life, universe, and everything else","og:type":"article","og:title":"Monitoring tree of Linux processes - Leonid Mamchenkov","og:description":"Once in a while there is a need to see the tree of processes on a Linux system. When such a need arises, I usually run &quot;ps auxw --forest&quot;, which results in something like this (partial output, top only): Today, via this blog post, I've learned that there is another way - &quot;pstree&quot;. This command","og:url":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/","og:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:secure_url":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:width":1024,"og:image:height":1024,"article:published_time":"2010-07-27T10:30:19+00:00","article:modified_time":"2010-07-27T10:30:19+00:00","article:publisher":"https:\/\/www.facebook.com\/MamchenkovBlog","twitter:card":"summary_large_image","twitter:site":"@mamchenkov","twitter:title":"Monitoring tree of Linux processes - Leonid Mamchenkov","twitter:description":"Once in a while there is a need to see the tree of processes on a Linux system. When such a need arises, I usually run &quot;ps auxw --forest&quot;, which results in something like this (partial output, top only): Today, via this blog post, I've learned that there is another way - &quot;pstree&quot;. This command","twitter:creator":"@mamchenkov","twitter:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg"},"aioseo_meta_data":{"post_id":"12823","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-07-19 22:10:37","updated":"2026-01-15 05:50:44","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/linux\/\" title=\"Linux\">Linux<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMonitoring tree of Linux processes\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/mamchenkov.net\/wordpress"},{"label":"Technology","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/"},{"label":"Linux","link":"https:\/\/mamchenkov.net\/wordpress\/category\/technology\/linux\/"},{"label":"Monitoring tree of Linux processes","link":"https:\/\/mamchenkov.net\/wordpress\/2010\/07\/27\/monitoring-tree-of-linux-processes\/"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":7467,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/04\/26\/mrtg\/","url_meta":{"origin":12823,"position":0},"title":"MRTG","author":"Leonid Mamchenkov","date":"April 26, 2004","format":false,"excerpt":"MRTG (Multi Router Traffic Grapher) is monitoring utility, which runs on many platforms and is capable of collecting and graphing statistical information such as network traffic, CPU\/Memory\/Disk space usage, etc. MRTG can gather information using both SNMP protocol and external scripts. Below are few pieces of my MRTG config file\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27447,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/03\/22\/bulletproof-bash-stop-script-on-error\/","url_meta":{"origin":12823,"position":1},"title":"Bulletproof Bash : Stop script on error","author":"Leonid Mamchenkov","date":"March 22, 2017","format":false,"excerpt":"The other day I've been puzzled by the results of a cron job script. \u00a0The bash script in question was written in a hurry a while back, and I was under the assumption that if any of its steps fail, the whole script will fail. \u00a0I was wrong. \u00a0Some commands\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28969,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/11\/12\/using-aws-cli-query-option-to-simplify-output\/","url_meta":{"origin":12823,"position":2},"title":"Using aws-cli &#8211;query Option To Simplify Output","author":"Leonid Mamchenkov","date":"November 12, 2018","format":false,"excerpt":"Eric Hammond shares a super-handy tip for those of us who work with Amazon AWS via the command line: I just learned about a recent addition to aws-cli: The\u00a0--query\u00a0option lets you specify what parts of the response data structure you want output. Instead of wading through pages of JSON output,\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":27421,"url":"https:\/\/mamchenkov.net\/wordpress\/2017\/03\/17\/cakephp-3-remove-shell-welcome-header\/","url_meta":{"origin":12823,"position":3},"title":"CakePHP 3 : Remove Shell Welcome Header","author":"Leonid Mamchenkov","date":"March 17, 2017","format":false,"excerpt":"CakePHP 3\u00a0has an excellent support for command line Shells, Tasks, and Console Tools. \u00a0There are a few that are bundled with the framework itself, and that come from a variety of plugins. \u00a0And, of course, you can have your own commands, specific to your application. There is one tiny little\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":22001,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/06\/17\/httpie-command-line-http-client-a-user-friendly-curl-replacement\/","url_meta":{"origin":12823,"position":4},"title":"HTTPie &#8211; command line HTTP client, a user-friendly cURL replacement","author":"Leonid Mamchenkov","date":"June 17, 2014","format":"link","excerpt":"HTTPie - command line HTTP client, a user-friendly cURL replacement. Main features: Expressive and intuitive syntax Formatted and colorized terminal output Built-in JSON support Forms and file uploads HTTPS, proxies, and authentication Arbitrary request data Custom headers Persistent sessions Wget-like downloads Python 2.6, 2.7 and 3.x support Linux, Mac OS\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"httpie","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2014\/06\/httpie-500x500.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":16590,"url":"https:\/\/mamchenkov.net\/wordpress\/2012\/07\/30\/ive-been-using-a-combination-of-ps-and-grep-for-y\/","url_meta":{"origin":12823,"position":5},"title":"I&#8217;ve been using a combination of ps and grep for y&#8230;","author":"Leonid Mamchenkov","date":"July 30, 2012","format":"status","excerpt":"I've been using a combination of ps and grep for years now. \u00a0Apparently, there is an easier way - pgrep and pkill utilities, which are a part of procps package on Fedora and CentOS distributions.","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/12823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=12823"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/12823\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=12823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=12823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=12823"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=12823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}