IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29102


Ignore:
Timestamp:
Sep 1, 2010, 3:33:45 PM (16 years ago)
Author:
Serge CHASTEL
Message:

Prevent top from truncating command line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/who_uses_the_cluster/_who_uses_the_cluster.sh

    r29101 r29102  
    1 #!/bin/bash
     1#!/bin/bash -f
    22
    33#
     
    4545    echo "########### $computer ###########"
    4646    echo "########### $computer ###########" >> $LOGFILE
    47     /usr/bin/ssh $computer 'setenv TERM xterm; top -d 3 -b -n 5 -i -c' >> $LOGFILE 2> /dev/null &
     47#    /usr/bin/ssh $computer 'setenv TERM xterm; top -d 3 -b -n 5 -i -c' >> $LOGFILE 2> /dev/null &
     48    /usr/bin/ssh $computer 'setenv COLUMNS 300; top -d 3 -b -n 5 -i -c' >> $LOGFILE 2> /dev/null &
    4849done
    4950
Note: See TracChangeset for help on using the changeset viewer.