On Jul 24 11:25, Chris January wrote:
> >It would be possible to change /proc/*/stat{m} to use the page size
> >of 64K, but this would make the values in those files imprecise. It
> >might be better just to change top.
>
> I'll see if I can patch top to get these right. IIRC there is a
> constant
It would be possible to change /proc/*/stat{m} to use the page size
of 64K, but this would make the values in those files imprecise. It
might be better just to change top.
I'll see if I can patch top to get these right. IIRC there is a
constant defined somewhere with the correct page size.
Chr
On Jul 21 19:21, Bengt-Arne Fjellner wrote:
> Hi first of all thanks for a wonderful set of programs.
>
> Now the problem:
> Top reports 16*the memory used for a process. Also in percent its wrong.
> It uses the pagesize from getpagesize()*first field of /proc/*/statm
> Which is wrong /proc/*/stat
3 matches
Mail list logo