On Fri, Jan 23, 2009 at 5:46 PM, Dan Drake <[email protected]> wrote: > 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.
Look at the file $HOME/.sage/sage_notebook/twistd.pid and kill that process. The sage-cleaner should kill everything else. > > 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 > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkl6cukACgkQr4V8SljC5LrFCQCfa986vUiGyvLm2I9byfX2v96b > sWYAn1TXPR6yent5WbIrpyu/GUWh/zH6 > =1Tbc > -----END PGP SIGNATURE----- > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
