On 1/31/12 2:23 AM, Ivan Andrus wrote:
On Jan 31, 2012, at 8:37 AM, Iftikhar Burhanuddin wrote:
Hi folks,
When I execute a Sage script using the 'nohup' command [1], for instance
nohup sage test.sage> out.txt&
the process is listed in the 'top' command display as 'python'. How do
I give user-generated names to this 'python' process for the purpose
of identification?
According to [1] it requires the procname library which can be found at [2].
Remember you'll need to install it in Sage's version of python, not the system
one. So do everything with `sage -python` or `sage -sh`.
-Ivan
[1]
http://stackoverflow.com/questions/2255444/changing-the-process-name-of-a-python-script
[2] http://code.google.com/p/procname/
Cool! Do you happen to know if that prevents 'killall python' from
working, then?
Jason
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org