On Fri, 23 Jan 2009 at 01:08PM -0500, Nathan Carter wrote:
> Yes, but I'm running it in the background (and then logging off).  So  
> that process is not in the foreground anymore.  (Furthermore, the sage  
> process actually starts lots of others, in a linear chain, so "ps ax"  
> lists lots of sage- and sage-wiki-related stuff.)

If the server isn't doing anything, in my experience it's fairly safe to
start killing important-looking processes until they all disappear.

A more responsible way to do this is to use the `pstree' command to
identify the root server process and kill that; when it shuts down, the
rest of the processes will follow it.

A *yet more* responsible way is to learn how to use start-stop-daemon
(I think it's only on Debian-derived systems), which can write pid files
and shut things down gracefully.

The easiest way to be responsible, though, is to use screen. :) That's what
I do.

Dan

-- 
---  Dan Drake <[email protected]>
-----  KAIST Department of Mathematical Sciences
-------  http://mathsci.kaist.ac.kr/~drake

Attachment: signature.asc
Description: Digital signature

Reply via email to