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 for process list acquisition and data dumping #377

Open
BenBE opened this issue Dec 9, 2020 · 1 comment
Open

Option for process list acquisition and data dumping #377

BenBE opened this issue Dec 9, 2020 · 1 comment
Labels
enhancement Extension or improvement to existing feature good first issue 🥇 Good for newcomers needs-discussion 🤔 Changes need to be discussed and require consent

Comments

@BenBE
Copy link
Member

BenBE commented Dec 9, 2020

There should be some option for htop to be run in a "CLI one-shot" mode, that only gathers all data for the process list (and maybe meters?) and dumps them to stdout in a machine-readable format (bonus points, if its also human-readable).

The dump content provided may depend on some flavour given; like basic (only shown columns), full (gather all columns, even ones normally disabled when not shown), extended (like full, but also including internal data like highlighting offsets).

@BenBE BenBE added enhancement Extension or improvement to existing feature needs-discussion 🤔 Changes need to be discussed and require consent labels Dec 9, 2020
@BenBE BenBE added the good first issue 🥇 Good for newcomers label Jan 20, 2021
@daniejstriata
Copy link

daniejstriata commented Feb 13, 2021

I logged a similar request. I'd like to consolidate all the software I use for monitoring and troubleshooting. It would make a big difference if I can run htop and have it output to file, on each run, so I can pull out what I need. This output would be understood by all the admins and have a familiar look as most of the guys use htop.

Better even if there are filters like htop --manual CPU that would print out just the CPU portion of htop for that moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Extension or improvement to existing feature good first issue 🥇 Good for newcomers needs-discussion 🤔 Changes need to be discussed and require consent
Projects
None yet
Development

No branches or pull requests

2 participants