United States-English |
|
|
Software Distributor Administration Guide: HP-UX 11i v1, 11i v2, and 11i v3 > Chapter 6 Using Jobs and the Job BrowserMonitoring Jobs from the Command Line |
|
The swjob command lets you display and monitor job information using the command line. This command provides a quick, low-bandwidth alternative to the Job Browser when you want to check on specific jobs. Syntax
Options and Operands
Changing Command OptionsYou can change the behavior of this command by specifying additional command-line options when you invoke the command (using the -xoption) or by reading predefined values from a file. The following table shows the defaults and options that apply to swjob. Table 6-3 swjob Command Options and Default Values
For More InformationSee Appendix A for more information about setting options and a complete listing and description of each option. Each job has its own set of attributes. These attributes include job title, date of scheduled execution, and results. The -a option selects a specific attribute to display. You can specify multiple -a options to display multiple attributes. Table 6-4 Typical job attributes
To simply list the jobs available, type: To display attributes of jobs on the local system, type: To display attributes of jobs on remote system swbash3, type: swjob -v @ swbash3:/var/spool/sw Using the -a logoption lets you display log files for jobs. A job log file summarizes job details and target actions. For example, to display the depot log file for the job swbash3-0008 on remote system swbash3: swjob -a log swbash3-0008 @ swbash3:/var/spool/sw
|
Printable version | ||
|