package vfs
import "github.com/google/cadvisor/fs/vfs"
Index ¶
- func GetVfsStats(path string) (total uint64, free uint64, avail uint64, inodes uint64, inodesFree uint64, err error)
- func NewPlugin() fs.FsPlugin
Functions ¶
func GetVfsStats ¶
func GetVfsStats(path string) (total uint64, free uint64, avail uint64, inodes uint64, inodesFree uint64, err error)
GetVfsStats returns filesystem statistics using the statfs syscall. It has a timeout to prevent hanging on unresponsive filesystems.
func NewPlugin ¶
NewPlugin creates a new VFS filesystem plugin.
Source Files ¶
Directories ¶
| Path | Synopsis |
|---|---|
| fs/vfs/install |
- Version
- v0.55.1 (latest)
- Published
- Dec 19, 2025
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 4 months ago –
Tools for package owners.