Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Software Distributor Administration Guide: HP-UX 11i v1, 11i v2, and 11i v3 > Chapter 6 Using Jobs and the Job Browser

Managing and Tuning Jobs with Command Options

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

SD-UX command options let you manage and tune job behavior to best fit your environment, particularly when you run large numbers of jobs.

See “Using Command Options” for additional information on setting command options.

Scheduling Jobs from the Command Line

The -Q date option lets you schedule jobs without starting the Job Browser. This option is available for swinstall, swcopy, swconfig, swremove, and swverify.

The format for date is:

MM/DD[/YYYY][,HH:MM][AM|PM]

For example, to install the C and Pascal products on June 23, 2001, at 10:14 a.m.:

swinstall -Q 06/23/2001,10:15AM -s sw_server cc pascal

Adding Job Titles

Purpose: to help you identify jobs.

When running large numbers of jobs, you may want to add more information to help you identify a specific job. You can do this from the Job Browser or by invoking swconfig, swcopy, swinstall, swremove, and swverify with the job_title command option. This lets you add an ASCII string that will be displayed along with the ID and other job attributes when you invoke swjob or the job browser.

For example, to install the C and Pascal products from depot sw_server to three remote hosts with a job title of 02-HLLs:

# swinstall -s sw_server -x job_title=02-HLLs cc pascal \           @ hostA hostB hostC

Removing Job Information

Purpose: to increase performance and free up disk space when you run very large numbers of jobs.

SD-UX stores small amounts of information (such as job status or controller or agent logfiles) about each job. You can display this information from the Job Browser or with swjob. Keeping very large numbers of job information files may affect performance and reduce the usability of the Job Browser.

Running swconfig, swcopy, swinstall, swremove, or swverify with the autoremove_job command option set to true prevents SD-UX from storing the job information. (The trade-off is that you can not view the job information except by viewing log files.)

swinstall -s sw_server -x autoremove_job=true \           MySoftware @ hostA hostB hostC

You can also use the -u option to remove all old job information:

swjob -u \*

You can also remove individual jobs from the Job Browser (see “Removing a Job”.)

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997, 2000-2003, 2006, 2007, 2008 Hewlett-Packard Development Company, L.P.