Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PgBackendKiller ¶
type PgBackendKiller struct {
// contains filtered or unexported fields
}
func ParseBackends ¶
func ParseBackends(pids []int) *PgBackendKiller
func (*PgBackendKiller) GetStats ¶
func (pk *PgBackendKiller) GetStats() []PidStat
func (*PgBackendKiller) IsExceedThreshold ¶
func (pk *PgBackendKiller) IsExceedThreshold(threshold uint64) bool
func (*PgBackendKiller) KillIntTopPid ¶
func (pk *PgBackendKiller) KillIntTopPid() error
func (*PgBackendKiller) KillTermTopPid ¶
func (pk *PgBackendKiller) KillTermTopPid() error
Click to show internal directories.
Click to hide internal directories.