What can I do to the MUSH from the shell account?

Submitted by javelin on Mon, 2012-02-13 20:01

What can I do to the MUSH from the shell account?

On UNIX systems, there is a command called kill which will send a signal to a specific process, like the mush. Signals are a way of letting a program know that some external event happened that it needs to know about, and Penn gives special meaning to several.
The kill program is usually invoked with 'kill -SIGNAL PID', where PID is the process ID of the mush. It's found at the top of pennmush/game/log/netmush.log,
or in the wizard version of @uptime in the mush itself.
The signals understood by Penn and what they do:
kill -HUP: Re-read all the config files, cached text files like the connect screen, sitelock file, re-build help indexes.
kill -USR1: Same as @shutdown/reboot
kill -USR2: Same as @dump
kill -INT: Same as @shutdown
kill -TERM: Same as @shutdown/panic

2002-Nov-04 3:40pm shawnw