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

Don’t let user pay for what they don’t need #13

Open
cch123 opened this issue Nov 2, 2020 · 1 comment
Open

Don’t let user pay for what they don’t need #13

cch123 opened this issue Nov 2, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@cch123
Copy link
Collaborator

cch123 commented Nov 2, 2020

Split the stats collect function, if only memory dump is enabled, don’t collect stats other than rss

@cch123 cch123 added the enhancement New feature or request label Nov 2, 2020
@mark-kubacki
Copy link

mark-kubacki commented Jan 8, 2021

On Linux, RSS is the 24th column in /proc/$$/stat (/proc/self/stat)—if you want to drop gopsutil.

Edit: https://man7.org/linux/man-pages/man5/procfs.5.html#DESCRIPTION:~:text=Resident%20Set%20Size%3A

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

No branches or pull requests

2 participants