www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Something like Python's psutils for D?

reply "Thomas Mader" <thomas.mader gmail.com> writes:
The Subject says it all, is something like psutils available in 
D? [1]
I need it to measure memory usage of a process.

[1] https://github.com/giampaolo/psutil

thank you
Thomas
Jul 12 2014
next sibling parent "Thomas Mader" <thomas.mader gmail.com> writes:
I also need to get the user and system time of a process, doesn't 
seem to be available in Phobos. (e.g. getrusage in Linux but 
platform independent)
Jul 12 2014
prev sibling parent reply "Ellery Newcomer" <ellery-newcomer utulsa.edu> writes:
On Saturday, 12 July 2014 at 08:34:41 UTC, Thomas Mader wrote:
 The Subject says it all, is something like psutils available in 
 D?
would psutils itself be acceptable? https://bitbucket.org/ariovistus/pyd
Jul 12 2014
parent "Thomas Mader" <thomas.mader gmail.com> writes:
On Sunday, 13 July 2014 at 01:01:16 UTC, Ellery Newcomer wrote:
 would psutils itself be acceptable?

 https://bitbucket.org/ariovistus/pyd
I haven't thought about this possibility, thanks.
Jul 13 2014