I'd like to propose a feature that allows users to export metrics to individual files, each with a timestamp preferably.
This would improve the ease of analysis, as users could then easily track changes over time at a later date with any DataAnalysis tools they prefer ,or even provide for a way for the data to be fed back to Bottom to view it in there with its beautiful TUI ? .
With an --export-to-files ? option, each monitored value (e.g., battery, CPU, processes) would be exported to a separate file, labeled with a timestamp.
Having individual files for each metric, along with timestamps, would streamline the analysis process, making it more convenient for users to track system performance changes.
This enhancement would be particularly beneficial for users like me who want to gain deeper insights into battery consumption, CPU usage, and running processes over extended periods.
Example usages:
I have monitored my system for 8-10 hours , and i notice big dips in battery percentage at certain points of those 8-10 hours, i can view process data along side it and tell what could have caused that.
I am on a metered connection, and i notice big spikes in network percentage at certain points of those 8-10 hours, i can view process data along side it and tell what could have caused that.
Originally posted by **LamprosPitsillos** January 14, 2024
Is there a way to have `bottom` export its metrics in a file/log for later checking?
My reason for this is that i would like to have an idea of how my battery is being drained , how fast , which process is running at that point and what not.
I don't know of a better tool than `bottom` for monitoring system , and thank you for that, and i thought if it could output somewhere and i could collect any data i want from the generated dataset!
example:
```console
bottom --monitor "battery,cpu,processes" > monitor-output.'extension'
```
Also very interested in this. jsonl or ndjson could be could options for file formats since they allow for streaming writes pretty easily and can be read by a lot of data analysis tools.
I'd like to propose a feature that allows users to export metrics to individual files, each with a timestamp preferably.
This would improve the ease of analysis, as users could then easily track changes over time at a later date with any DataAnalysis tools they prefer ,or even provide for a way for the data to be fed back to
Bottom
to view it in there with its beautiful TUI ? .With an
--export-to-files ?
option, each monitored value (e.g., battery, CPU, processes) would be exported to a separate file, labeled with a timestamp.Having individual files for each metric, along with timestamps, would streamline the analysis process, making it more convenient for users to track system performance changes. This enhancement would be particularly beneficial for users like me who want to gain deeper insights into battery consumption, CPU usage, and running processes over extended periods.
Example usages:
I have monitored my system for 8-10 hours , and i notice big dips in
battery
percentage at certain points of those 8-10 hours, i can viewprocess
data along side it and tell what could have caused that.I am on a metered connection, and i notice big spikes in
network
percentage at certain points of those 8-10 hours, i can viewprocess
data along side it and tell what could have caused that.Discussed in https://github.com/ClementTsang/bottom/discussions/1384