-
Notifications
You must be signed in to change notification settings - Fork 3
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
Added mem-measurements v1.0.0 #124
base: master
Are you sure you want to change the base?
Conversation
Here the Travis jobs for this PR |
Add info for crontab entry: write stdout/stderr to syslog/messages
#set -x | ||
|
||
# Set the output directory | ||
outputDataDir="/opt/mem-measurements" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tools/mem-measurements/README.md
Outdated
|
||
In this example the script `mem-measurements.sh` will be executed once every hour at minute 20. | ||
|
||
1. Save the script `mem-measurements.sh` in the directory `/opt/mem-measurements/` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tools/mem-measurements/README.md
Outdated
|
||
``` | ||
# crontab -e | ||
20 * * * * /opt/mem-measurements/mem-measurements.sh 2>&1 | logger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same with L42
tools/mem-measurements/README.md
Outdated
20 * * * * /opt/mem-measurements/mem-measurements.sh 2>&1 | logger | ||
``` | ||
|
||
4. The directory `/opt/mem-measurements/data/` will keep one week of data. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same with L42
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@https://github.com/haruki-yamanashi:
I suggest not to write script output to installation directory of monasca-log-agent.
I changed the script so that output directory can be specified as an optional parameter when calling the script.
Readme.md has been adjusted as well.
Pls. check
Extend with description of parameter "output directory"
Signed-off-by: bandorf <[email protected]>
No description provided.