Documentation ¶
Overview ¶
Package procfilestats provides a way to retrieve process open file stats
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessFileStats ¶
type ProcessFileStats struct { AgentOpenFiles uint64 `json:"agent_open_files"` OsFileLimit uint64 `json:"os_file_limit"` }
ProcessFileStats is used to retrieve stats from gopsutil/v3/process -- these stats are used for troubleshooting purposes
func GetProcessFileStats ¶
func GetProcessFileStats() (*ProcessFileStats, error)
GetProcessFileStats returns the number of file handles the Agent process has open
Click to show internal directories.
Click to hide internal directories.