github.com/mackerelio/mackerel-agent-plugins@v0.89.3/mackerel-plugin-proc-fd/README.md (about)

     1  mackerel-plugin-proc-fd
     2  ===================
     3  
     4  Opening fd custom metrics plugin for mackerel.io agent.  
     5  This plugin monitors `/proc/[pid]/fd/*` to count file descriptors.  
     6  Now this plugin posts only the maximum number of opening fd in matching processes.
     7  
     8  ## Synopsis
     9  
    10  ```shell
    11  mackerel-plugin-proc-fd -process=<process name>
    12  ```
    13  
    14  ## Example of mackerel-agent.conf
    15  
    16  ```
    17  [plugin.metrics.proc-fd]
    18  command = "/path/to/mackerel-plugin-proc-fd -process='keepalived'"
    19  ```
    20