EnterpriseDB / system_stats

A Postgres extension for exposing system metrics such as CPU, memory and disk information
Other
111 stars 24 forks source link

linux/disk_info.c: filter fs before fetching stats #5

Closed tureba closed 2 years ago

tureba commented 3 years ago

Move the filters over filesystem type and mountpoint upwards, before the statvfs call, otherwise we might get the message:

WARNING: statvfs failed: /sys/kernel/debug/tracing

neel5481 commented 2 years ago

Thank you @tureba