Fix all imports

This commit is contained in:
Evan Phoenix 2015-04-07 09:39:23 -07:00
parent e494014c5d
commit 2820c0391e
26 changed files with 36 additions and 36 deletions

View File

@ -8,7 +8,7 @@ import (
"strconv"
"strings"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
// sys/resource.h

View File

@ -8,7 +8,7 @@ import (
"strconv"
"strings"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
func CPUTimes(percpu bool) ([]CPUTimesStat, error) {

View File

@ -8,7 +8,7 @@ import (
"time"
"unsafe"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
// TODO: Get percpu

View File

@ -9,7 +9,7 @@ import (
"syscall"
"unsafe"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
const (

View File

@ -8,7 +8,7 @@ import (
"strconv"
"strings"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
const (

View File

@ -9,7 +9,7 @@ import (
"time"
"unsafe"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
var (

View File

@ -13,7 +13,7 @@ import (
"strings"
"unsafe"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
func HostInfo() (*HostInfoStat, error) {

View File

@ -13,7 +13,7 @@ import (
"strings"
"unsafe"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
const (

View File

@ -14,7 +14,7 @@ import (
"syscall"
"unsafe"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
type LSB struct {

View File

@ -8,8 +8,8 @@ import (
"strings"
"time"
common "github.com/shirou/gopsutil/common"
process "github.com/shirou/gopsutil/process"
common "github.com/influxdb/tivan/plugins/system/ps/common"
process "github.com/influxdb/tivan/plugins/system/ps/process"
)
var (

View File

@ -5,7 +5,7 @@ package load
import (
"strconv"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
func LoadAvg() (*LoadAvgStat, error) {

View File

@ -5,7 +5,7 @@ package load
import (
"strconv"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
func LoadAvg() (*LoadAvgStat, error) {

View File

@ -3,7 +3,7 @@
package load
import (
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
func LoadAvg() (*LoadAvgStat, error) {

View File

@ -7,7 +7,7 @@ import (
"strconv"
"strings"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
func getPageSize() (uint64, error) {

View File

@ -7,7 +7,7 @@ import (
"strconv"
"strings"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
func VirtualMemory() (*VirtualMemoryStat, error) {

View File

@ -7,7 +7,7 @@ import (
"strings"
"syscall"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
func VirtualMemory() (*VirtualMemoryStat, error) {

View File

@ -6,7 +6,7 @@ import (
"syscall"
"unsafe"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
var (

View File

@ -7,7 +7,7 @@ import (
"strconv"
"strings"
"github.com/shirou/gopsutil/common"
"github.com/influxdb/tivan/plugins/system/ps/common"
)
func NetIOCounters(pernic bool) ([]NetIOCountersStat, error) {

View File

@ -7,7 +7,7 @@ import (
"strconv"
"strings"
"github.com/shirou/gopsutil/common"
"github.com/influxdb/tivan/plugins/system/ps/common"
)
func NetIOCounters(pernic bool) ([]NetIOCountersStat, error) {

View File

@ -8,7 +8,7 @@ import (
"syscall"
"unsafe"
common "github.com/shirou/gopsutil/common"
common "github.com/influxdb/tivan/plugins/system/ps/common"
)
var (

View File

@ -5,7 +5,7 @@ import (
"runtime"
"time"
cpu "github.com/shirou/gopsutil/cpu"
cpu "github.com/influxdb/tivan/plugins/system/ps/cpu"
)
type Process struct {

View File

@ -10,9 +10,9 @@ import (
"syscall"
"unsafe"
common "github.com/shirou/gopsutil/common"
cpu "github.com/shirou/gopsutil/cpu"
net "github.com/shirou/gopsutil/net"
common "github.com/influxdb/tivan/plugins/system/ps/common"
cpu "github.com/influxdb/tivan/plugins/system/ps/cpu"
net "github.com/influxdb/tivan/plugins/system/ps/net"
)
// copied from sys/sysctl.h

View File

@ -7,9 +7,9 @@ import (
"encoding/binary"
"unsafe"
common "github.com/shirou/gopsutil/common"
cpu "github.com/shirou/gopsutil/cpu"
net "github.com/shirou/gopsutil/net"
common "github.com/influxdb/tivan/plugins/system/ps/common"
cpu "github.com/influxdb/tivan/plugins/system/ps/cpu"
net "github.com/influxdb/tivan/plugins/system/ps/net"
)
// MemoryInfoExStat is different between OSes

View File

@ -11,10 +11,10 @@ import (
"strings"
"syscall"
common "github.com/shirou/gopsutil/common"
cpu "github.com/shirou/gopsutil/cpu"
host "github.com/shirou/gopsutil/host"
net "github.com/shirou/gopsutil/net"
common "github.com/influxdb/tivan/plugins/system/ps/common"
cpu "github.com/influxdb/tivan/plugins/system/ps/cpu"
host "github.com/influxdb/tivan/plugins/system/ps/host"
net "github.com/influxdb/tivan/plugins/system/ps/net"
)
const (

View File

@ -7,7 +7,7 @@ import (
"testing"
"time"
"github.com/shirou/gopsutil/common"
"github.com/influxdb/tivan/plugins/system/ps/common"
)
func testGetProcess() Process {

View File

@ -11,9 +11,9 @@ import (
"github.com/shirou/w32"
common "github.com/shirou/gopsutil/common"
cpu "github.com/shirou/gopsutil/cpu"
net "github.com/shirou/gopsutil/net"
common "github.com/influxdb/tivan/plugins/system/ps/common"
cpu "github.com/influxdb/tivan/plugins/system/ps/cpu"
net "github.com/influxdb/tivan/plugins/system/ps/net"
)
const (