Documentation ¶
Index ¶
Constants ¶
View Source
const ( BusServiceName = "com.deepin.system.Procs" BusPath = "/com/deepin/system/Procs" BusInterface = BusServiceName )
View Source
const (
ProcDir = "/proc"
)
Variables ¶
This section is empty.
Functions ¶
func CreateProcsService ¶
func CreateProcsService() error
Types ¶
type ExitProcEvent ¶
type ExitProcEvent struct { ProcessPid uint32 ProcessTgid uint32 ExitCode uint32 ExitSignal uint32 }
exit proc event
type ForkProcEvent ¶
fork proc event
type ProcEventHeader ¶
ProcEventHeader corresponds to proc_event in cn_proc.h
type ProcManager ¶
type ProcManager struct { // current all proc Procs map[string]ProcMessage // contains filtered or unexported fields }
Manager all procs
func NewProcManager ¶
func NewProcManager(service *dbusutil.Service) *ProcManager
func (*ProcManager) GetInterfaceName ¶
func (p *ProcManager) GetInterfaceName() string
Click to show internal directories.
Click to hide internal directories.