I've always loved robotics so I focused on learning that. I've worked on destkop applications, on drones, and now on exoskeletons! Web dev looks scary to me but there is a lot of potential there.
Location
France
Education
Master of Engineering
Work
Critical Embedded Software engineer at Wandercraft
I am a professional DevOps Engineer with a demonstrated history of working in the internet industry. I am an avid Linux lover and supporter of the open-source movement philosophy.
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>
I've always loved robotics so I focused on learning that. I've worked on destkop applications, on drones, and now on exoskeletons! Web dev looks scary to me but there is a lot of potential there.
Location
France
Education
Master of Engineering
Work
Critical Embedded Software engineer at Wandercraft
There is also the
nohup
commandI highly recommend this command, we use this on daily basis instead of 3rd party tools.
Thanks for sharing Loik! I’ll definitely check it out!
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)
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>
Just be careful because by default it opens a nohup.out file and appends all output of the process you launched into this file. It can grow a lot.
If you're afraid of filling your disk, just toss the output to
/dev/null
during the command invocation ;)This is my go-to
nohup command ... &