Software Distributor Administration Guide (March 2009)

Table Of Contents
swacl -l global_product_template @ gemini
7.6.2.2 swask
To run all request scripts from depot /var/spool/sw on the remote system swposix
and write a response file back to the same depot:
swask -s swposix:/var/spool/sw \*
7.6.2.3 swconfig
To configure the C and Pascal products on three remote hosts:
swconfig cc pascal @ hostA hostB hostC
7.6.2.4 swcopy
To copy the C and Pascal products to one local and two remote depots:
# swcopy -s sw_server cc pascal @ /var/spool/sw \
hostA:/tmp/sw hostB
7.6.2.5 swinstall
To install the C and Pascal products to three remote hosts:
# swinstall -s sw_server cc pascal @ hostA hostB hostC
7.6.2.6 swjob
The swjob command lets you monitors jobs from the command line. For more
information about jobs, see Chapter 6: “Using Jobs and the Job Browser” (page 135) and
“Monitoring Jobs from the Command Line” (page 145).
To list the agent log of remote system TargetA for job hostA-0001:
# swjob -a log hostA-0001 @ targetA :/
7.6.2.7 swlist
To list the C product on three remote hosts:
# swlist cc @ hostA hostB hostC
7.6.2.8 swreg
To unregister the default depots on three remote hosts:
# swreg -u -l depot /var/spool/sw @ hostA hostB hostC
7.6.2.9 swremove
To remove the C and Pascal products from three remote hosts:
# swremove cc pascal @ hostA hostB hostC
7.6 Remote Operations from the Command Line 169