Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2561, March 2013)
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 \*
To run all request scripts from depot /mydepot on the remote system with IPv6 address
fe80::21a:4bff:fef3:90e8 and write a response file back to the same depot:
# swask -s fe80::21a:4bff:fef3:90e8:/mydepot \*
Or, mention the IPv6 address optionally within the square brackets as shown below:
# swask -s [fe80::21a:4bff:fef3:90e8]:/mydepot \*
7.6.2.3 swconfig
To configure the C and Pascal products on three remote hosts:
# swconfig cc pascal @ hostA hostB hostC
To configure C on the remote host with the IPv6 address
ffe:ffff:101::230:6eff:fe04:d9ff:
# swconfig cc @ [ffe:ffff:101::230:6eff:fe04:d9ff]
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
To copy C and Pascal products from a remote depot to a local depot with the IPv6 address
2620:0:a07:e020:21a:4bff:fef3:90e8:
# swcopy -s [2620:0:a07:e020:21a:4bff:fef3:90e8]:/mydepot cc pascal @ /var/spool/sw
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
To install C and Pascal products to a remote host with the IPv6 address
2620:0:a07:e020:21a:4bff:fef3:90e8:
# swinstall -s sw_server cc pascal @ [2620:0:a07:e020:21a:4bff:fef3:90e8]
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 105) and “Monitoring Jobs from the
Command Line” (page 114).
To list the agent log of remote system TargetA for job hostA-0001:
# swjob -a log hostA-0001 @ targetA :/
To list the agent log of remote system TargetA for job hostA-0001 using the IPv6 address
2620:0:a07:e020:21a:4bff:fef3:90e8 of TargetA:
# swjob -a log hostA-0001 @ 2620:0:a07:e020:21a:4bff:fef3:90e8:/
7.6.2.7 swlist
To list the C product on three remote hosts:
# swlist cc @ hostA hostB hostC
To list the C product on remote host with the IPv6 address
2620:0:a07:e020:21a:4bff:fef3:90e8:
# swlist cc @ 2620:0:a07:e020:21a:4bff:fef3:90e8
134 Remote Operations Overview