terrible smart driver

This commit is contained in:
alu
2026-08-07 17:02:27 -07:00
parent 5c4d16857b
commit 683091902f
6 changed files with 410 additions and 22 deletions
+3
View File
@@ -2,6 +2,7 @@ package app
import (
"finally-a-monolithic-linux-hw-monitor/app/common"
"finally-a-monolithic-linux-hw-monitor/app/disks"
"finally-a-monolithic-linux-hw-monitor/app/mem"
"finally-a-monolithic-linux-hw-monitor/app/proc"
"fmt"
@@ -28,6 +29,7 @@ func Run() {
term := common.NewTerminal()
proc, _ := proc.GetProc()
mem, _ := mem.GetMem()
disks, _ := disks.GetDisks()
ticker := time.NewTicker(1 * time.Second)
defer ticker.Stop()
@@ -36,6 +38,7 @@ func Run() {
proc.Render(term)
mem.Render(term)
disks.Render(term)
term.End()