Changed getpagesize() to the recommended portable sysconf(_SC_PAGESIZE) from 'man getpagesize'.
Changed getpagesize() to the recommended portable sysconf(_SC_PAGESIZE)
from 'man getpagesize'.

Also fixed the calculation of RES, according to 'man proc'.

markwkm/pg_top,markwkm/pg_top,mw2q/pg_top,mw2q/pg_top,mw2q/pg_top,markwkm/pg_top