locksne

command
v0.0.55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

README

smbne

Go program that exports sytems locks data to prometheus node exporter.

The following metrics are dumped:

  • locksne_last_run_timestamp_seconds <epoch> (gauge)
  • locksne_run_duration_seconds <duration> (gauge)
  • locksne_lock_count_total{share="<export/share>",type="<type">} <num> (gauge)
    COMMAND             PID  TYPE  SIZE MODE  M      START        END PATH
    atd                2338 POSIX       WRITE 0          0          0 /run...
    containerd         2536 FLOCK       WRITE 0          0          0 /var/lib...
    dockerd            4031 FLOCK       WRITE 0          0          0 /var/lib/docker...
    dockerd            4031 FLOCK       WRITE 0          0          0 /var/lib/docker...
    
    We parse the json output of lslocks. Only nfsd and smbd commands are exported.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL