Knowledge Base

Linux kill command

Applies to: This article is educational guidance for self-managed VPS customers and readers researching Linux server administration on OneNet Servers.

Want to kill a process? Try kill command.

The syntax is:

user@onecloudse: with user@onecloudse:

user@onecloudse:with user@onecloudse:

Find PID using ps, pgrep or top commands. Say you want to kill a PID # 16750, run:

user@onecloudse: with user@onecloudse:

For some reason if the process can not be killed, try forceful killing:

user@onecloudse: with user@onecloudse:

OR

user@onecloudse: with user@onecloudse:

Please rate this article to help us improve our Knowledge Base.

4 0