collector

package
v1.0.4-0...-d8282c0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: MulanPSL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

* Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. * PilotGo-plugin-topology licensed under the Mulan Permissive Software License, Version 2. * See LICENSE file for more details. * Author: Wangjunqi123 <wangjunqi@kylinos.cn> * Date: Mon Nov 4 14:30:13 2024 +0800

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PsutilCollector

type PsutilCollector struct {
	Host_1             *global.Host
	Processes_1        []*global.Process
	Netconnections_1   []*global.Netconnection
	NetIOcounters_1    []*global.NetIOcounter
	AddrInterfaceMap_1 map[string][]string
	Disks_1            []*global.Disk
	Cpus_1             []*global.Cpu
}

func CreatePsutilCollector

func CreatePsutilCollector() *PsutilCollector

func (*PsutilCollector) Collect_addrInterfaceMap_data

func (pc *PsutilCollector) Collect_addrInterfaceMap_data() error

func (*PsutilCollector) Collect_cpu_data

func (pc *PsutilCollector) Collect_cpu_data() error

func (*PsutilCollector) Collect_disk_data

func (pc *PsutilCollector) Collect_disk_data() error

func (*PsutilCollector) Collect_host_data

func (pc *PsutilCollector) Collect_host_data() error

func (*PsutilCollector) Collect_interfaces_io_data

func (pc *PsutilCollector) Collect_interfaces_io_data() error

func (*PsutilCollector) Collect_netconnection_all_data

func (pc *PsutilCollector) Collect_netconnection_all_data() error

func (*PsutilCollector) Collect_process_instant_data

func (pc *PsutilCollector) Collect_process_instant_data() error

Jump to

Keyboard shortcuts

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