Currently if you call

top()
or
get_memory_usage()

on a Solaris system which does not have 'top' installed, you get rubbish like 
this:

http://t2nb.math.washington.edu:8000/home/pub/8/

IMHO, calling 'top' to get the memory usage is not a good idea, but as a quick and dirty ugly patch, I've changed the call to 'top' from one to 'prstat' on Solaris. Unlike 'top', 'prstat' is standard command.

I call it 'ugly' as I don't think calling 'prstat' it an ideal way, but it is better than calling 'top' on Solaris.

That ticket is here, if anyone wants to review it. The changes are basically specific to Solaris, though I expanded the information somewhat, which will be seen on any platform.

http://trac.sagemath.org/sage_trac/ticket/8391

--
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

Reply via email to