ANET(1t,C) AIX Commands Reference ANET(1t,C) ------------------------------------------------------------------------------- anet PURPOSE Runs a command on all sites in the cluster. SYNTAX +--------------------+ anet ---| |--- command ---| +- -p processortype -+ DESCRIPTION The anet command executes command on each site in the cluster, and then waits for each occurrence of command to finish execution. command is run concurrently at all sites. In a heterogeneous environment command will be executed on all sites with an available load module. On each site the command is re-evaluated to select a load module. If command begins with a '/' then a load module will be available if a load module of the appropriate type can be selected by using command as the file name of the load module. If command does not begin with a '/' then the environment is examined for the 'PATH' variable and a shell-like expansion is done on command using the PATH environment variable. If this results in a load module file of the appropriate type for the specified machine, then the command will be run on the selected machine. When the command is executed the alias is set to the local alias of the selected site. Use the -p option to run the command only on sites of the specified processor type. Processor type is one of the following: i386 - selects all AIX PS/2 sites. i370 - selects all AIX/370 sites. xa370 - selects all xa AIX/370 sites. s370 - selects all non-xa370 AIX/370 sites. RELATED INFORMATION See the following commands: "loads," "site, sitechar, sitelocal, sitename, sitenum, ptn," "fast, fastsite," "onsite, on" and "printlocal." See the discussion of site and runvp in the AIX Operating System Technical Reference. Processed November 8, 1990 ANET(1t,C) 1 ANET(1t,C) AIX Commands Reference ANET(1t,C) DIAGNOSTICS The anet command silently ignores sites which are down. The exit status of anet is the number of up sites for which command could not be successfully executed. Processed November 8, 1990 ANET(1t,C) 2