GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
jkill(8) FreeBSD System Manager's Manual jkill(8)

jkill
stop or restart a jail

jkill [-fkqv] [-t timeout] jail ...

jkill -r [-fqv] [-t timeout] jail ...

halt

reboot

The jkill utility stops one or more jails in an orderly fashion. It calls the shutdown scripts inside the jail and then kills all remaining processes. When used with the -r option it can also restart the jail.

jkill can also be run from within a jail, to shutdown or restart the jail. Replace the halt or reboot binaries in your jails with jkill as a hard link. Each of these commands will then perform their respective actions in the jail.

Force the processes to quit. If processes remain after sending them a SIGTERM then kill them with SIGKILL which forces the a process exit.
Don't call the shutdown scripts, just kill the processes.
Supress warnings.
After shutting down the jail, restart it by running the /etc/rc startup script.
timeout
Specify a maximum timeout to wait after running the shutdown scripts and between the sending the various kill signals. The default is 3 seconds.
Show the output of shutdown or startup scripts on the console. This also enables all warnings.
jail
Either a jail id (which is an integer) or a jail host name.

It's generally assumed that the jail in question is a 'full jail' with startup and shutdown scripts. If that's not the case use the -k option.

The startup and shutdown scripts inside the jail must be shell scripts and must be owned by root in order to be executed.

The environment is purged properly before running the scripts in the jail in order to prevent unwanted information from leaking into the jail.

Both startup and shutdown are logged to the jail's console if it exists.

jkill needs a valid /dev/null device in the jail. If it doesn't exit for some reason it is automatically created.

/etc/rc /etc/rc.shutdown /dev/console

jail(8), jails(8), jls(8), jstart(8), kill(1)

Stef Walter ⟨stef@memberwebs.com⟩
April, 2004 jkill

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.