Merge branch 'master' of github.com:shirou/gopsutil

pull/4/head
Shirou WAKAYAMA 11 years ago
commit 4b7a2b298d

@ -11,7 +11,7 @@ import (
)
var (
modiphlpapi = NewLazyDLL("iphlpapi.dll")
modiphlpapi = syscall.NewLazyDLL("iphlpapi.dll")
procGetExtendedTcpTable = modiphlpapi.NewProc("GetExtendedTcpTable")
procGetExtendedUdpTable = modiphlpapi.NewProc("GetExtendedUdpTable")
)
@ -72,7 +72,7 @@ func NetIOCounters(pernic bool) ([]NetIOCountersStat, error) {
func NetConnections(kind string) ([]NetConnectionStat, error) {
var ret []NetConnectionStat
return ret, erros.New("not implemented yet")
return ret, errors.New("not implemented yet")
}
// borrowed from src/pkg/net/interface_windows.go

@ -164,7 +164,8 @@ func (p *Process) IsRunning() (bool, error) {
}
func (p *Process) MemoryMaps(grouped bool) (*[]MemoryMapsStat, error) {
return nil, errors.New("not implemented yet")
ret := make([]MemoryMapsStat, 0)
return &ret, errors.New("not implemented yet")
}
func NewProcess(pid int32) (*Process, error) {

Loading…
Cancel
Save