Comments (3)
It could be interesting, design shouldn't be that hard either. Do you happen to know if there's a library way of getting this data?
And yeah, I would be happy to get any PRs.
from bottom.
systemd exposes this information over dbus:
# busctl call --system org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager ListUnitsByPatterns asas 1 "failed" 0
a(ssssssouso) 1 "fwupd-refresh.service" "Refresh fwupd metadata and update motd" "loaded" "failed" "failed" "" "/org/freedesktop/systemd1/unit/fwupd_2drefresh_2eservice" 0 "" "/"
zbus is a good pure Rust library for DBus. It's rather heavy though and brings in a lot of dependencies.
Also, I believe DBus calls aren't that cheap, so perhaps bottom should make these calls asynchronously and at a much lower interval than e.g. reading CPU load. Would this be possible in bottom?
from bottom.
That would definitely be possible to do, though currently we only have one main configurable refresh rate for data, so it might be worth introducing a second one for something like this if we need it.
from bottom.
Related Issues (20)
- [Bug] Keystrokes are doubled HOT 4
- [Bug] Inconsistent Tempertures window. HOT 4
- [deps] Look into migrating to ratatui
- [Feature] Search to select instead of filtering HOT 3
- [Bug] Build ARMv7.arm and ARMv8.arm failing with 0.8.0 HOT 9
- [Windows] Disks widget shows `\\?\Volume{drive ID}` instead of drive names HOT 5
- [Linux] Explore handrolling procfs functionality
- [Feature] change the refresh rate in-app HOT 1
- [Feature] multi select of processes/threads HOT 3
- CPU Use% HOT 1
- Allow for finer control over legend position/type HOT 9
- Show full untruncated process command line HOT 1
- Failed to initialize logger (always creats `debug.log` in cwd) in release target HOT 4
- New release needed on crates.io HOT 3
- incorrect sorting order of cpu core in temperature panel HOT 2
- Add natural sorting option for string entries HOT 3
- Winget package is old (Jan 2023) HOT 3
- Incorrect battery health in MacOS HOT 14
- System-wide configuration file 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 bottom.