Software Distributor Administration Guide for HP-UX 11i
Remote Operations Overview
Remote Operations from the Command Line
Chapter 6 213
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
swinstall
To install the C and Pascal products to three remote hosts:
swinstall -s sw_server cc pascal @ hostA hostB hostC
swjob
The swjob command lets you monitors jobs from the command line. For
more information about jobs, see Chapter 7, “Using Jobs and the Job
Browser,” on page 215 and “Monitoring Jobs from the Command Line” on
page 230.
To list the agent log of remote system TargetA for job hostA-0001:
swjob -a log hostA-0001 @ targetA:/
swlist
To list the C product on three remote hosts:
swlist cc @ hostA hostB hostC
swreg
To unregister the default depots on three remote hosts:
swreg -u -l depot /var/spool/sw @ hostA hostB hostC
swremove
To remove the C and Pascal products from three remote hosts:
swremove cc pascal @ hostA hostB hostC
swverify
To verify the C and Pascal products on three remote hosts:
swverify cc pascal @ hostA hostB hostC