Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
orchard
/
CSCS
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
0cbf5728
authored
Nov 07, 2018
by
jajapi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fixed line 403, fucntion dstat
parent
c42638ff
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
10 deletions
GuestPM/cms_webpm/cms_webpm_check.sh.bak → GuestPM/cms_webpm/1
GuestPM/cms_webpm/cms_webpm_check.sh
GuestPM/cms_webpm/test.sh
GuestPM/cms_webpm/
cms_webpm_check.sh.bak
→
GuestPM/cms_webpm/
1
View file @
0cbf5728
This diff is collapsed.
Click to expand it.
GuestPM/cms_webpm/cms_webpm_check.sh
View file @
0cbf5728
...
...
@@ -41,8 +41,10 @@ function CHECK_PROCESS()
function
RUN_DSTAT
()
{
echo
-e
"
\n
-------------- dstat --------------"
dstat
-lcdngy
1 10
dstat
-nf
1 10
#dstat -lcdngy 1 10
#dstat -nf 1 10
python2 /usr/bin/dstat
-lcdngy
1 10
# YB error로 출력되지 않아 수정
python2 /usr/bin/dstat
-nf
1 10
DRAW_A_LINE
}
...
...
@@ -398,8 +400,7 @@ END
cat
$DEFAULT_UWSGI_LOG
|
grep
--color
=
yes
-E
"1.1 400"
|grep
--color
=
yes
-E
"2018"
|grep
--color
=
yes
"Nov"
echo
-e
"
\n
----------------
\x
1b[34m"
detail log
"
\x
1b[0m------------------------
\n
"
echo
-e
"
\n
Please see
$DEFAULT_UWSGI_LOG
echo
-e
"
\n
Please see
$DEFAULT_UWSGI_LOG
"
echo
-e
"
\n\x
1b[31m"
-------------------------------------------------------------------------------------------
"
\x
1b[0m"
#cat $DEFAULT_UWSGI_LOG | grep -Ev "generated" > $REFINED_UWSGI_LOG # uwsgi.log 파일에서 불필요한 내용을 제외함
...
...
GuestPM/cms_webpm/test.sh
deleted
100755 → 0
View file @
c42638ff
#! /bin/bash
TEST
=
/te1
cat
$TEST
| sed
's/\(up\)/\x1b[31m\1\x1b[0m/'
>
$TEST
cat
$TEST
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment