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
486c64f8
Commit
486c64f8
authored
Aug 17, 2015
by
Haarst, Jan van
Browse files
script to report state of other machines on login
parent
2cf0b064
Changes
1
Hide whitespace changes
Inline
Side-by-side
Z00-gstat.sh
0 → 100755
View file @
486c64f8
#!/bin/bash
# Script to show usage on other machines
echo
echo
"Usage on our other machines:"
echo
"Hostname LOAD CPU"
;
echo
" CPUs (Procs/Total) [ 1, 5, 15min] [ User, Nice, System, Idle, Wio]"
;
#gstat -al | sed 's/OFF//'
gstat
-al
--gmond_ip
=
$(
dig wiki.ab.wurnet.nl +short
)
|
sed
'/localhost/,+1 d'
|
sed
's/OFF//'
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