]> git.itanic.dy.fi Git - scan-pagemap/commitdiff
Analyzer: Rename "in ram" column to "RSS"
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Fri, 3 Sep 2010 17:36:40 +0000 (20:36 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Fri, 3 Sep 2010 17:36:40 +0000 (20:36 +0300)
This is now more consistent with tools like top.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
analyze.c

index 9364c47a54c83c74c71b31ca9fcaa1432ee3ba0c..163b001e26f8f81578ed1bdb8cbed6f0308ea0ea 100644 (file)
--- a/analyze.c
+++ b/analyze.c
@@ -215,7 +215,7 @@ void print_pid_stats(struct pageframe *pf, struct process *process_list,
                biggest = MAX(biggest, ps->pages_present + ps->pages_swapped);
        }
 
-       printf("  in ram  swapped    total   pid");
+       printf("     RSS  swapped    total   pid");
        if (opts->with_threads)
                printf("   tid");
        printf("   name\n");
@@ -297,7 +297,7 @@ static void _dump_process_maps(struct pageframe *pf, struct process *ps,
        }
 
        printf("process: [%d] %s\n", ps->pid, ps->name);
-       printf("    size   in ram  swapped    total name\n");
+       printf("    size      RSS  swapped    total name\n");
 restart:
        second_biggest = 0;
        count = 0;