The -9
is the signal_number, and specifies that the kill message sent should be of the KILL (non-catchable, non-ignorable) type.
kill -9 pid
Which is same as below.
kill -SIGKILL pid
Without specifying a signal_number the default is -15, which is TERM (software termination signal). Typing kill
is the same as kill -15
.