Questions tagged [ps]
For questions pertaining to ps, a command for printing information about running processes. Use this tag for questions about ps itself or questions about issues arising from using the ps command-line utility.
673 questions
1 vote
1 answer
31 views
Kylin - Monitor CPU by process name
I am new to Kylin , I would like to monitor the CPU stats for a group of processes which share the same name. Let's pretend that the process name = BOB.exe First idea is to use this type of format, ...
4 votes
1 answer
141 views
How to show the pstree all the way down to each of a list of PIDs?
% ps -ax | grep nvim 17593 ?? 2121:43.42 nvim --embed 17674 ?? 0:26.66 /Users/me/.local/share/nvim/mason/packages/lua-language-server/libexec/bin/lua-language-server 94363 ?? 1:...
-4 votes
2 answers
281 views
Linux kill command returns "No such process"
In the below shell script I have list of process IDs which need to be killed. When killing a process I am getting kill: 1234567: no such process error even after checking if the process id existence ...
0 votes
0 answers
60 views
ps ax and -o fd
According to ps(1), ps doesn't support fd. even I didn't find fd in task_struct of kernel. How can I find fd of a program? َUPDATE: FD means File Descriptor. When I get query from services such as : ...
-1 votes
1 answer
98 views
Why a process can own 3 names in Linux?
We migrated an app, changed its name in Makefile from flex_camera to flex_camera_lucid. After deploying it to the target board(the original app is removed), as shown in the following screenshot, we ...
7 votes
2 answers
413 views
How can I find location of PRI in /proc
I have sshd with PID of 1957: mohsen@debian:~$ ps ax -o pid,nice,pri,cmd |grep 1957 1957 -2 21 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups According to above, my nice number is -2 ...
0 votes
0 answers
35 views
How does printf() actually work? [duplicate]
When I execute the c file #include <stdio.h> #include <stdlib.h> int main(){ printf("before the system call. I am too excited!\n"); system("ps"); ...
1 vote
1 answer
70 views
Why read process doesn't show up in ps -ef
I open two terminal windows. In one, I run: $ read foo I don't press RETURN, so read is blocking. In the other terminal window, I search for the process: $ ps -ef | grep foo user 95292 94814 ...