{"id":31918,"date":"2022-11-27T16:53:49","date_gmt":"2022-11-27T16:53:49","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=31918"},"modified":"2022-12-23T05:45:25","modified_gmt":"2022-12-23T05:45:25","slug":"linux-tutorials-types-of-process-in-linux","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/linux-tutorials-types-of-process-in-linux\/","title":{"rendered":"Linux Tutorials: Types of Process in Linux"},"content":{"rendered":"\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">There are five types of Process in Linux<\/h4>\n\n\n\n<p><strong>1. Parent process:<\/strong>\u00a0The process created by the user on the terminal. All processes have a parent process, If it was created directly by user then the parent process will be the kernel process.<\/p>\n\n\n\n<p><strong>2. Child process:<\/strong>&nbsp;The process created by another process (by its parent process). All child processes have a parent process.<\/p>\n\n\n\n<p>The example is given above, the process having PID 28500(last row) is a child process of the process having PID 26544.<\/p>\n\n\n\n<p><strong>3. Orphan process:<\/strong>&nbsp;Sometimes when the parent gets executed before its own child process then the child process becomes an orphan process. The orphan process have \u201cInit\u201d process (PID 0) as their PPID (parent process ID)<\/p>\n\n\n\n<p><strong>4. Zombie process:<\/strong>&nbsp;The processes which are already dead but shows up in process status is called Zombie process. Zombie processes have Zero CPU consumption.<\/p>\n\n\n\n<p><strong>5. Daemon process:<\/strong>&nbsp;These are system-related processes that run in the background. A Daemon process can be recognized if it has \u201c?\u201d in its TTY field (6<sup>th<\/sup>&nbsp;column)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are five types of Process in Linux 1. Parent process:\u00a0The process created by the user on the terminal. All processes have a parent process, If it was created directly by user then the parent process will be the kernel process. 2. Child process:&nbsp;The process created by another process (by its parent process). All child&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[2],"tags":[],"class_list":["post-31918","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/31918","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=31918"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/31918\/revisions"}],"predecessor-version":[{"id":31919,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/31918\/revisions\/31919"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=31918"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=31918"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=31918"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}