Section 6.14. System Memory Allocation Kstats


6.14. System Memory Allocation Kstats

Use the kstat command to view system memory allocation kstats, as shown below. Table 6.4 describes each statistic.

$ kstat -n system_pages module: unix                        instance: 0 name:   system_pages                class:    pages         availrmem                   97303         crtime                      0         desfree                     1007         desscan                     25         econtig                     4275789824         fastscan                    64455         freemem                     16780         kernelbase                  3556769792         lotsfree                    2014         minfree                     503         nalloc                      1682534446         nalloc_calls                298799         nfree                       1681653744         nfree_calls                 295152         nscan                       0         pagesfree                   16780         pageslocked                 31607         pagestotal                  128910         physmem                     128910         pp_kernel                   32999         slowscan                    100         snaptime                    2415909.89921839 


Table 6.4. Memory Allocation Kstats with unix::system_pages

Statistic

Description

Units

Reference

availrmem

The amount of unlocked pageable memory available for memory allocation.

Pages

9.8[a]

desfree

If free memory falls below desfree, then the page-out scanner is started 100 times/second.

Pages

10.3[a]

desscan

Scan rate target for the page scanner.

Pages/s

10.3[a]

econtig

Address of first block of contiguous kernel memory.

Bytes

 

fastscan

The rate of pages scanned per second when free memory = 0.

Pages/s

10.3[a]

freemem

System free list size.

Pages

6.4.2

kernelbase

Starting address of kernel mapping.

Bytes

 

lotsfree

If free memory falls below lotsfree, then the scanner starts stealing anonymous memory pages.

Pages

10.3[a]

minfree

If free memory falls below minfree, then the page scanner is signaled to start every time a new page is created.

Pages

10.3[a]

nalloc

Kernel memory allocator allocations.

Integer

 

nalloc_calls

Kernel memory allocator calls to alloc().

Integer

 

nfree

Kernel memory allocator frees.

Integer

 

nfree_calls

Kernel memory allocator calls to free().

Integer

nscan

Number of pages scanned by the page scanner at last wake-up.

Pages

10.3[a]

pagesfree

System free list size.

Pages

6.4.2

pageslocked

Total number of pages locked into memory by the kernel and user processes.

Pages

 

pagestotal

Total number of pages available to the system after kernel metamanagement memory.

Pages

 

physmem

Total number of physical pages in the system at boot.

Pages

 

pp_kernel

Total number of pages used by the kernel.

Pages

 

slowscan

The rate of pages scanned per second when free memory = lotsfree.

Pages/s

10.3[a]


[a] a. Solaris Internals, Second Edition




Solaris Performance and Tools(c) Dtrace and Mdb Techniques for Solaris 10 and Opensolaris
Solaris Performance and Tools: DTrace and MDB Techniques for Solaris 10 and OpenSolaris
ISBN: 0131568191
EAN: 2147483647
Year: 2007
Pages: 180

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net