Web developer. Lover of Typescript. Also comfortable with a bunch of other shiny languages and "big-brain tech tools" to flex about at parties! ( ´・・)ノ(._.`)
===== Listing Processes =====
List processes owned by the current user (sorted by PID, from PID 1 to higher/user-level PIDs) ps
List all processes, including system processes ps ax
List all active processes, including system processes, with extra information like RAM/CPU usage, owner user, etc. ps aux
Human-readable shiny process list, with features like search, filtering, tree structure, realtime resources usage monitor, etc. htop
===== Killing Processes (kill vs. killall vs. pkill) =====
Kill a process by its id kill <process_id>
Or use killall with the process name (Can be risky if multiple processes share the same name) killall node
Or use pkill with the process name or other attributes (The most versatile of the three commands, allows terminating processes by name, exact match, or pattern matching using regular expressions) (Can be risky if the pattern matches unintended processes) pkill
Killing without mercy kill -9 <process_id>
Killing by giving the stuck process a chance to clean up before dying (RECOMMENDED) kill -15 <process_id>
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
If I may ask how do you handle killing the process?
Here's my note on this for you:
===== Listing Processes =====
List processes owned by the current user (sorted by PID, from PID 1 to higher/user-level PIDs)
psList all processes, including system processes
ps axList all active processes, including system processes, with extra information like RAM/CPU usage, owner user, etc.
ps auxHuman-readable shiny process list, with features like search, filtering, tree structure, realtime resources usage monitor, etc.
htop===== Killing Processes (kill vs. killall vs. pkill) =====
Kill a process by its id
kill <process_id>Or use killall with the process name (Can be risky if multiple processes share the same name)
killall nodeOr use pkill with the process name or other attributes (The most versatile of the three commands, allows terminating processes by name, exact match, or pattern matching using regular expressions) (Can be risky if the pattern matches unintended processes)
pkillKilling without mercy
kill -9 <process_id>Killing by giving the stuck process a chance to clean up before dying (RECOMMENDED)
kill -15 <process_id>