Patch wanted: VmRSS, VmSize and VmStk in /proc/pid/status

Thierry Thomas thierry at
Sun May 18 20:45:51 UTC 2014

Le mer 14 mai 14 à 10:03:34 +0200, Scot Hetzel <swhetzel at>
 écrivait :

> >> > It's why I'm looking for help here: does somebody knows how the
> >> > corresponding values of these Vm... can be found in FreeBSD?
> >>
> >> You could try reading the source for linprocfs to see how it gets those values:
> >>
> >>
> >
> > Good idea, I'll check it!
> You may also want to check usr.bin/procstat and lib/libprocstat.

Here I am - almost! I have written a patch giving all these values -
excepted VmPeak: I cannot find its definition neither in linprocfs nor
elsewhere. This value is also missing from our

Setting it to -1 seems working, but if someone knows how to get it, it
would be better.

Th. Thomas.

More information about the freebsd-ports mailing list