Ilya Mashchenko 44807f0dab convert collectors meta files from single to multi (#15642) 1 year ago
..
Makefile.am 0942680f85 Collector slabinfo (#6800) 5 years ago
README.md 1aef5a70d8 Split plugins to individual packages for DEB/RPM packaging. (#13927) 1 year ago
metadata.yaml 44807f0dab convert collectors meta files from single to multi (#15642) 1 year ago
slabinfo.c d2daa19bf5 JSON internal API, IEEE754 base64/hex streaming, weights endpoint optimization (#14493) 2 years ago

README.md

slabinfo.plugin

SLAB is a cache mechanism used by the Kernel to avoid fragmentation.

Each internal structure (process, file descriptor, inode...) is stored within a SLAB.

configuring Netdata for slabinfo

The plugin is disabled by default because it collects and displays a huge amount of metrics. To enable it set slabinfo = yes in the plugins section of the netdata.conf configuration file.

If you are using our official native DEB/RPM packages, you will additionally need to install the netdata-plugin-slabinfo package using your system package manager.

There is currently no configuration needed for the plugin itself.

As /proc/slabinfo is only readable by root, this plugin is setuid root.

For what use

This slabinfo details allows to have clues on actions done on your system. In the following screenshot, you can clearly see a find done on a ext4 filesystem (the number of ext4_inode_cache & dentry are rising fast), and a few seconds later, an admin issued a echo 3 > /proc/sys/vm/drop_cached as their count dropped.

netdata_slabinfo