Changeset 454 for trunk/UTIL/farm_tour
- Timestamp:
- Dec 6, 2011, 2:37:06 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/farm_tour
r450 r454 1 1 #! /bin/bash 2 # A. Spiga 3 4 ############## 5 users="jllmd,aslmd,acolmd,tnalmd,mvalmd,forget,rwlmd,emlmd,sdlmd,lklmd,bclmd,sllmd" 6 ############## 2 # A. Spiga & E. Millour 7 3 8 4 \rm ~/log > /dev/null 2> /dev/null ; touch ~/log … … 21 17 machine='levan' 22 18 ##################### 23 ssh $machine -t "ps --sort=-pcpu -e -o '%C %u %c %x %p' - U "$users" -r | grep -v ps>> ~/log1" > /dev/null 2> /dev/null19 ssh $machine -t "ps --sort=-pcpu -e -o '%C %u %c %x %p' -G lmdjus r | grep -v ps | grep -v root >> ~/log1" > /dev/null 2> /dev/null 24 20 echo "*********************************************************" >> ~/log 25 21 echo " $machine ... "`head -n -1 ~/log1 | wc -l`" processeurs utilises sur 8" >> ~/log … … 31 27 machine='penn' 32 28 ##################### 33 ssh $machine -t "ps --sort=-pcpu -e -o '%C %u %c %x %p' - U "$users" -r | grep -v ps>> ~/log2" > /dev/null 2> /dev/null29 ssh $machine -t "ps --sort=-pcpu -e -o '%C %u %c %x %p' -G lmdjus r | grep -v ps | grep -v root >> ~/log2" > /dev/null 2> /dev/null 34 30 echo "*********************************************************" >> ~/log 35 31 echo " $machine ... "`head -n -1 ~/log2 | wc -l`" processeurs utilises sur 8" >> ~/log … … 41 37 machine='viccaro' 42 38 ##################### 43 ssh $machine -t "ps --sort=-pcpu -e -o '%C %u %c %x %p' - U "$users" -r | grep -v ps>> ~/log3" > /dev/null 2> /dev/null39 ssh $machine -t "ps --sort=-pcpu -e -o '%C %u %c %x %p' -G lmdjus r | grep -v ps | grep -v root >> ~/log3" > /dev/null 2> /dev/null 44 40 echo "*********************************************************" >> ~/log 45 41 echo " $machine ... "`head -n -1 ~/log3 | wc -l`" processeurs utilises sur 8" >> ~/log
Note: See TracChangeset
for help on using the changeset viewer.