top command kill process code example
Example 1: kill process linux
#terminate process with SIGKILL signal by process id
kill -9 pid
Example 2: how to kill process
sudo kill <PID>
#terminate process with SIGKILL signal by process id
kill -9 pid
sudo kill <PID>