#12598: Change Sage process name
-------------------------------+--------------------------
Reporter: eviatarbach | Owner: leif
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.11
Component: scripts | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Dependencies:
Stopgaps: |
-------------------------------+--------------------------
Comment (by nbruin):
I have tried:
{{{
$ sage -sh easy_install setproctitle
}}}
after which I can do:
{{{
sage: import setproctitle
sage: setproctitle.setproctitle("mysage")
}}}
which changes both `/proc/PID/stat` and `/proc/PID/cmdline` (it truncates
the name to 15 characters for what `stat` gets set to), i.e., both
`killall` and `killall -e` work.
This test was on linux, but [https://pypi.python.org/pypi/setproctitle/]
claims it works on
{{{
GNU/Linux
BSD
MacOS X
Windows
}}}
so on SunOS we should probably make it a NoOp
--
Ticket URL: <http://trac.sagemath.org/ticket/12598#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.