How can I grap resident set size from Python on Solaris? -


Resource calling. Getrusage () returns 0 values ​​from Python to Solaris and resident set sizes on Linux systems. On Linux you can pull RSS from / proc / position instead. Is anybody a good way to pull RSS on Solaris, is it either a Linux solution or not?

"post-text" itemprop = "text">

Well ... you can pull it from the pmap app by calling it at pmap-x. But I was searching a way to directly access the information in the / proc from my app / proc / & lt; Pid & gt; The / xmap file is accessed. Unfortunately, the data is stored as an array of precampress strings ... so either a Python C module is in sequence or is using the ctypes module.

When I get one of the written, I will post an update

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -