procfilestats

package
v0.0.0-...-3918609 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

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