Kill -9
/etc/rc5.bigd.d
Service bigd stop
/etc/rc5.bigd.dDoes someone copy some of these questions out of on-line tests or quizes? They seem too well written and too easy to answer to be real user questions.
Kill -9
kill pid
This question makes no sense, it should be removed from the forum.
SysVinit systems: service foo stop Systemd systems: systemctl stop foo.service
A true daemon process is disconnected from its parent, so it won't receive a kill signal if the parent dies. It becomes an independent entity after startup.
Firstly, your script to control the bigd daemon must be written with specific reference to chkconfig. If you look at other scripts in /etc/init.d you will see many that follow a similar format to this (this is from the script /etc/rc.d/init.d/sshd):- #!/bin/bash # # Init file for OpenSSH server daemon # # chkconfig: 2345 55 25 # description: OpenSSH server daemon The three "numbers" following "chkconfig:" determine how chkconfig will add the script to the startup and shutdown events. The first number is actually a list of run-levels that the script should be started in. In this case, the sshd daemon will be started in run-levels 2, 3, 4 and 5. Ergo, in run-levels 0, 1 and 6 the sshd daemon will be stopped or killed. The second and third numbers control the order in which the process is started (55) and killed (25). A look a the list of entries in the rc.d directory for sshd should help explain this:- /etc/rc.d/init.d/sshd /etc/rc.d/rc0.d/K25sshd /etc/rc.d/rc1.d/K25sshd /etc/rc.d/rc2.d/S55sshd /etc/rc.d/rc3.d/S55sshd /etc/rc.d/rc4.d/S55sshd /etc/rc.d/rc5.d/S55sshd /etc/rc.d/rc6.d/K25sshd Each of the entries in the rcN.d (where N = 0 to 6) directories is a symbolic link back to the base script in /etc/rc.d/init.d/sshd. So when run-level 2 is initiated, /etc/rc.d/rc2.d/S55sshd is run. There are many other links in the /etc/rc.d/rc2.d to other scripts in /etc/rc.d/init.d, and the prefix added by chkconfig (i.e. S55 in the case of sshd) determines the sequence in which these scripts are performed. So sshd is started in run-level 2 after all the "earlier" entries have already been started (e.g. scripts starting with S10, S20, S30 etc.). For custom scripts, you would be advised to use a high number to start the script (e.g. 99) and a low number to stop/kill it. This will ensure all dependent processes are started when you start your script. To conclude, your bigd script should have something like this at the top of the file:- #!/bin/bash # # Init file for BIG server daemon # # chkconfig: 23 99 00 # description: Script to start bigd Then you can use "chkconfig --add bigd" to create all the symbolic links in the appropriate /etc/rcN.d directories. I hope that helps :)
Yes, trust me. I would know. I am POtto-Daemon Obsidian Tafoya. email'd be jess80926@aol.com. If you harass me I'll kill you. If you're just curious, email me. :)
Brett Halliday has written: 'I come to kill you' 'Dolls are deadly' -- subject(s): Michael Shayne (Fictitious character), Fiction 'Murder takes no holiday' -- subject(s): Michael Shayne (Fictitious character), Fiction 'Blood on Biscayne Bay' -- subject(s): Michael Shayne (Fictitious character), Fiction
Dell Shannon has written: 'Root of all evil' -- subject(s): Fiction, Fiction in English, Luis Mendoza (Fictitious character), Police 'Crime on their hands' -- subject(s): Fiction, Luis Mendoza (Fictitious character), Police, Mystery 'Case pending' -- subject(s): Fiction, Fiction in English, Luis Mendoza (Fictitious character), Police 'Sorrow to the grave' -- subject(s): Fiction 'With a vengeance' -- subject(s): Accessible book 'The ringer' -- subject(s): Fiction, Luis Mendoza (Fictitious character), Police 'Double bluff' -- subject(s): Accessible book, Luis Mendoza (Fictitious character), Police, Fiction 'The ringer' -- subject(s): Luis Mendoza (Fictitious character), Police, Fiction 'With a vengeance' -- subject(s): Fiction, Fiction in English, Luis Mendoza (Fictitious character), Police 'Kill with kindness' -- subject(s): Fiction, Luis Mendoza (Fictitious character), Police 'The death-bringers' -- subject(s): Fiction, Fiction in English, Luis Mendoza (Fictitious character), Police 'The motive on record' -- subject(s): Accessible book 'Knave of hearts' -- subject(s): Fiction in English 'Shannon's choice' 'Exploit of death' -- subject(s): Fiction, Luis Mendoza (Fictitious character), Police 'Death of a busybody' -- subject(s): Fiction, Fiction in English, Luis Mendoza (Fictitious character), Police 'Murder most strange' -- subject(s): Fiction, Luis Mendoza (Fictitious character), Police, Endangered species, Nature, Juvenile literature, Effect of human beings on, Rare animals 'Schooled to kill' -- subject(s): Luis Mendoza (Fictitious character), Police, Fiction 'Crime file' -- subject(s): Fiction, Fiction in English, Luis Mendoza (Fictitious character), Police 'First four by Shannon' -- subject(s): American Detective and mystery stories, Fiction, Luis Mendoza (Fictitious character), Police 'Chance to kill' -- subject(s): Fiction, Luis Mendoza (Fictitious character), Police 'With intent to kill' -- subject(s): Fiction, Luis Mendoza (Fictitious character), Police 'The Manson curse' -- subject(s): Fiction, Wake services 'Streets of death' -- subject(s): Fiction, Fiction in English, Luis Mendoza (Fictitious character), Police