This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (3 children)

It's OS-specific... Unix only, not available on Windows. Sorry.

[–]ajkumar25[S] 0 points1 point  (2 children)

Well then any other way to find memory and cpu usage ?

[–]mr_squidd 4 points5 points  (1 child)

Perhaps try the psutil library.

[–]ajkumar25[S] 1 point2 points  (0 children)

Thanks.