You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when I want to get a process memory usage info, I use MemoryInfoEx Structure, and what it print out seems wrong
mem used {"rss":1990656,"vms":105930752,"shared":1150976,"text":4096,"lib":0,"data":0,"dirty":101990400}
According to the linux man page Dirty and Library is not used since Linux 2.6, and My Linux kernel is 4.7.2, but dirty get from emoryInfoEx is not 0, and what's more, data field should not be zero
I cat /proc/$$/statm and /proc/$$/status, I found the value in "dirty" field equals the statm data field, so I think the print data should look like this
Thanks and you are right. Original psutil has no dirty (http://pythonhosted.org/psutil/#memory) now, I think restruture is required. ( but no schedule is defined yet...)
Hi, when I want to get a process memory usage info, I use MemoryInfoEx Structure, and what it print out seems wrong
According to the linux man page Dirty and Library is not used since Linux 2.6, and My Linux kernel is 4.7.2, but dirty get from emoryInfoEx is not 0, and what's more, data field should not be zero
I cat
/proc/$$/statm
and/proc/$$/status
, I found the value in "dirty" field equals the statm data field, so I think the print data should look like thisThe text was updated successfully, but these errors were encountered: