Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HostInfo = make(map[string]Section)
Functions ¶
func ParseSshConfig ¶
Types ¶
type SshFetcher ¶
func NewSshFetcher ¶
func NewSshFetcher(client *ssh.Client) *SshFetcher
func (*SshFetcher) GetAllStats ¶
func (s *SshFetcher) GetAllStats() []error
func (*SshFetcher) ValidateOS ¶
func (s *SshFetcher) ValidateOS()
ValidateOS - rtop only support for Linux system
type Stats ¶
type Stats struct {
Uptime time.Duration
Hostname string
Load1 string
Load5 string
Load10 string
RunningProcs string
TotalProcs string
MemTotal uint64
MemFree uint64
MemBuffers uint64
MemCached uint64
SwapTotal uint64
SwapFree uint64
FSInfos []FSInfo
NetIntf map[string]NetIntfInfo
CPU CPUInfo // or []CPUInfo to get all the cpu-core's stats?
Cgroups []*Cgroup
}
Click to show internal directories.
Click to hide internal directories.