![]() Then you'd re-run the same ps command and check if the process was still running. Supposing that ps -u whoami returned something like PID TTY TIME CMDĪnd you wanted to kill the firefox process by its process id, then you'd do: kill -1 7667 For example, sending a -1 to the process will ask it to reload the configuration file sending a -2 is equivalent to pressing the Control+C on that process -9 will cause the kernel to abandon the process, without communicating it to the process. The signal indicates what the process should do. To kill a process you will use the kill command, which sends a SIGNAL to the process. ![]() You might break something if you kill the wrong process. This will list all processes that can be deleted by your account.Ģ) The ps command will list the process number, the TTY, Time, and CMD. The whoami is just in case you don't know the name of the account you are using, otherwise just type the name of the account without the back quotes. 1) How do I find the processes started by me? Run this: ps -u `whoami`
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |