Is there a way to change effective process name in Python?
Can I change effective process name of a Python script? I want to show a different name instead of the real name of the process when I get the system process list. In C I can set
Can I change effective process name of a Python script? I want to show a different name instead of the real name of the process when I get the system process list. In C I can set
This is linked to this question.
When ever I need to kill a background process I do ps -e | grep <process_name>
I want to see list of process created by specific user or group of user in Linux
Can I do it using ps command or is there any other command to achieve this?
I noticed some time ago that usernames and passwords given to curl as command line arguments don’t appear in ps output (although of course they may appear in your bash history).
Good day!
I run command ps -A | grep <application_name> and getting list of process like this:
How can I ask ps to display only user processes and not kernel threads?
I’ve seen someone use command: ps -ef | grep [h]ttpd and Output is: apache 25125 31006 0 21:54 ? 00:00:00 /usr/sbin/httpd apache 26869 31006 0 22:04 ? 00:00:00 /usr/sbin/httpd apache 27349 31006 0 22:07 ? 00:00:00 /usr/sbin/httpd apache 27696 31006 0 22:09 ? 00:00:00 /usr/sbin/httpd apache 28534 31006 0 22:14 ? 00:00:00 /usr/sbin/httpd root 31006 … Read more