msgblock

Lock compute hosts. More...

SYNOPSIS

msgblock [OPTIONS] -group HOSTGROUP COMMAND

DESCRIPTION

The msgb program is to display the locking status of compute hosts specified with the HOSTGROUP argument while the execution of the Linux COMMAND. Trying to lock the already locked host(s) results in an error and no COMMAND is executed. When the COMMAND terminates, then the locked hosts will be freed.

If the -n option followed by a natural number N is specified, then the msgblock command try to find the N contiguous hosts in the host set. In this case, if the -s option is also specified, then the resulting host set may be scattered (non-contiguous).

When the -file option followed by a filename is specified, a file having the filename will be created and the locked hostnames are listed in the file, and then the COMMAND is executed. The created file will be removed When the COMMAND terminates. Int his case, when the -core option followed by a natural number is specified, then the filenames in the created file will be suffixed by a colon (:) symbol and the number.

OPTION

-n NHOSTS

Number of hosts to be locked

-wait

When specified, the msgblock periodically tries to lock until it succeeds.

-scatter

When specified, the locked hosts may be non-contiguous region.

-file FILENAME

The locked hosts is output to the specified file.

-core NCORES

With the -file option, the listed hostnames are suffixed by a colon (:) symbol and the specified number.

ENVIRONMENT

SCBDSERV

Scoreboard server

SEE ALSO

scorehosts(1), scorehosts.db(5), scoreboard(8), msgbserv(8).
CREDIT
This document is a part of the SCore cluster system software developed at PC Cluster Consortium, Japan. Copyright (C) 2003-2008 PC Cluster Consortium.