# ps -fu user
where user is the owner of the process.
The process ID is displayed in the first column of the output.
# kill [signal-number] PID
When no signal is included in the kill command-line syntax, the default signal that is used is –15 (SIGKILL). Using the –9 signal (SIGTERM) with the kill command ensures that the process terminates promptly. However, the –9 signal should not be used to kill certain processes such as a database process or an LDAP server process because data might be lost.
Is the process ID of the process that you want to terminate.
The process you terminated should no longer be listed in the output of the ps command.