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 support ATOPACCTDIR env variable #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mrqwer88
Copy link

@mrqwer88 mrqwer88 commented Jul 8, 2019

Now we can set custom process accounting directory via env
variable ATOPACCTDIR instead of ACCTDIR constant.

atop.acct file can be really huge if we have many processes per server.

As example on openvz node it could be

-rw------- 1 root root 4.2G Jul  8 17:39 atop.acct

and bigger.
And usual / partition not big, but /vz/ big and it would be great, to have opportunity create it on another partition, without rebuild all atop with changed ACCTDIR to custom.

Now we can set custom process accounting directory via env
variable ATOPACCTDIR instead of ACCTDIR constant.
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

Successfully merging this pull request may close these issues.

1 participant