diff --git a/cpu/cpu_darwin_nocgo.go b/cpu/cpu_darwin_nocgo.go index 0b7d1f99..1f2bfd20 100644 --- a/cpu/cpu_darwin_nocgo.go +++ b/cpu/cpu_darwin_nocgo.go @@ -3,7 +3,7 @@ package cpu -import "github.com/shirou/gopsutil/internal/common" +import "github.com/yhat/gopsutil/internal/common" func perCPUTimes() ([]CPUTimesStat, error) { return []CPUTimesStat{}, common.NotImplementedError diff --git a/cpu/cpu_freebsd.go b/cpu/cpu_freebsd.go index 5df67b3d..c03b87fc 100644 --- a/cpu/cpu_freebsd.go +++ b/cpu/cpu_freebsd.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) // sys/resource.h diff --git a/cpu/cpu_linux.go b/cpu/cpu_linux.go index 8dbbd853..5c56f991 100644 --- a/cpu/cpu_linux.go +++ b/cpu/cpu_linux.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) var cpu_tick = float64(100) diff --git a/cpu/cpu_windows.go b/cpu/cpu_windows.go index 408d6a68..29a35a98 100644 --- a/cpu/cpu_windows.go +++ b/cpu/cpu_windows.go @@ -10,7 +10,7 @@ import ( "github.com/StackExchange/wmi" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) type Win32_Processor struct { diff --git a/disk/disk_darwin.go b/disk/disk_darwin.go index fbf97c61..e51ac56a 100644 --- a/disk/disk_darwin.go +++ b/disk/disk_darwin.go @@ -6,7 +6,7 @@ import ( "syscall" "unsafe" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) func DiskPartitions(all bool) ([]DiskPartitionStat, error) { diff --git a/disk/disk_freebsd.go b/disk/disk_freebsd.go index 7e32c4b6..883e9214 100644 --- a/disk/disk_freebsd.go +++ b/disk/disk_freebsd.go @@ -9,7 +9,7 @@ import ( "syscall" "unsafe" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) const ( diff --git a/disk/disk_linux.go b/disk/disk_linux.go index caa1e17f..a104ffe9 100644 --- a/disk/disk_linux.go +++ b/disk/disk_linux.go @@ -9,7 +9,7 @@ import ( "strings" "syscall" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) const ( diff --git a/disk/disk_windows.go b/disk/disk_windows.go index 5ebe2dbc..384d60bc 100644 --- a/disk/disk_windows.go +++ b/disk/disk_windows.go @@ -9,7 +9,7 @@ import ( "github.com/StackExchange/wmi" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) var ( diff --git a/docker/docker_linux.go b/docker/docker_linux.go index 1b6ac9a7..308761a0 100644 --- a/docker/docker_linux.go +++ b/docker/docker_linux.go @@ -11,8 +11,8 @@ import ( "strconv" "strings" - cpu "github.com/shirou/gopsutil/cpu" - "github.com/shirou/gopsutil/internal/common" + cpu "github.com/yhat/gopsutil/cpu" + "github.com/yhat/gopsutil/internal/common" ) // GetDockerIDList returnes a list of DockerID. diff --git a/docker/docker_notlinux.go b/docker/docker_notlinux.go index b45f96c8..88ab9286 100644 --- a/docker/docker_notlinux.go +++ b/docker/docker_notlinux.go @@ -5,8 +5,8 @@ package docker import ( "encoding/json" - "github.com/shirou/gopsutil/cpu" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/cpu" + "github.com/yhat/gopsutil/internal/common" ) // GetDockerIDList returnes a list of DockerID. diff --git a/host/host_darwin.go b/host/host_darwin.go index 069c6fa3..3fb9a3a0 100644 --- a/host/host_darwin.go +++ b/host/host_darwin.go @@ -14,7 +14,7 @@ import ( "time" "unsafe" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) func HostInfo() (*HostInfoStat, error) { diff --git a/host/host_freebsd.go b/host/host_freebsd.go index 4a151fd8..0e7d4136 100644 --- a/host/host_freebsd.go +++ b/host/host_freebsd.go @@ -14,7 +14,7 @@ import ( "time" "unsafe" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) const ( diff --git a/host/host_linux.go b/host/host_linux.go index 91b15307..ff669c23 100644 --- a/host/host_linux.go +++ b/host/host_linux.go @@ -16,7 +16,7 @@ import ( "time" "unsafe" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) type LSB struct { diff --git a/host/host_windows.go b/host/host_windows.go index 13890bf2..de8f98fd 100644 --- a/host/host_windows.go +++ b/host/host_windows.go @@ -11,8 +11,8 @@ import ( "github.com/StackExchange/wmi" - "github.com/shirou/gopsutil/internal/common" - process "github.com/shirou/gopsutil/process" + "github.com/yhat/gopsutil/internal/common" + process "github.com/yhat/gopsutil/process" ) var ( diff --git a/load/load_darwin.go b/load/load_darwin.go index 0d1c7ecc..8c86067a 100644 --- a/load/load_darwin.go +++ b/load/load_darwin.go @@ -5,7 +5,7 @@ package load import ( "strconv" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) func LoadAvg() (*LoadAvgStat, error) { diff --git a/load/load_freebsd.go b/load/load_freebsd.go index e97c5698..4cedfb3e 100644 --- a/load/load_freebsd.go +++ b/load/load_freebsd.go @@ -5,7 +5,7 @@ package load import ( "strconv" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) func LoadAvg() (*LoadAvgStat, error) { diff --git a/load/load_linux.go b/load/load_linux.go index 80621c96..fd06370a 100644 --- a/load/load_linux.go +++ b/load/load_linux.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) func LoadAvg() (*LoadAvgStat, error) { diff --git a/load/load_windows.go b/load/load_windows.go index 65a6ba73..6482ea39 100644 --- a/load/load_windows.go +++ b/load/load_windows.go @@ -3,7 +3,7 @@ package load import ( - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) func LoadAvg() (*LoadAvgStat, error) { diff --git a/mem/mem_darwin.go b/mem/mem_darwin.go index ba4dbd82..69711712 100644 --- a/mem/mem_darwin.go +++ b/mem/mem_darwin.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) func getPageSize() (uint64, error) { diff --git a/mem/mem_freebsd.go b/mem/mem_freebsd.go index 0cb33abc..f9a38db0 100644 --- a/mem/mem_freebsd.go +++ b/mem/mem_freebsd.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" "errors" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) func VirtualMemory() (*VirtualMemoryStat, error) { diff --git a/mem/mem_linux.go b/mem/mem_linux.go index fc922621..91155238 100644 --- a/mem/mem_linux.go +++ b/mem/mem_linux.go @@ -7,7 +7,7 @@ import ( "strings" "syscall" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) func VirtualMemory() (*VirtualMemoryStat, error) { diff --git a/mem/mem_windows.go b/mem/mem_windows.go index 2696da58..ee87a1da 100644 --- a/mem/mem_windows.go +++ b/mem/mem_windows.go @@ -6,7 +6,7 @@ import ( "syscall" "unsafe" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) var ( diff --git a/net/net.go b/net/net.go index 61f9abf0..cbe6ff5e 100644 --- a/net/net.go +++ b/net/net.go @@ -8,7 +8,7 @@ import ( "strings" "syscall" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) var invoke common.Invoker diff --git a/net/net_darwin.go b/net/net_darwin.go index 7786f7c4..8ad13b7b 100644 --- a/net/net_darwin.go +++ b/net/net_darwin.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) // example of netstat -idbn output on yosemite diff --git a/net/net_freebsd.go b/net/net_freebsd.go index d6882f15..e51b86d4 100644 --- a/net/net_freebsd.go +++ b/net/net_freebsd.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) func NetIOCounters(pernic bool) ([]NetIOCountersStat, error) { diff --git a/net/net_linux.go b/net/net_linux.go index a091ee5c..7db65830 100644 --- a/net/net_linux.go +++ b/net/net_linux.go @@ -7,7 +7,7 @@ import ( "strconv" "strings" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) // NetIOCounters returnes network I/O statistics for every network diff --git a/net/net_unix.go b/net/net_unix.go index fe2f1eb4..e3f1d9aa 100644 --- a/net/net_unix.go +++ b/net/net_unix.go @@ -5,7 +5,7 @@ package net import ( "strings" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) // Return a list of network connections opened. diff --git a/net/net_windows.go b/net/net_windows.go index 33aceb65..d2eda67c 100644 --- a/net/net_windows.go +++ b/net/net_windows.go @@ -9,7 +9,7 @@ import ( "syscall" "unsafe" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) var ( diff --git a/process/process.go b/process/process.go index 0526f78a..7dd07970 100644 --- a/process/process.go +++ b/process/process.go @@ -5,8 +5,8 @@ import ( "runtime" "time" - "github.com/shirou/gopsutil/cpu" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/cpu" + "github.com/yhat/gopsutil/internal/common" ) var invoke common.Invoker diff --git a/process/process_darwin.go b/process/process_darwin.go index 01cb66cc..4a7a389c 100644 --- a/process/process_darwin.go +++ b/process/process_darwin.go @@ -10,9 +10,9 @@ import ( "syscall" "unsafe" - "github.com/shirou/gopsutil/cpu" - "github.com/shirou/gopsutil/internal/common" - "github.com/shirou/gopsutil/net" + "github.com/yhat/gopsutil/cpu" + "github.com/yhat/gopsutil/internal/common" + "github.com/yhat/gopsutil/net" ) // copied from sys/sysctl.h diff --git a/process/process_freebsd.go b/process/process_freebsd.go index ecd89204..d91b0abb 100644 --- a/process/process_freebsd.go +++ b/process/process_freebsd.go @@ -9,9 +9,9 @@ import ( "strings" "syscall" - cpu "github.com/shirou/gopsutil/cpu" - "github.com/shirou/gopsutil/internal/common" - net "github.com/shirou/gopsutil/net" + cpu "github.com/yhat/gopsutil/cpu" + "github.com/yhat/gopsutil/internal/common" + net "github.com/yhat/gopsutil/net" ) // MemoryInfoExStat is different between OSes diff --git a/process/process_linux.go b/process/process_linux.go index f54af9f3..6c2d882c 100644 --- a/process/process_linux.go +++ b/process/process_linux.go @@ -12,10 +12,10 @@ import ( "strings" "syscall" - "github.com/shirou/gopsutil/cpu" - "github.com/shirou/gopsutil/host" - "github.com/shirou/gopsutil/internal/common" - "github.com/shirou/gopsutil/net" + "github.com/yhat/gopsutil/cpu" + "github.com/yhat/gopsutil/host" + "github.com/yhat/gopsutil/internal/common" + "github.com/yhat/gopsutil/net" ) const ( diff --git a/process/process_test.go b/process/process_test.go index 153302e7..e7e2e159 100644 --- a/process/process_test.go +++ b/process/process_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/shirou/gopsutil/internal/common" + "github.com/yhat/gopsutil/internal/common" ) var mu sync.Mutex diff --git a/process/process_windows.go b/process/process_windows.go index d7a4b1cb..32ede90b 100644 --- a/process/process_windows.go +++ b/process/process_windows.go @@ -10,11 +10,11 @@ import ( "unsafe" "github.com/StackExchange/wmi" - "github.com/shirou/w32" + "github.com/yhat/w32" - "github.com/shirou/gopsutil/internal/common" - cpu "github.com/shirou/gopsutil/cpu" - net "github.com/shirou/gopsutil/net" + "github.com/yhat/gopsutil/internal/common" + cpu "github.com/yhat/gopsutil/cpu" + net "github.com/yhat/gopsutil/net" ) const (