Gitiles
Code Review
Sign In
192.168.1.100
/
T108
/
e958203796650e3959a43708d67534bf36f4c83b
/
.
/
external
/
subpack
/
utils
/
prometheus-node-exporter-ucode
/
files
/
base
/
filefd.uc
blob: 359cffd4ebc059059cea5363c7a30f1531a5ea2f [
file
] [
log
] [
blame
]
const
x
=
wsplit
(
oneline
(
"/proc/sys/fs/file-nr"
));
if
(
length
(
x
)
<
3
)
return
false
;
gauge
(
"node_filefd_allocated"
)(
null
,
x
[
0
]);
gauge
(
"node_filefd_maximum"
)(
null
,
x
[
2
]);