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
Reviewing the output of man proc suggests that we do want the first two values returned by the /proc/[PID]/statm file:
/proc/[pid]/statm
Provides information about memory usage, measured in pages. The columns are:
size (1) total program size
(same as VmSize in /proc/[pid]/status)
resident (2) resident set size
(same as VmRSS in /proc/[pid]/status)
share (3) shared pages (i.e., backed by a file)
text (4) text (code)
lib (5) library (unused in Linux 2.6)
data (6) data + stack
dt (7) dirty pages (unused in Linux 2.6)
Note that
_getStatFields
returns alist
with[None, None]
as its first two values:OpenCue/rqd/rqd/rqmachine.py
Lines 217 to 219 in e7c38c6
So the following lines are running a regex against
None
, which results in aTypeError
:OpenCue/rqd/rqd/rqmachine.py
Lines 275 to 282 in e7c38c6
Reviewing the output of
man proc
suggests that we do want the first two values returned by the/proc/[PID]/statm
file:So the correct indices should be 2 and 3:
fao @DiegoTavares
The text was updated successfully, but these errors were encountered: