mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: /proc/slabinfo doesn't give details of what it is showing.
       [not found] <mailman.1001919360.11119.linux-kernel2news@redhat.com>
@ 2001-10-01 17:09 ` Pete Zaitcev
  0 siblings, 0 replies; 2+ messages in thread
From: Pete Zaitcev @ 2001-10-01 17:09 UTC (permalink / raw)
  To: aneesh.kumar, linux-kernel

>       len += sprintf(page+len, "slabinfo - version: 1.1"
> #if STATS
>                                 " (statistics)"
> #endif
> #ifdef CONFIG_SMP
>                                 " (SMP)"
> #endif
>                                 "\n");
>         len += sprintf(page+len,
> "(cache-name)-----(num-active-objs)--(total-objs)--(obj-size)--(num-active-slabs)--(total-slabs)--(num-pages-per-slab)\n");

0. This is an incompatible change that is going to break userland.
1. Learn to use diff -u.
2. Headers are customarily separated by spaces, not dashes.

-- Pete

^ permalink raw reply	[flat|nested] 2+ messages in thread

* /proc/slabinfo doesn't give details of what it is showing.
@ 2001-10-01  6:54 Aneesh Kumar K.V
  0 siblings, 0 replies; 2+ messages in thread
From: Aneesh Kumar K.V @ 2001-10-01  6:54 UTC (permalink / raw)
  To: linux-kernel

Hi , 

 If will be really nice to list out what these values are when one does 

 $more /proc/slabinfo. It is just a one line code that busy people
really don't have time to look into :) Any how here is the one line code
with some lines above. 


      len += sprintf(page+len, "slabinfo - version: 1.1"
#if STATS
                                " (statistics)"
#endif
#ifdef CONFIG_SMP
                                " (SMP)"
#endif
                                "\n");
        len += sprintf(page+len,
"(cache-name)-----(num-active-objs)--(total-objs)--(obj-size)--(num-active-slabs)--(total-slabs)--(num-pages-per-slab)\n");

 -aneesh 





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-01 17:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.1001919360.11119.linux-kernel2news@redhat.com>
2001-10-01 17:09 ` /proc/slabinfo doesn't give details of what it is showing Pete Zaitcev
2001-10-01  6:54 Aneesh Kumar K.V

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome