hattedsquirrel / ryzen_monitor

Monitor power information of Ryzen processors via the PM table of the SMU
GNU Affero General Public License v3.0
94 stars 16 forks source link

Machine-parsable output #15

Open jbosboom opened 2 years ago

jbosboom commented 2 years ago

For logging purposes, it would be convenient to get output in a machine-parsable format, perhaps newline-delimited JSON.

RosinSmoke commented 1 year ago

Selecting just the needed sections would be nice too. Full output barely fits on a 2k screen with default ubuntu fonts, and sometimes you only need the thermals or only memory speed.

The fact that it loops by default is equally strange, if I want to grep something, I have to hit Ctrl+C to move forward. To monitor something we have "watch" utility, can we at least have a key to disable this?

Copying "inxi" behaviour would be useful for scripting.

hattedsquirrel commented 1 year ago

Feel free to create a pull request. I'm open to include additional functionality and will pull it in once it is there.

jbosboom commented 1 year ago

I am working on this in a branch: https://github.com/jbosboom/ryzen_monitor/tree/machine-readable