Comments (1)
It's maybe possible to do something like :
echo $loadval | awk 'l=$1*100 { printf "%d", l}'
Or :
load=$(echo $loadval | awk 'l=$1*100/$__CPUNUM { printf "%d", l}')
from liquidprompt.
Related Issues (20)
- Temperature appears despite LP_ENABLE_TEMP=0 HOT 3
- Display the number of running docker (other?) containers HOT 5
- View the remote as well as the branch when using git HOT 3
- Display configured VCS author HOT 1
- Memory display on Darwin is inaccurate HOT 4
- -bash: 100 * lp_ram_avail_bytes / lp_ram_total_bytes : division by 0 (error token is "lp_ram_total_bytes ") HOT 5
- Z shell: _lp_runtime_format returns stray periods and fractional days, hours, minutes, and seconds HOT 3
- Allow users to specify the number of desired decimal places for the runtime seconds
- Time for a release? HOT 2
- General doc should be updated for v2.2
- Missing LP_ENABLE_* configuration variables HOT 3
- Automate screenshots HOT 10
- theme-preview fails when sourcing preset HOT 2
- Prompt in unprivileged lxc container doesnt show hostname HOT 1
- LP hangs in tmux detection HOT 16
- Sysfs temperature configuration HOT 7
- Time for a new release? HOT 2
- Config options LP_COLOR_OS_* are missing HOT 1
- Update screenshots in the doc HOT 3
- `lp fill` incompatible with ` _lp_analog_time` HOT 5
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 liquidprompt.