Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
code-webis-cmd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
10
Issues
10
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
code-generic
code-webis-cmd
Commits
11b8d01b
Commit
11b8d01b
authored
Oct 28, 2019
by
Michael Völske
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update betamng-status command
parent
3d2c0876
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
tools/betamng/status_all.sh
tools/betamng/status_all.sh
+13
-2
No files found.
tools/betamng/status_all.sh
View file @
11b8d01b
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
scriptPath
=
${
0
%/*
}
scriptPath
=
${
0
%/*
}
.
"
$scriptPath
"
/../../libs/bashhelper.sh
.
"
$scriptPath
"
/../../libs/bashhelper.sh
check_tools
"ssh"
check_tools
"ssh
pass"
"ssh"
"xargs
"
#
#
# Define usage screen.
# Define usage screen.
...
@@ -26,7 +26,18 @@ Usage:
...
@@ -26,7 +26,18 @@ Usage:
#
#
#
#
main
()
{
main
()
{
"
$scriptPath
/pssh.sh"
"racadm serveraction powerstatus"
read_password
"Enter betamng password:"
SSHPASS
export
SSHPASS
seq
-f
"betamng%03.0f"
1 135
\
| xargs
-n1
-P0
-I
% bash
-c
' \
echo -e % \\t $( \
sshpass -e ssh \
-o StrictHostkeyChecking=no -o UserKnownHostsFile=/dev/null \
webis@%.medien.uni-weimar.de \
racadm serveraction powerstatus 2>/dev/null ) '
\
|
sort
#"$scriptPath/pssh.sh" "racadm serveraction powerstatus"
}
}
#
#
...
...
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