# no configuration - please see the plugin's README for steps to configure
# sudo properly
```
## Sudo configuration
Since the slabinfo file is only readable by root, the plugin runs `sudo /bin/cat` to read the file.
Sudo can be configured to allow telegraf to run just the command needed to read the slabinfo file. For example, if telegraf is running as the user 'telegraf' and HOST_PROC is not used, add this to the sudoers file:
`telegraf ALL = (root) NOPASSWD: /bin/cat /proc/slabinfo`
## Metrics
Metrics include generic ones such as `kmalloc_*` as well as those of kernel
subsystems and drivers used by the system such as `xfs_inode`.
Each field with `_size` suffix indicates memory consumption in bytes.