LinuxCommandLibrary

kstats

Display kernel statistics

SYNOPSIS

kstats [unknown options]

DESCRIPTION

kstats is not a recognized standard Linux command in major distributions (e.g., Ubuntu, Fedora, Debian, Arch). No man page or binary exists in typical /usr/bin or /bin paths. It may refer to:

• Custom scripts or tools for querying kernel stats.
• Confusion with Solaris/OpenSolaris/illumos kstat(1M), which dumps kernel statistics.
• Kernel Samepage Merging (KSM) stats via /sys/kernel/mm/ksm files.

In Linux, view kernel stats using standard tools/files:
/proc/stat for CPU/memory stats.
/proc/meminfo, /proc/vmstat for VM stats.
• Sysstat suite (sar, iostat). Use watch cat /proc/stat for live monitoring.

CAVEATS

Not installed by default; command not found error likely. Check custom installs or use alternatives like vmstat. Solaris kstat incompatible with Linux.

HISTORY

No Linux history; possibly derived from Solaris kstat (introduced ~1990s for kernel module stats). Linux favors /proc filesystem since kernel 1.x.

SEE ALSO

vmstat(8), iostat(1), mpstat(1), sar(1), slabtop(1), top(1)

Copied to clipboard