C.R. 's command is correct, but I'd also suggest you shouldn't be using
kill -9 unless it's absolutely nescessary.
kill -9 sends a
SIGKILL signal, which amounts to pulling the plug on the process without giving it any time to clean up after itself. The default signal to send (if you leave out the
-9) is a
SIGTERM which tells the process to shut itself down and do any cleanup that is required. Only if the
SIGTERM doesn't work (which means your AOLserver is
extremely wedged) should you use a
SIGKILL.
So you generally want to use kill `cat /path/to/nspid` to stop the server, and only go for kill -9 `cat /path/to/nspid` when your AOLserver process doesn't respond to a regular shutdown request.