Skip to content

Commit

Permalink
add logging for disable OOM
Browse files Browse the repository at this point in the history
  • Loading branch information
dennyzhang committed Oct 9, 2017
1 parent 8c6f642 commit 2aad1c2
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 445 deletions.
4 changes: 3 additions & 1 deletion bash/disable_oom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@
## Sample:
## --
## Created : <2016-06-04>
## Updated: Time-stamp: <2017-09-04 18:54:44>
## Updated: Time-stamp: <2017-10-09 11:55:37>
##-------------------------------------------------------------------
pid_file=${1?}

LOG_FILE="/var/log/disable_oom.log"

function log() {
local msg=$*
date_timestamp=$(date +['%Y-%m-%d %H:%M:%S'])
Expand Down
1 change: 0 additions & 1 deletion python/cleanup_old_files/README.md

This file was deleted.

144 changes: 0 additions & 144 deletions python/cleanup_old_files/cleanup_old_files.py

This file was deleted.

1 change: 0 additions & 1 deletion python/detect_suspicious_process/README.md

This file was deleted.

93 changes: 0 additions & 93 deletions python/detect_suspicious_process/detect_suspicious_process.py

This file was deleted.

25 changes: 0 additions & 25 deletions python/node_usage/README.md

This file was deleted.

Loading

0 comments on commit 2aad1c2

Please sign in to comment.