2020-08-12 04:10:41 +08:00
|
|
|
# Linux Sysctl FS Input Plugin
|
2017-04-01 05:01:02 +08:00
|
|
|
|
2022-06-08 05:37:08 +08:00
|
|
|
The linux_sysctl_fs input provides Linux system level file metrics. The
|
|
|
|
|
documentation on these fields can be found at
|
|
|
|
|
<https://www.kernel.org/doc/Documentation/sysctl/fs.txt>.
|
2017-04-01 05:01:02 +08:00
|
|
|
|
|
|
|
|
Example output:
|
|
|
|
|
|
2021-11-25 03:18:53 +08:00
|
|
|
```shell
|
2017-04-01 05:01:02 +08:00
|
|
|
> linux_sysctl_fs,host=foo dentry-want-pages=0i,file-max=44222i,aio-max-nr=65536i,inode-preshrink-nr=0i,dentry-nr=64340i,dentry-unused-nr=55274i,file-nr=1568i,aio-nr=0i,inode-nr=35952i,inode-free-nr=12957i,dentry-age-limit=45i 1490982022000000000
|
|
|
|
|
```
|
2022-04-08 06:01:21 +08:00
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
2022-05-24 21:49:47 +08:00
|
|
|
```toml @sample.conf
|
2022-04-08 06:01:21 +08:00
|
|
|
# Provides Linux sysctl fs metrics
|
|
|
|
|
[[inputs.linux_sysctl_fs]]
|
|
|
|
|
# no configuration
|
|
|
|
|
```
|