[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ELF shared libraries... HELP!



On Tue, 23 Apr 1996, Mark Shuttleworth wrote:

>    PID USER    PRI  NI SIZE  RES SHRD STAT %CPU %MEM  TIME COMMAND
>  24894 marks     1   0  238  760  964 S     0.3  5.0  0:00 myproc

Reread the top man page, and you'll see that the above line is bogus.

       SIZE The size of the task's  code  plus  data  plus  stack
            space, in kilobytes, is shown here.
       RES  The total amount of physical memory used by the task,
            in kilobytes, is shown here.
       SHRD The amount of shared memory used by the task is shown
            in this column.

It must always be true that SIZE >= RES >= SHRD.  I've seen the above
phenomenon on systems running a new procps and and old kernel.  Just as
you can't run new 1.3 kernels with procps versions less than 0.99a, you
can't run a new procps with an old kernel.  So upgrade your kernel.

Guy


Reply to: