Rebrandoning back.

pull/131/head
Ryan J. O'Neil 10 years ago
parent 2434a327b9
commit 4d7275adf7

@ -3,7 +3,7 @@
package cpu package cpu
import "github.com/yhat/gopsutil/internal/common" import "github.com/shirou/gopsutil/internal/common"
func perCPUTimes() ([]CPUTimesStat, error) { func perCPUTimes() ([]CPUTimesStat, error) {
return []CPUTimesStat{}, common.NotImplementedError return []CPUTimesStat{}, common.NotImplementedError

@ -9,7 +9,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
// sys/resource.h // sys/resource.h

@ -9,7 +9,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
var cpu_tick = float64(100) var cpu_tick = float64(100)

@ -10,7 +10,7 @@ import (
"github.com/StackExchange/wmi" "github.com/StackExchange/wmi"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
type Win32_Processor struct { type Win32_Processor struct {

@ -6,7 +6,7 @@ import (
"syscall" "syscall"
"unsafe" "unsafe"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
func DiskPartitions(all bool) ([]DiskPartitionStat, error) { func DiskPartitions(all bool) ([]DiskPartitionStat, error) {

@ -9,7 +9,7 @@ import (
"syscall" "syscall"
"unsafe" "unsafe"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
const ( const (

@ -9,7 +9,7 @@ import (
"strings" "strings"
"syscall" "syscall"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
const ( const (

@ -9,7 +9,7 @@ import (
"github.com/StackExchange/wmi" "github.com/StackExchange/wmi"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
var ( var (

@ -11,8 +11,8 @@ import (
"strconv" "strconv"
"strings" "strings"
cpu "github.com/yhat/gopsutil/cpu" cpu "github.com/shirou/gopsutil/cpu"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
// GetDockerIDList returnes a list of DockerID. // GetDockerIDList returnes a list of DockerID.

@ -5,8 +5,8 @@ package docker
import ( import (
"encoding/json" "encoding/json"
"github.com/yhat/gopsutil/cpu" "github.com/shirou/gopsutil/cpu"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
// GetDockerIDList returnes a list of DockerID. // GetDockerIDList returnes a list of DockerID.

@ -14,7 +14,7 @@ import (
"time" "time"
"unsafe" "unsafe"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
func HostInfo() (*HostInfoStat, error) { func HostInfo() (*HostInfoStat, error) {

@ -14,7 +14,7 @@ import (
"time" "time"
"unsafe" "unsafe"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
const ( const (

@ -16,7 +16,7 @@ import (
"time" "time"
"unsafe" "unsafe"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
type LSB struct { type LSB struct {

@ -11,8 +11,8 @@ import (
"github.com/StackExchange/wmi" "github.com/StackExchange/wmi"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
process "github.com/yhat/gopsutil/process" process "github.com/shirou/gopsutil/process"
) )
var ( var (

@ -5,7 +5,7 @@ package load
import ( import (
"strconv" "strconv"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
func LoadAvg() (*LoadAvgStat, error) { func LoadAvg() (*LoadAvgStat, error) {

@ -5,7 +5,7 @@ package load
import ( import (
"strconv" "strconv"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
func LoadAvg() (*LoadAvgStat, error) { func LoadAvg() (*LoadAvgStat, error) {

@ -7,7 +7,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
func LoadAvg() (*LoadAvgStat, error) { func LoadAvg() (*LoadAvgStat, error) {

@ -3,7 +3,7 @@
package load package load
import ( import (
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
func LoadAvg() (*LoadAvgStat, error) { func LoadAvg() (*LoadAvgStat, error) {

@ -7,7 +7,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
func getPageSize() (uint64, error) { func getPageSize() (uint64, error) {

@ -7,7 +7,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"errors" "errors"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
func VirtualMemory() (*VirtualMemoryStat, error) { func VirtualMemory() (*VirtualMemoryStat, error) {

@ -7,7 +7,7 @@ import (
"strings" "strings"
"syscall" "syscall"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
func VirtualMemory() (*VirtualMemoryStat, error) { func VirtualMemory() (*VirtualMemoryStat, error) {

@ -6,7 +6,7 @@ import (
"syscall" "syscall"
"unsafe" "unsafe"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
var ( var (

@ -8,7 +8,7 @@ import (
"strings" "strings"
"syscall" "syscall"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
var invoke common.Invoker var invoke common.Invoker

@ -8,7 +8,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
// example of netstat -idbn output on yosemite // example of netstat -idbn output on yosemite

@ -8,7 +8,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
func NetIOCounters(pernic bool) ([]NetIOCountersStat, error) { func NetIOCounters(pernic bool) ([]NetIOCountersStat, error) {

@ -7,7 +7,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
// NetIOCounters returnes network I/O statistics for every network // NetIOCounters returnes network I/O statistics for every network

@ -5,7 +5,7 @@ package net
import ( import (
"strings" "strings"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
// Return a list of network connections opened. // Return a list of network connections opened.

@ -9,7 +9,7 @@ import (
"syscall" "syscall"
"unsafe" "unsafe"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
var ( var (

@ -5,8 +5,8 @@ import (
"runtime" "runtime"
"time" "time"
"github.com/yhat/gopsutil/cpu" "github.com/shirou/gopsutil/cpu"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
var invoke common.Invoker var invoke common.Invoker

@ -10,9 +10,9 @@ import (
"syscall" "syscall"
"unsafe" "unsafe"
"github.com/yhat/gopsutil/cpu" "github.com/shirou/gopsutil/cpu"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
"github.com/yhat/gopsutil/net" "github.com/shirou/gopsutil/net"
) )
// copied from sys/sysctl.h // copied from sys/sysctl.h

@ -9,9 +9,9 @@ import (
"strings" "strings"
"syscall" "syscall"
cpu "github.com/yhat/gopsutil/cpu" cpu "github.com/shirou/gopsutil/cpu"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
net "github.com/yhat/gopsutil/net" net "github.com/shirou/gopsutil/net"
) )
// MemoryInfoExStat is different between OSes // MemoryInfoExStat is different between OSes

@ -12,10 +12,10 @@ import (
"strings" "strings"
"syscall" "syscall"
"github.com/yhat/gopsutil/cpu" "github.com/shirou/gopsutil/cpu"
"github.com/yhat/gopsutil/host" "github.com/shirou/gopsutil/host"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
"github.com/yhat/gopsutil/net" "github.com/shirou/gopsutil/net"
) )
const ( const (

@ -8,7 +8,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
) )
var mu sync.Mutex var mu sync.Mutex

@ -10,11 +10,11 @@ import (
"unsafe" "unsafe"
"github.com/StackExchange/wmi" "github.com/StackExchange/wmi"
"github.com/yhat/w32" "github.com/shirou/w32"
"github.com/yhat/gopsutil/internal/common" "github.com/shirou/gopsutil/internal/common"
cpu "github.com/yhat/gopsutil/cpu" cpu "github.com/shirou/gopsutil/cpu"
net "github.com/yhat/gopsutil/net" net "github.com/shirou/gopsutil/net"
) )
const ( const (

Loading…
Cancel
Save