stable place
This commit is contained in:
1 parent
f1613955f7
commit
5632f1fbe5
10 files changed
+214
-153
No files matched your search
@@ -0,0 +1,14 @@
|
||||
def rocm-monitor [
|
||||
cacheFile: string = "/tmp/rocm-monitor.jsonl",
|
||||
timeout: duration = 1sec
|
||||
] {
|
||||
if ($cacheFile | path exists) {
|
||||
rm $cacheFile
|
||||
}
|
||||
loop {
|
||||
clear
|
||||
rocm-smi --showmemuse --showuse --json | save --append $cacheFile
|
||||
tail -n1 $cacheFile | from json --objects | flatten | print
|
||||
sleep $timeout
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
/nix/store/rkwj8mcdsv8gsmw2nlr52cfh3gkb5179-home-manager-files/.config/hypr/hyprland.conf
|
||||
Reference in new issue
Block a user