Several tools are available to examine system configuration information. Some tools require superuser privilege. Other tools can be run by a non-privileged user. Every structure and data item can be examined with the kernel debugger by using mdb on a running system or by booting under kmdb.
For more information, see the mdb(1) or kmdb(1) man page.
The sysdef command provides the values of memory and process resource limits, and portions of the tune and v structures. For example, the sysdef “Tunable Parameters” section from a SPARC T3-4 system with 500 GB of memory is as follows:
2206203904 maximum memory allowed in buffer cache (bufhwm) 65546 maximum number of processes (v.v_proc) 99 maximum global priority in sys class (MAXCLSYSPRI) 65541 maximum processes per user id (v.v_maxup) 30 auto update time limit in seconds (NAUTOUP) 25 page stealing low water mark (GPGSLO) 1 fsflush run rate (FSFLUSHR) 25 minimum resident memory for avoiding deadlock (MINARMEM) 25 minimum swapable memory for avoiding deadlock (MINASMEM)
For more information, see the sysdef(1M) man page.
kstats are data structures maintained by various kernel subsystems and drivers. They provide a mechanism for exporting data from the kernel to user programs without requiring that the program read kernel memory or have superuser privilege. For more information, see the kstat(1M) or kstat(3KSTAT) man page.