mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
give metrics.MemPercent default negative value
This commit is contained in:
@ -19,10 +19,11 @@ type Metrics struct {
|
|||||||
|
|
||||||
func NewMetrics() Metrics {
|
func NewMetrics() Metrics {
|
||||||
return Metrics{
|
return Metrics{
|
||||||
CPUUtil: -1,
|
CPUUtil: -1,
|
||||||
NetTx: -1,
|
NetTx: -1,
|
||||||
NetRx: -1,
|
NetRx: -1,
|
||||||
MemUsage: -1,
|
MemUsage: -1,
|
||||||
|
MemPercent: -1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user