os.freemem() to see how much physical memory is free
os.totalMem() to see the total
calculate cpu usage using os.cpus()
- command-line for polling frequency (default to one second)
- subtract all current values from prior values to get delta-since-last-check
- calculate load by adding all values and dividing that by idle time values
- it might be that we need to use (total - idle/total)
Components to make:
- PercentBar
- PercentValue
- ScrollingGraph
- DateLabel
- TimeLabel
- DateTimeLabel
use electron for UI
Todo:
UI
Data capture
blur on mouse over
save position when moved
restore position on load
replace webcam
Make a UI for configuration