Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.

Commit

Permalink
Fix MiB space
Browse files Browse the repository at this point in the history
Signed-off-by: Valentin Pichard <[email protected]>
  • Loading branch information
Valentin Pichard committed Jan 19, 2019
1 parent 2ae7c29 commit 5ae1eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func printApplicationsContext(pst pumaStatus) error {
return err
}

fmt.Printf("* %s ~ PID %d\t\tWorker ID %d\tCPU: %s%%\tMemory: %sMiB\n", bootbtn, key.Pid, key.Index, colorCPU(cpu), colorMemory(mem))
fmt.Printf("* %s ~ PID %d\t\tWorker ID %d\tCPU: %s%%\tMemory: %s MiB\n", bootbtn, key.Pid, key.Index, colorCPU(cpu), colorMemory(mem))
fmt.Printf(" Active threads: %s\tLast checkin: %s\tTotal exec time: %s\n", asciiThreadLoad(key.LastStatus.Running, key.LastStatus.PoolCapacity), timeElapsed(key.LastCheckin), timeElapsed(time.Now().Add(time.Duration(-int64(ttime))*time.Second).Format(time.RFC3339)))
}

Expand Down

0 comments on commit 5ae1eea

Please sign in to comment.