ScoopServer
The SCOOP cluster resource server,
ScoopServer
(8), periodically collects host resource
information for one or more clusters.
Following are examples of the options that can be used on the command line:
# export PATH=$PATH:/opt/score/sbin
# export SCBDSERV=server
# ScoopServer -g pcc
This will execute ScoopServer
and collect information from the
group of hosts given by the pcc
group known
by the scoreboard
running on host
server
.
# ScoopServer -g pcc,htc
This will execute ScoopServer
and collect information from two
groups of hosts given by the pcc
and
htc
groups. When Scoop
is used to
display the clusters, one block matrix will be used to show all compute
hosts in the clusters.
# ScoopServer -g pcc -M -L
The -M
option specifies that the
Compute Host Lock Server
(msgbserv
(8))
will not be locked by ScoopServer
. If this option is not used,
then ScoopServer
locks the Compute Host Lock Server during its
periodic collection of data, and when the ping
command is
executed. The -L
option specifies that
one-minute load average data will be collected from the compute host
agents.
The interval for host activity updates defaults to 60 seconds. This can be
changed with the following option:
# ScoopServer -g pcc -ui 120
This specifies an interval of 120 seconds between host activity updates.
ScoopServer
also has an interactive mode, in which you can login
to the server and execute commands from a prompt. The default port number is
4010. Here is an example:
# telnet localhost 4010
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
>help
Commands are:");
version print version number
list print hostname of registered hosts
status print system status of registered hosts
info print resource information of all hosts
info <host> print resource information of specific host
info <option> print resource information by specific data
info -help print help for info subcommand
quit exit this session
>status
pdspcc300.pccluster.org UP#0.00
pdspcc301.pccluster.org UP#0.00
pdspcc302.pccluster.org UP#0.00
pdspcc303.pccluster.org UP#0.00
...output skipped for brevity...
pdsac60e.pccluster.org UP#0.55
pdsac60f.pccluster.org UP#0.00
>info -help
Info Syntax is:
info <hostnames> <options>
multiple hostnames & options can be separated with spaces.
Info Options are:
-all print resource information on all hosts
-down print hostname which seems to be down?!
-arch print machine specific information
-os print operating system information
-nusers print number of users
-nprocs print number of processes
-boot print boot-up date & time
-uptime print host running time
-loadavg print load averages on 1min, 5min & 15min
-cpu print CPU time usages for user, system & idle
-mem print memory statistics for total, used & free
-swp print swap statistics for total, used & free
-fs <name> print filesystem statistics for total, used & free
multiple filesystem names can be separated with spaces.
>info pdsac60f -arch -os -mem
pdsac60f.pccluster.org HOST S pdsac60f.pccluster.org
pdsac60f.pccluster.org ARCH S alpha
pdsac60f.pccluster.org NCPUS I 1
pdsac60f.pccluster.org OS S Linux
pdsac60f.pccluster.org VERSION S 2.2.12pre12
pdsac60f.pccluster.org MEMTOTL I 502352
pdsac60f.pccluster.org MEMUSED I 45736
pdsac60f.pccluster.org MEMFREE I 456616
>info -nprocs
pdspcc300.pccluster.org NPROCS I 18
pdspcc301.pccluster.org NPROCS I 18
pdspcc302.pccluster.org NPROCS I 18
...output skipped for brevity...
pdsac60e.pccluster.org NPROCS I 15
pdsac60f.pccluster.org NPROCS I 15
>quit
Bye.......
Connection closed by foreign host.
#
- CREDIT
- This document is a part of the SCore cluster system software
developed at PC Cluster Consortium, Japan.
Copyright (C) 2003 PC Cluster Consortium.