Rechercher une page de manuel
mput2
Langue: en
Version: 57897 (mandriva - 22/10/07)
Section: 1 (Commandes utilisateur)
Sommaire
BSD mandoc
SYSTEM V
NAME
mput - Fast file spreaderSYNOPSIS
mput [-h ] [-v ] [-P ] [-l username ] [-c connector ] [ -m hostname | -m host=XXX,connect=XXX,login=XXX ] ... [ -m hostname | -m host=XXX,connect=XXX,login=XXX ] -- <file_source> <file_dest>DESCRIPTION
mput copies file_source from the user host to file_dest on hosts specified with -m option. You should give an absolute path for file_destMput connect to every host and launch mput on them. Each host connects to the one before (considering the order given by the user). For example, in mput -m host1 -m host2 -- <file_source> <file_dest> host2 connects to host1 which connects to the user host. When the chain is ready, the file is slipted on the user host and each packet is sent to host1 which sends it to host2 and writes it on disk. Host2 receives all packet and writes them on disk. Mput is synchronized. If one host can't be connected then the spreading is aborted. By default mput uses rsh protocol to join launch mput on hosts. You must be in root group to use mput as it uses reserved ports. Mput normally terminates when the file is copied on all hosts.
The options are as follows:
- -c
- The -c option allow you to choose what kind of connector you want to use to contact an host.
The available values are :rshs synchrone rsh connection
rsha asynchrone rsh connection
rsht asynchrone rsh connection using threads
rsh forking rsh connection
ssh forking ssh connection
ssf forking ssf connection
- -v
- The -v option turns on the verbose mode: write < hostname > [node_id : id] :->: before output buffer.
- -P
- The -P option turns on the profiling mode, actually only the execution time.
- -i
- Let fd opened by application when the exec command is use.
WARNING don't use it if you don't know what you do ;-) - -l
- By default, the remote username is the same as the local username. The -l option allows the remote name to be specified.
- -m
- The -m option specifies one host. This option can be increased with suboptions
host=hostname
connect=connector_name, which connector we must use for this node
login=log_name, login for this node
FILES
- /etc/hosts
SEE ALSO
rshp(1), sentinelle(1), rcmd(3)ID-IMAG & BULL in dyade project
#### Report new bugs to wilfrid.billot@imag.fr ####
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre