Useful Castor Commands

wassh
Executes commands on multiple hosts. Example:
wassh -l root tpsrv[001-005] 'tpmaint -start'

sms
Used to retrieve or to set the state of a machine. Example:
sms get tpsrv001
or:
sms set maintenance 'hardware tests' tpsrv001
or:
sms clear maintenance 'hardware tests finished' tpsrv001

dstat
Shows the CPU/disk/network usage. Example:
$ dstat
----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system--
usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw 
  3   1  97   0   0   0| 963k 1185k|   0     0 |   0     0 |1922  7793 
  0   0 100   0   0   0|   0  2376k|  13k   10k|   0     0 |1116  4553 
  0   0 100   0   0   0|   0  2048k|  17k  9.8k|   0     0 |1119  4926 
  0   0 100   0   0   0|   0  2488k|  27k   22k|   0     0 |1350  5395 
  0   0 100   0   0   0|   0  2048k|7558B 4463B|   0     0 |1068  5181 

nmon

htop

iperf

-- DanieleFrancescoKruse - 23-Nov-2011

Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r8 - 2011-12-05 - DanieleFrancescoKruse
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback