![]() Note that whenever we speak of process or program, the words can be interchanged at will. Generally speaking, we will only want to terminate a process with a -9 ( SIGKILL) signal if such a process/program is hanging. Whilst the name may sound a little sinister, the common Linux lingo for process termination is that one ‘kills’ a process. One can select a process by pressing the cursor up/down and then send a signal by using F9. Here we see the main screen of htop (you can install this handy utility by typing sudo apt install htop on Ubuntu/Mint, or sudo yum install htop on RedHat/Centos/Fedora) with a number of termination and other signals (lower in the list there are 37 in total) which can be sent to a process previously selected on the right. For example, the SIGTERM signal matches with number 15, and signal 9 ( SIGKILL) is likely the most the most known one as it allows one to forcefully terminate a process, unlike our SIGTERM red light example. ![]() After a little while, a proficient Linux user will generally know one or more of these. The basic Linux signals all have a number (1-30+).
0 Comments
Leave a Reply. |