how to kill running process in linux

C++
kill -9 3827

kill -9 3919

kill -9 10764

kill -9 11679#terminate process with SIGKILL signal by process id
kill -9 pidps ux # list the running Process with PID
kill xxxx # hear xxxx is the process idkill <processID>
Source

Also in C++: