![]() The info came from 'man sigaction', I added the numbers for clarity. Here's a list of signals, their numbers, names and descriptions. For example, kill -8 is equivalent of telling the process it has experienced a floating-point exception and you want a core dump created (a huge debugging file, useless in this context). The 'kill' command is a misnomer since it's a tool to send signals to processes, and only one of the signals happens to be '-9', the kill signal. To kill off a process, try -15 then -9.Įach numeric argument corresponds to a different signal. Surely have mentioned how to start & stop the server properly.ĭoing a kill -5, -6, -7, -8, before resorting to -9 is nonsense. ![]() Poster already said it and, moreover, your mysql documentation should Command () + Shift + T is used to switch tabs back and forth. Command () + N is used in order to open a new tab in the terminal. Command () + T is used in order to open a new terminal window. I knew mysql better I'd quote the command & syntax myself, but the other Once you have typed you will see the application you need, all you need is just click it. The mysql distribution should have included a shutdown script. Of course, as another poster noted, this isn't the right way to do itĪnyhow. It should work by the time you get to -9, but hopefully sooner. If you're within 5 minutes of first trying `sudo`.] [note that you won't be asked for the password again, "let it die gracefully" commands to riskier "alright just shut down NOW" ![]() `kill`ing again with numbers increasing from 5 to 9 (shifting from safer That last line is a test to make sure it worked. That other users account where it is all too easy to make a mess of things.īetter by far here would be to find & kill the process in question this way: It allows you to run a commandĪs another user (such as of course the root account), and you're not left in In most cases, `sudo` is a far safer tactic. It's not by accident that Apple locked it out by default, and that decision Having access to the root account is a sharp & powerful double-edged sword.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |