biggest = MAX(biggest, ps->pages_present + ps->pages_swapped);
}
- printf(" in ram swapped pid");
+ printf(" in ram swapped total pid");
if (opts->with_threads)
printf(" tid");
printf(" name\n");
if (total == 0)
continue;
- printf("%6lld %sB %6lld %sB %5d ",
+ printf("%6lld %sB %6lld %sB %6lld %sB %5d ",
PAGE_TO_NICE(present), PAGE_TO_NICE_UNIT(present),
PAGE_TO_NICE(swapped), PAGE_TO_NICE_UNIT(swapped),
+ PAGE_TO_NICE(total), PAGE_TO_NICE_UNIT(total),
ps->pid);
if (opts->with_threads)