Comments (3)
Tresholding this kind of values is always things where is no correct answers.
For the latter bullet-point, calculation currently calculates exactly average for all the cores in system, like you do describe it there later.
I think instead of representing the number as actual percent-figure we could just show the load-figure, which describes things more accurately as load of 8.00 in an 8 core system would mean that demand fromCPU's are exactly 1 for each core. Load can be higher than amount of cores, it just means that demand is higher than there is capable processing power.
The graph-bar itself could still stay exactly the same, it would show roughly in percentage that what average use there is from all the cores.. So we would get best of both worlds: bar-graph showing quickly the average load on whole system and then numbers would tell the actual load... maybe combine the number with available cores (we already get that info on the code) and show it like "0.13 / 8".
Other than that it is matter of personal preferences.. for some, load of under maximum is failure (say mining).. And after all load is still an number, users needs gives it an meaning.
from synth-shell.
I liek your suggestion. We show the bar as as a percentage indicator of system load, but do not show a % next to it, rather a system load in the shape 1.3 / 8. Which is also aesthetically more in line with the RAM, SWAP, etc...
from synth-shell.
Now the CPU load monitor is configurable. However, the average is still for the last 60 seconds, instead the last 5-10 seconds. I don't know how to configure this, but I think its not as critical as displaying the value properly. Will be addressed when new branch features/cleanup_startup
gets merged.
from synth-shell.
Related Issues (20)
- Synth-shell on Windows WSL HOT 2
- better-ls not listing subdirectory HOT 2
- How to limit the python environment length in the prompt?
- Prompt shows ".." instead of "~" for config dir HOT 1
- Glitched looking name system and directory blocks HOT 3
- prompt looks weird. HOT 5
- The cd command lists wrong information HOT 3
- uE0B0 Triangle Separator Char Border Bug HOT 2
- Unable to install. bash-tools: No such file or directory HOT 2
- Terminal no longer starts up in home directory HOT 2
- Additional built-in visual themes HOT 2
- bug in alias.sh and bashhrc HOT 2
- Greeter bug
- custom prompt only for root kali HOT 3
- Unwated 1px Line around WorkingDir HOT 2
- . HOT 1
- SYSTEMCTL FAILED SERVICES:
- Greeter, 'bc' not found. HOT 2
- the theme does not apply when Im in root HOT 2
- Separator between user/host/dir is a straight line instead of an angle HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synth-shell.