Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sysop-bioinformatics
management_scripts
Commits
1a9b4ac7
Commit
1a9b4ac7
authored
Oct 16, 2020
by
Haarst, Jan van
Browse files
Update Z00-gstat.sh, do not show craighead
parent
d4534597
Changes
1
Hide whitespace changes
Inline
Side-by-side
profile.d/Z00-gstat.sh
View file @
1a9b4ac7
...
...
@@ -4,7 +4,7 @@
HOST
=
lovelace.bioinformatics.nl
IP
=
$(
dig
$HOST
+short |
tail
-1
)
RESULT
=
$(
timeout
0.5 gstat
-al
--gmond_ip
=
${
IP
}
|
sed
'/localhost/,+1 d'
|
sed
's/OFF//'
)
IGNORE
=
'bunker|lovelace|scratch'
IGNORE
=
'bunker|lovelace|scratch
|craighead
'
# If that is successfull, continue with printing the output
if
[
-z
"
$RESULT
"
]
then
...
...
Write
Preview
Supports
Markdown
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