That is giving me a vsize of 2.55TB. There is no way that makes sense.
Digging through the code I see that in lib/providers/linux.js it is multiplying the vsize it gets from /proc/[pid]/stat by the PAGE_SIZE. In the procman page it says:
vsize %lu (23) Virtual memory size in bytes.
Seems to me that what I actually want is that raw vsize value without the multiplication.
I am noticing terribly incorrect
vsize
values on my system (Ubuntu Server 14.04). For an example I have a simple js file where I do:In the output I see:
That is giving me a
vsize
of 2.55TB. There is no way that makes sense.Digging through the code I see that in lib/providers/linux.js it is multiplying the
vsize
it gets from/proc/[pid]/stat
by thePAGE_SIZE
. In theproc
man page it says:Seems to me that what I actually want is that raw
vsize
value without the multiplication.