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

ADD option to only include RAM used column (omits Private and Shared) #76

Open
allanlaal opened this issue Oct 19, 2022 · 3 comments
Open

Comments

@allanlaal
Copy link

Add a separate command line flag, so the output columns would only be RAM used and Program (and whatever new ones are added)

use case:

I only care about total RAM used per app

@pixelb
Copy link
Owner

pixelb commented Oct 21, 2022

You could take advantage of the alignment to do ps_mem | cut -b25-.
I suppose we could add an option to select columns (which would generalize -S that shows the swap column).
Re alignment we wouldn't be able to rely on alignment if we let users choose a unit (which is probably a good idea (as per issue #39))

@allanlaal
Copy link
Author

@pixelb custom columns would still result in a known and repeatable alignment for those columns, no?

@pixelb
Copy link
Owner

pixelb commented Nov 9, 2022

Right. Alignment issues would only be for configurable units. Columns would not impact that

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

2 participants