Root commit.
This commit is contained in:
commit
7183fd6b99
21 changed files with 974 additions and 0 deletions
7
sb-cpu
Executable file
7
sb-cpu
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import psutil
|
||||
|
||||
usage = psutil.cpu_percent(interval=1)
|
||||
|
||||
print(f" {usage}%")
|
Loading…
Add table
Add a link
Reference in a new issue