merge with procps2 free

This commit is contained in:
albert
2004-01-30 04:47:14 +00:00
parent f4367392c8
commit 4ab5a6c8c3
3 changed files with 74 additions and 31 deletions

2
pmap.c
View File

@ -230,7 +230,7 @@ static int one_proc(proc_t *p){
}
if(d_option){
printf(
"mapped %ldK writeable/private: %ldK shared: %ldK\n",
"mapped: %ldK writeable/private: %ldK shared: %ldK\n",
(total_shared + total_private_writeable + total_private_readonly) >> 10,
total_private_writeable >> 10,
total_shared >> 10