>_ IzzyLab

Topic breakdown

Terminating a process in Linux means sending it a signal: the soft SIGTERM asks it to shut down gracefully (the process can intercept and ignore it), the hard SIGKILL kills it unconditionally at the kernel level. The pkill/pgrep family can find processes by name or by a command-line substring and send a signal to all matches at once — handy but dangerous: too broad a pattern will catch the wrong things, so it's important to understand the difference between matching the whole process name and matching a substring (see the exact-match flags in man pkill). The idea of the task is to first assess the scale via pgrep -c/-a, then precisely kill only the group you need, escalating the signal strength if necessary.

What's checked

  1. Hung processes cleared out
  2. similar processes left untouched

What it looks like