distcc_server

package
v1.6.0-RC.11 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatsInfo

type StatsInfo struct {
	TCPAccept           int64   `json:"dcc_tcp_accept"`
	RejBadReq           int64   `json:"dcc_rej_bad_req"`
	RejOverload         int64   `json:"dcc_rej_overload"`
	CompileOK           int64   `json:"dcc_compile_ok"`
	CompileErr          int64   `json:"dcc_compile_error"`
	CompileTimeout      int64   `json:"dcc_compile_timeout"`
	CliDisconnect       int64   `json:"dcc_cli_disconnect"`
	Other               int64   `json:"dcc_other"`
	LongestJob          string  `json:"dcc_longest_job"`
	LongestJobCompiler  string  `json:"dcc_longest_job_compiler"`
	LongestJobTimeMsecs string  `json:"dcc_longest_job_time_msecs"`
	MaxKids             int64   `json:"dcc_max_kids"`
	AvgKids1            float64 `json:"dcc_avg_kids1"`
	AvgKids2            float64 `json:"dcc_avg_kids2"`
	AvgKids3            float64 `json:"dcc_avg_kids3"`
	CurrentLoad         int64   `json:"dcc_current_load"`
	Load1               float64 `json:"dcc_load1"`
	Load2               float64 `json:"dcc_load2"`
	Load3               float64 `json:"dcc_load3"`
	NumCompiles1        int64   `json:"dcc_num_compiles1"`
	NumCompiles2        int64   `json:"dcc_num_compiles2"`
	NumCompiles3        int64   `json:"dcc_num_compiles3"`
	NumProcstateD       int64   `json:"dcc_num_procstate_D"`
	MaxRSS              int64   `json:"dcc_max_RSS"`
	MaxRSSName          string  `json:"dcc_max_RSS_name"`
	IORate              int64   `json:"dcc_io_rate"`
	FreeSpace           string  `json:"dcc_free_space"`
}

func (*StatsInfo) GetCurrentLoad

func (si *StatsInfo) GetCurrentLoad() *StatsLoad

func (*StatsInfo) Parse

func (si *StatsInfo) Parse(line string)

func (*StatsInfo) ParseAll

func (si *StatsInfo) ParseAll(data []byte)

type StatsLoad

type StatsLoad struct {
	*StatsInfo
	RunningJobs int64
}

Jump to

Keyboard shortcuts

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