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 739b9d48
authored
Oct 13, 2023
by
liyapeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ceshi
1 parent
6a9418b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
log_collect.sh
log_collect.sh
View file @
739b9d4
...
...
@@ -22,6 +22,8 @@ space=$(df -hm / | tail -n 1 | awk '{print $(NF-2) }')
echo
-e
"
\0
33[41;33m This script is used as a daily troubleshooting and does not involve collecting relevant privacy data
\0
33[0m"
main
systemlog
()
{
#收集操作系统产生的日志
mkdir -p
${
LOG_FILE_PATH
}
/systemlog
...
...
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