Browse Source

Improve UI a little bit

Oz Tiram 5 years ago
parent
commit
60264403fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmd/main.go

+ 1 - 1
cmd/main.go

@@ -43,7 +43,7 @@ func main() {
 
 	for true {
 		cpustat := gupta.NewCPUStat(line, lineNew)
-		fmt.Printf("cpustat %.2f\n", cpustat.CPUUsage())
+		fmt.Printf("CPU usage %.2f%%\n", cpustat.CPUUsage())
 		time.Sleep(time.Duration(freq) * time.Second)
 		line = lineNew
 		lineNew = readProcStatLine()