File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
- postgres-version = " 15.1.0.115-envoy-rc8 "
1
+ postgres-version = " 15.1.0.115-envoy-rc9 "
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ chmod 600 /etc/ssh/revoked_keys
64
64
/usr/sbin/service sysstat start >> ~ /varlog3rc8.log
65
65
/usr/bin/sar -A >> ~ /varlog3rc8.log
66
66
ls -alh /var/log/ >> ~ /varlog3rc8.log
67
+ /usr/bin/sar -A >> ~ /varlog3rc8.log
67
68
# Securely erase the unused portion of the filesystem
68
69
GREEN=' \033[0;32m'
69
70
NC=' \033[0m'
Original file line number Diff line number Diff line change 2
2
# Erasing all logs
3
3
#
4
4
echo " Clearing all log files"
5
- rm -rf /var/log/*
5
+ rm -rfv /var/log/*
6
6
7
7
# creating system stats directory
8
8
/usr/sbin/service sysstat stop >> ~ /varlog2rc8.log
Original file line number Diff line number Diff line change 7
7
VERSION=" v. 1.6"
8
8
RUNDATE=$( date )
9
9
10
+ echo " this script ran" >> /opt/script.log
11
+ ls -alh /var/log/ >> /opt/varlog2.log
12
+
10
13
# Script should be run with SUDO
11
14
if [ " $EUID " -ne 0 ]
12
15
then echo " [Error] - This script must be run with sudo or as the root user."
@@ -652,7 +655,7 @@ checkRoot
652
655
checkAgent
653
656
654
657
checkMongoDB
655
- ls -alh /var/log/ >> ~ /varlog2.log
658
+
656
659
657
660
# Summary
658
661
echo -en " \n\n---------------------------------------------------------------------------------------------------\n"
You can’t perform that action at this time.
0 commit comments