Documentation ¶
Index ¶
Constants ¶
View Source
const ( RulesFileName = "bk_monitor_rules.json" DevOPSProcessTreeKillKey = "DEVOPS_DONT_KILL_PROCESS_TREE" DefautInterval = 20000 BlockSecondsWhenRecover = 240 MacroKillTree = "${BK_KILL_TREE}" )
Variables ¶
View Source
var ( ErrorRuleSettingNotExisted = fmt.Errorf("not found rules file") ErrFileLock = fmt.Errorf("lock file failed") )
Functions ¶
func KillChildren ¶
KillChildren kill all process children of given process
func KillProcess ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.