Why does the command ps not display the entire list of processes?












0















If the command ps awx is run the following output is produced. The list below is the last 20 lines of the complete output.



 4247 pts/1    Ss+    0:00 /bin/bash
4442 ? S< 0:00 [kworker/u17:1]
4661 ? S< 0:00 [kworker/u17:3]
4731 ? S< 0:00 [kworker/u17:5]
4734 ? S 0:00 pickup -l -t fifo -u
4847 ? S< 0:00 [kworker/u17:7]
4850 ? S 0:00 [kworker/u16:3]
4878 ? S 0:00 [kworker/u16:0]
5201 ? S< 0:00 [kworker/u17:8]
5353 ? S 0:00 [kworker/0:1]
5354 ? S 0:00 [kworker/7:2]
5355 ? S 0:00 [kworker/u16:2]
5361 ? S 0:00 [kworker/4:0]
5362 tty1 Ss 0:00 -bash
5396 ? S 0:00 [kworker/6:0]
5418 ? S 0:00 [kworker/0:0]
5420 ? S 0:00 [kworker/2:2]
5431 ? S 0:00 [kworker/7:0]
5562 ? S 0:00 [kworker/4:2]
5620 tty1 R+ 0:00 ps awx


If a subsequent command ps awx | grep grep is run the following output is generated.



5646 tty1     S+     0:00 grep --color=auto grep


Additionally if the following command ps awx | grep agetty is run, the following output is displayed.



5669 tty1     S+     0:00 grep --color=auto agetty


Why does the command ps awx not display the process identification numbers 5646 and 5669? In fact there are no other processes listed after 5620.









share























  • Show the complete list of ps awx. From the initial looks 5646 is not even there in your given information

    – Inian
    4 mins ago
















0















If the command ps awx is run the following output is produced. The list below is the last 20 lines of the complete output.



 4247 pts/1    Ss+    0:00 /bin/bash
4442 ? S< 0:00 [kworker/u17:1]
4661 ? S< 0:00 [kworker/u17:3]
4731 ? S< 0:00 [kworker/u17:5]
4734 ? S 0:00 pickup -l -t fifo -u
4847 ? S< 0:00 [kworker/u17:7]
4850 ? S 0:00 [kworker/u16:3]
4878 ? S 0:00 [kworker/u16:0]
5201 ? S< 0:00 [kworker/u17:8]
5353 ? S 0:00 [kworker/0:1]
5354 ? S 0:00 [kworker/7:2]
5355 ? S 0:00 [kworker/u16:2]
5361 ? S 0:00 [kworker/4:0]
5362 tty1 Ss 0:00 -bash
5396 ? S 0:00 [kworker/6:0]
5418 ? S 0:00 [kworker/0:0]
5420 ? S 0:00 [kworker/2:2]
5431 ? S 0:00 [kworker/7:0]
5562 ? S 0:00 [kworker/4:2]
5620 tty1 R+ 0:00 ps awx


If a subsequent command ps awx | grep grep is run the following output is generated.



5646 tty1     S+     0:00 grep --color=auto grep


Additionally if the following command ps awx | grep agetty is run, the following output is displayed.



5669 tty1     S+     0:00 grep --color=auto agetty


Why does the command ps awx not display the process identification numbers 5646 and 5669? In fact there are no other processes listed after 5620.









share























  • Show the complete list of ps awx. From the initial looks 5646 is not even there in your given information

    – Inian
    4 mins ago














0












0








0








If the command ps awx is run the following output is produced. The list below is the last 20 lines of the complete output.



 4247 pts/1    Ss+    0:00 /bin/bash
4442 ? S< 0:00 [kworker/u17:1]
4661 ? S< 0:00 [kworker/u17:3]
4731 ? S< 0:00 [kworker/u17:5]
4734 ? S 0:00 pickup -l -t fifo -u
4847 ? S< 0:00 [kworker/u17:7]
4850 ? S 0:00 [kworker/u16:3]
4878 ? S 0:00 [kworker/u16:0]
5201 ? S< 0:00 [kworker/u17:8]
5353 ? S 0:00 [kworker/0:1]
5354 ? S 0:00 [kworker/7:2]
5355 ? S 0:00 [kworker/u16:2]
5361 ? S 0:00 [kworker/4:0]
5362 tty1 Ss 0:00 -bash
5396 ? S 0:00 [kworker/6:0]
5418 ? S 0:00 [kworker/0:0]
5420 ? S 0:00 [kworker/2:2]
5431 ? S 0:00 [kworker/7:0]
5562 ? S 0:00 [kworker/4:2]
5620 tty1 R+ 0:00 ps awx


If a subsequent command ps awx | grep grep is run the following output is generated.



5646 tty1     S+     0:00 grep --color=auto grep


Additionally if the following command ps awx | grep agetty is run, the following output is displayed.



5669 tty1     S+     0:00 grep --color=auto agetty


Why does the command ps awx not display the process identification numbers 5646 and 5669? In fact there are no other processes listed after 5620.









share














If the command ps awx is run the following output is produced. The list below is the last 20 lines of the complete output.



 4247 pts/1    Ss+    0:00 /bin/bash
4442 ? S< 0:00 [kworker/u17:1]
4661 ? S< 0:00 [kworker/u17:3]
4731 ? S< 0:00 [kworker/u17:5]
4734 ? S 0:00 pickup -l -t fifo -u
4847 ? S< 0:00 [kworker/u17:7]
4850 ? S 0:00 [kworker/u16:3]
4878 ? S 0:00 [kworker/u16:0]
5201 ? S< 0:00 [kworker/u17:8]
5353 ? S 0:00 [kworker/0:1]
5354 ? S 0:00 [kworker/7:2]
5355 ? S 0:00 [kworker/u16:2]
5361 ? S 0:00 [kworker/4:0]
5362 tty1 Ss 0:00 -bash
5396 ? S 0:00 [kworker/6:0]
5418 ? S 0:00 [kworker/0:0]
5420 ? S 0:00 [kworker/2:2]
5431 ? S 0:00 [kworker/7:0]
5562 ? S 0:00 [kworker/4:2]
5620 tty1 R+ 0:00 ps awx


If a subsequent command ps awx | grep grep is run the following output is generated.



5646 tty1     S+     0:00 grep --color=auto grep


Additionally if the following command ps awx | grep agetty is run, the following output is displayed.



5669 tty1     S+     0:00 grep --color=auto agetty


Why does the command ps awx not display the process identification numbers 5646 and 5669? In fact there are no other processes listed after 5620.







bash ps





share












share










share



share










asked 7 mins ago









MotivatedMotivated

2098




2098













  • Show the complete list of ps awx. From the initial looks 5646 is not even there in your given information

    – Inian
    4 mins ago



















  • Show the complete list of ps awx. From the initial looks 5646 is not even there in your given information

    – Inian
    4 mins ago

















Show the complete list of ps awx. From the initial looks 5646 is not even there in your given information

– Inian
4 mins ago





Show the complete list of ps awx. From the initial looks 5646 is not even there in your given information

– Inian
4 mins ago










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f497128%2fwhy-does-the-command-ps-not-display-the-entire-list-of-processes%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f497128%2fwhy-does-the-command-ps-not-display-the-entire-list-of-processes%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

サソリ

広島県道265号伴広島線

Setup Asymptote in Texstudio