Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify the unit in formatted output #95

Open
rdiez opened this issue Jan 15, 2022 · 0 comments
Open

How to specify the unit in formatted output #95

rdiez opened this issue Jan 15, 2022 · 0 comments

Comments

@rdiez
Copy link

rdiez commented Jan 15, 2022

I want to monitor the upload and download bandwidths, so I am using a command like this:

$ bmon --policy=wlp5s0 --use-si --output format:fmt='$(element:name)\t$(attr:rxrate:bytes)\t$(attr:txrate:bytes)\n'

wlp5s0 0.00 0.00
wlp5s0 53.99 81.99
wlp5s0 363.75 798.25

I do not know what units the values are in. How do I specify the unit anyway? For example, I would like to use kBytes/s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant