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

option to enable logging of data to a file or a socket (e.g. --data_log_location log.csv/.sqlite) #1586

Open
1 task done
wis opened this issue Sep 7, 2024 · 0 comments
Open
1 task done
Labels
feature Requests for a new feature.

Comments

@wis
Copy link

wis commented Sep 7, 2024

Checklist

Describe the feature request

It would be nice to have a feature where the updates to the table are logged to disk, I would like to analyze the data to draw conclusions from the data over a longer time frame, like how does e.g. Chromium's memory usage balloon up with time as I use it, or which long running process used the most CPU resources today?

Instead of writing to a file, It would also be useful if bottom outputs the data to a socket, and not necessarily in CSV format, over a socket updates in e.g. JSON would work too.

On my system, bottom running in the background all the time takes between 0.1% to 0.4% of the CPU resources, it would be nice if you could pay this cost once, for one instance of bottom, and not need to have a second program also running and constantly querying the running processes just for logging.

@wis wis added the feature Requests for a new feature. label Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Requests for a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant