summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (europa) <paul@buetow.org>2015-05-31 11:06:43 +0100
committerPaul Buetow (europa) <paul@buetow.org>2015-05-31 11:06:43 +0100
commitde2155df7c09f2f464964c06537e82b39ce5a423 (patch)
tree47592766668d0dfddf138d7a69959d4738d81bc2
parent7915db90f82fa7693de998b5c1dae6e5bc0c253e (diff)
rename to gotop
-rw-r--r--Makefile6
-rw-r--r--README.md4
-rw-r--r--diskstats/diskstats.go2
-rw-r--r--gotop/main.go (renamed from gstat/main.go)10
-rw-r--r--process/process.go2
5 files changed, 12 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index e6a23bc..218bd53 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
install:
- go install github.com/buetow/gstat/gstat
+ go install github.com/buetow/gotop/gotop
run:
- go run gstat/main.go
+ go run gotop/main.go
docu: install
- sh -c '($(GOPATH)/bin/gstat -h 2>&1)|sed 1d > help.txt;exit 0'
+ sh -c '($(GOPATH)/bin/gotop -h 2>&1)|sed 1d > help.txt;exit 0'
diff --git a/README.md b/README.md
index 3476c0e..dfbd1f6 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-gstat
+gotop
=====
An iotop replacement programmed in Go for Linux
-See http://gstat.buetow.org for more information.
+See http://gotop.buetow.org for more information.
diff --git a/diskstats/diskstats.go b/diskstats/diskstats.go
index 190e56c..7f75f92 100644
--- a/diskstats/diskstats.go
+++ b/diskstats/diskstats.go
@@ -2,7 +2,7 @@ package diskstats
import (
"fmt"
- "github.com/buetow/gstat/utils"
+ "github.com/buetow/gotop/utils"
)
type Diskstats struct {
diff --git a/gstat/main.go b/gotop/main.go
index 27aeee3..5ed6331 100644
--- a/gstat/main.go
+++ b/gotop/main.go
@@ -1,4 +1,4 @@
-// gstat (C) 2015 Paul Buetow (gstat@dev.buetow.org)
+// gotop (C) 2015 Paul Buetow (gotop@dev.buetow.org)
package main
@@ -7,9 +7,9 @@ import (
"errors"
"flag"
"fmt"
- "github.com/buetow/gstat/diskstats"
- "github.com/buetow/gstat/process"
- "github.com/buetow/gstat/utils"
+ "github.com/buetow/gotop/diskstats"
+ "github.com/buetow/gotop/process"
+ "github.com/buetow/gotop/utils"
"golang.org/x/crypto/ssh/terminal"
"log"
"os"
@@ -207,7 +207,7 @@ func parseFlags() {
flag.Parse()
- config.banner = "gstat v0.1 (C) 2015 Paul buetow <http://gstat.buetow.org>"
+ config.banner = "gotop v0.1 (C) 2015 Paul buetow <http://gotop.buetow.org>"
if *helpF {
fmt.Println(config.banner)
diff --git a/process/process.go b/process/process.go
index 53db8b7..a30693d 100644
--- a/process/process.go
+++ b/process/process.go
@@ -2,7 +2,7 @@ package process
import (
"fmt"
- "github.com/buetow/gstat/utils"
+ "github.com/buetow/gotop/utils"
"io/ioutil"
"log"
"regexp"