|
|
@ -93,11 +93,8 @@ func (p *Process) CmdlineSlice() ([]string, error) {
|
|
|
|
func (p *Process) CmdlineSliceWithContext(ctx context.Context) ([]string, error) {
|
|
|
|
func (p *Process) CmdlineSliceWithContext(ctx context.Context) ([]string, error) {
|
|
|
|
return []string{}, common.ErrNotImplementedError
|
|
|
|
return []string{}, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
}
|
|
|
|
func (p *Process) CreateTime() (int64, error) {
|
|
|
|
|
|
|
|
return p.CreateTimeWithContext(context.Background())
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (p *Process) CreateTimeWithContext(ctx context.Context) (int64, error) {
|
|
|
|
func (p *Process) createTimeWithContext(ctx context.Context) (int64, error) {
|
|
|
|
return 0, common.ErrNotImplementedError
|
|
|
|
return 0, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
}
|
|
|
|
func (p *Process) Cwd() (string, error) {
|
|
|
|
func (p *Process) Cwd() (string, error) {
|
|
|
@ -283,13 +280,7 @@ func (p *Process) NetIOCounters(pernic bool) ([]net.IOCountersStat, error) {
|
|
|
|
func (p *Process) NetIOCountersWithContext(ctx context.Context, pernic bool) ([]net.IOCountersStat, error) {
|
|
|
|
func (p *Process) NetIOCountersWithContext(ctx context.Context, pernic bool) ([]net.IOCountersStat, error) {
|
|
|
|
return []net.IOCountersStat{}, common.ErrNotImplementedError
|
|
|
|
return []net.IOCountersStat{}, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
}
|
|
|
|
func (p *Process) IsRunning() (bool, error) {
|
|
|
|
|
|
|
|
return p.IsRunningWithContext(context.Background())
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func (p *Process) IsRunningWithContext(ctx context.Context) (bool, error) {
|
|
|
|
|
|
|
|
return true, common.ErrNotImplementedError
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
func (p *Process) MemoryMaps(grouped bool) (*[]MemoryMapsStat, error) {
|
|
|
|
func (p *Process) MemoryMaps(grouped bool) (*[]MemoryMapsStat, error) {
|
|
|
|
return p.MemoryMapsWithContext(context.Background(), grouped)
|
|
|
|
return p.MemoryMapsWithContext(context.Background(), grouped)
|
|
|
|
}
|
|
|
|
}
|
|
|
|