Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liyapeng
/
log_collect
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c2a5d2e2
authored
Oct 13, 2023
by
liyapeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ceshi
1 parent
18ebc364
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
adl_log_collect.sh
adl_log_collect.sh
View file @
c2a5d2e
...
...
@@ -3,12 +3,19 @@ export PATH="$PATH:./"
LOG_COLLECT_FILE_URL
=
"https://2019-10-1.oss-cn-huhehaote.aliyuncs.com/script_tools/adl_log_collect.zip"
operation
()
{
if
command
-v unzip &>/dev/null;
then
echo
"unzip 已经安装"
else
echo
"安装 unzip"
sudo apt-get update >>/dev/null
sudo apt-get install -y unzip >>/dev/null
fi
echo
"[2]Unzip Tool..."
unzip -o adl_log_collect.zip >>/dev/null
echo
"[3]Runing Tool..."
cd
adl_log_collect
chmod +x log_collect.sh
./
log_collect.sh
bash
log_collect.sh
cd
..
echo
"[4]Clearing Env..."
rm -rf adl_log_collect.zip
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment