btop output in json format #1192
matteoguglielmi
started this conversation in
Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use btop as a tool to gather the CPU temperatures of X86, ARM, and RISC-V systems by parsing its non-plain text output via a one-shot systemd service that executes this command:
I use btop because it is a simple tool that works on any system, and I need just that.
Therefore, I'm asking the developer of btop to add two more command-line options to output btop's data in JSON format, e.g.:
btop -J -n2
which would generate two system snapshots in JSON format and then quit the program.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions