Post on 24-Dec-2015
1
Intro to the AS/400Chapter 16 - Monitoring Hardware
and Jobs
Copyright 1999 by Janson Industries
2
Objectives Show how to control jobs
and hardware devices
Define and explain: Jobs Job Queues Subsystems
Explain and show how to change device status
3
System Components Peripheral Devices
Workstations Printers Tape Drives Diskette Drives Disk Drives
Processing Unit
Copyright Janson Industries 1999
4
Managing Peripherals - DEVICE Device Operations System: S1010045 Select one of the following: 1. Work with device status 2. Work with displays 3. Printer 4. Tape 5. Diskette 6. Configure PC connections 70. Related commands Selection or command ===> __________________________________________________________________________ _______________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 Main menu
5
Managing Peripherals Options 2-6 will allow you to display:
each peripheral device in the selected category
the status of each device
You can also choose options to: change the status of the device change the device definition work with job(s) using the device
6
Work with Displays Work with Configuration Status S1010045 05/05/99 13:30:12 Position to . . . . . __________ Starting characters Type options, press Enter. 1=Vary on 2=Vary off 5=Work with job 8=Work with description 9=Display mode status ... Opt Description Status -------------Job-------------- __ DSP01 ACTIVE DSP01 QSECOFR 018032 __ QCONSOLE VARIED OFF __ QPADEV0001 VARY ON PENDING __ QPADEV0002 VARY ON PENDING __ QPADEV0003 VARY ON PENDING __ QPADEV0004 ACTIVE QPADEV0004 INTROXX 018187__ QPADEV0005 VARY ON PENDING __ QPADEV0006 VARY ON PENDING __ QPADEV0007 VARY ON PENDING More...Parameters or command ===> _________________________________________________________________________F3=Exit F4=Prompt F12=Cancel F23=More options F24=More keys
Device User id Job Name Number
For active displays
7
Changing device status The “Work with Configuration Status”
screen options let you:
Make the device unavailable (vary off)
Make the device available (vary on)
Halt communication to/from the device (hold)
Resume communication to/from the device (release)
8
Printers A printer/printing is more complicated
than a display
The “Printer” screen provides control over all the elements involved in the printing process
CPU QSpool file Print Writer
PrinterSpool file Spool file
9
Printer screen PRINTER Printer System: S1010045 Select one of the following: 1. Work with spooled output files 2. Work with printers 3. Change job printer 4. Work with printer device status 5. Work with output queues 6. Display default system printer 7. Change default system printer 70. Related commands Selection or command ===> ________________________________________________________________________________________________________________________________________________________ F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 Main menu
10
Printer screen The “Printer” screen options let you:
Change the status of: the printer (opt 2 or 4) spool files (opt 1) an output queue (opt 5) the printer writer (opt 4 then option 5)
Change the default system printer
Delete spool files
End the printer writer
11
Working With Printing Components The “Work with Configuration Status”
screen for printers provides the same capabilities as for terminals: change the device status work with the job (printer writer) using the
device
Working with an output queue or printer writer will affect many spool files
Individual spool file controls include: delete assign to a different queue hold
12
Spool Files & Output Queues Work with All Output Queues Type options, press Enter. 2=Change 3=Hold 4=Delete 5=Work with 6=Release 8=Description 9=Work with Writers 14=Clear Opt Queue Library Files Writer Status __ MYQ QGPL 0 RLS __ QDKT QGPL 0 RLS __ QPFROUTQ QGPL 0 RLS __ QPRINT QGPL 120 QPRINT RLS __ QPRINTS QGPL 0 RLS __ QPRINT2 QGPL 0 RLS __ Q1 QGPL 0 RLS __ Q2 QGPL 0 RLS __ Q3 QGPL 0 RLS __ STHG306 QGPL 0 STHG306 RLS __ STHLAB1 QGPL 1 STHLAB1 RLS __ TRSTUD QGPL 0 RLS More... Command ===> _________________________________________________________________________ F3=Exit F4=Prompt F5=Refresh F12=Cancel F24=More keys
Holding QPRINT would affect 120 spool files!
13
Working with Output Queues The screens also provide some
maintenance functions
Option 14 - Clear (CLROUTQ)
And alternative access (other than the “Device” screen) to print control functions
Option 9 - Work with Writers - provides access to printer writer functions
14
Storage Device Management Tape and Diskette device screens
provide the same capabilities as terminal and printer screens
Also provide specialized “storage functions”: Displaying storage media information Initializing the storage media Displaying the contents of storage Saving/Restoring
15
Tape DevicesTAPE Tape System: S1010045Select one of the following: 1. Display tape information 2. Initialize a tape 3. Print contents of a tape 4. Save 5. Restore 6. Work with tape device status 7. Verify tape 70. Related commands Selection or command ===> _____________________________________________________________________________F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 Main menu
Work with Configuration Status S1010045 05/11/99 14:19:45Position to . . . . . __________ Starting characters Type options, press Enter. 1=Vary on 2=Vary off 5=Work with job 8=Work with description 9=Display mode status ... Opt Description Status -------------Job-------------- __ TAP01 VARIED ON BottomParameters or command ===> _
F3=Exit F4=Prompt F12=Cancel F23=More options F24=More keys
Look familiar?
16
TAPE Tape System: S1010045Select one of the following: 1. Display tape information 2. Initialize a tape 3. Print contents of a tape 4. Save 5. Restore 6. Work with tape device status 7. Verify tape 70. Related commands Selection or command ===> _____________________________________________________________________________F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 Main menu
Display Tape (DSPTAP) Type choices, press Enter. Tape device . . . . . . . . . . TAP01 Name Volume identifier . . . . . . . *MOUNTED Character value, *MOUNTED File label . . . . . . . . . . . *ALL Sequence number . . . . . . . . 1 1-9999 Data type . . . . . . . . . . . *LABELS *LABELS, *SAVRST Output . . . . . . . . . . . . . * *, *PRINT End of tape option . . . . . . . *REWIND *REWIND, *UNLOAD BottomF3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
Display Tape Volume Information Device . . . . . . : TAP01 Volume ID . . . . : FRI001 Owner ID . . . . . : Density . . . . . : *QIC1000 Type . . . . . . . : *SL Code . . . . . . . : *EBCDIC Data file label . . . . . . . . . : ECLXX File sequence . . . . . . . . . . : 0005 Record format . . . . . . . . . . : U Block attribute . . . . . . . . . : Record length . . . . . . . . . . : 00000 Block length . . . . . . . . . . . : 32760 File length . . . . . . . . . . . : 000006 Buffer offset . . . . . . . . . . : Control character . . . . . . . . : More... Press Enter to continue.
F3=Exit F12=Cancel F14=Previous entry
General information re: files on the tape
17
Display Tape (DSPTAP) Type choices, press Enter. Tape device . . . . . . . . . . TAP01 Name Volume identifier . . . . . . . *MOUNTED Character value, *MOUNTED File label . . . . . . . . . . . *ALL Sequence number . . . . . . . . 1 1-9999 Data type . . . . . . . . . . . *SAVRST *LABELS, *SAVRST Output . . . . . . . . . . . . . * *, *PRINT End of tape option . . . . . . . *REWIND *REWIND, *UNLOAD BottomF3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
Display Saved Objects - Tape Library . . . . . . : ECLXX Release level . . . : V R M0ASP . . . . . . . . : 1 File sequence . . . : 5 Volume ID . . . . . : FRI001 Data compressed . . : Yes Expiration date . . : *PERM Data compacted . . . : No Save command . . . . : SAVCHGOBJ Objects displayed . : 6 Save active . . . . : *NO Objects saved . . . : 8 File label ID . . . : ECLXX Access paths . . . . : 0 Save date/time . . . : 05/10/99 23:00:59 Type options, press Enter. 5=Display saved data base file members Opt Object Type Attribute Owner Size Data SUPQRY *QRYDFN QRY INTROXX 12800 YES _ CUST *FILE PF INTROXX 17408 YES _ DDSSRC *FILE PF INTROXX 27648 YES _ INVDATA *FILE PF INTROXX 17408 YES _ PRODUCT *FILE PF INTROXX 17408 YES _ SUPPLIER *FILE PF INTROXX 7680 YES +
F3=Exit F12=Cancel
Detailed information re: files on the tape
18
Diskette and Tape Drives The storage media has to be initialized
before information can be written
TAPE Tape System: S1010045Select one of the following: 1. Display tape information 2. Initialize a tape 3. Print contents of a tape 4. Save 5. Restore 6. Work with tape device status 7. Verify tape 70. Related commands Selection or command ===> _____________________________________________________________________________F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information Assistant F16=AS/400 Main menu
19
Initializing
Initialize Tape (INZTAP) Type choices, press Enter. Tape device . . . . . . . . . . TAP01 Name New volume identifier . . . . . *NONE Character value, *NONE... New owner identifier . . . . . . *BLANK Volume identifier . . . . . . . *MOUNTED Character value, *MOUNTED Check for active files . . . . . *YES *YES, *NO, *FIRST Tape density . . . . . . . . . . *DEVTYPE *DEVTYPE, *QIC120, *QIC525... Code . . . . . . . . . . . . . . *EBCDIC *EBCDIC, *ASCII End of tape option . . . . . . . *REWIND *REWIND, *UNLOAD Clear . . . . . . . . . . . . . *NO *NO, *YES Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys
Specify the tape driveand press Enter
If there are active files on the tape:
Active file XXXXXXX found on volume XXXXX.
20
Disk Drives Go CMDDSK
CMDDSK Disk Commands Select one of the following: Commands 1. End Disk Data Collection ENDDSKCOL 2. Print Disk Information PRTDSKINF 3. Print Disk Activity Report PRTDSKRPT 4. Retrieve Disk Information RTVDSKINF 5. Start Disk Data Collection STRDSKCOL 6. Work with Disk Status WRKDSKSTS BottomSelection or command ===> _________________________________________________________________________ ______________________________________________________________________________
F3=Exit F4=Prompt F9=Retrieve F12=Cancel F16=Major menu
Primary tool is WRKDSKSTS
21
Work with Disk Status (WRKDSKSTS) Type choices, press Enter. Output . . . . . . . . . . . . . * *, *PRINT Reset status statistics . . . . *NO *NO, *YES Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys
Work with Disk Status S1010045 05/11/99 16:52:01Elapsed time: 00:00:00 Size % I/O Request Read Write Read Write % Unit Type (M) Used Rqs Size (K) Rqs Rqs (K) (K) Busy 1 6109 988 57.6 .0 .0 .0 .0 .0 .0 0 2 6109 988 57.4 .0 .0 .0 .0 .0 .0 0 3 6109 988 57.4 .0 .0 .0 .0 .0 .0 0 4 6109 988 57.3 .0 .0 .0 .0 .0 .0 0 5 6109 988 15.8 .0 .0 .0 .0 .0 .0 0 6 6109 988 15.8 .0 .0 .0 .0 .0 .0 0 BottomCommand ===> _________________________________________________________________________
F3=Exit F5=Refresh F12=Cancel F24=More keys
Initial screen shows each disk units:Type
CapacityUtilization
Press F5 (Refresh) to see performance/status
22
Work with Disk Status S1010045 05/11/99 16:52:59Elapsed time: 00:00:57 Size % I/O Request Read Write Read Write % Unit Type (M) Used Rqs Size (K) Rqs Rqs (K) (K) Busy 1 6109 988 57.6 1.7 2.7 1.4 .3 2.8 1.9 3 2 6109 988 57.4 2.5 1.9 1.5 1.0 2.5 .9 5 3 6109 988 57.4 1.7 2.0 1.2 .5 1.9 2.1 3 4 6109 988 57.3 1.4 2.9 1.3 .1 3.0 1.4 2 5 6109 988 15.8 .5 1.7 .5 .0 1.9 .6 1 6 6109 988 15.8 1.0 2.3 .8 .2 2.4 2.1 2 BottomCommand ===> _________________________________________________________________________ F3=Exit F5=Refresh F12=Cancel F24=More keys
WRKDSKSTS
Displays summary I/O transactioninformation for elapsed time period
Most important information% BUSY
23
Disk Drives Report Options
CMDDSK Disk Commands Select one of the following: Commands 1. End Disk Data Collection ENDDSKCOL 2. Print Disk Information PRTDSKINF 3. Print Disk Activity Report PRTDSKRPT 4. Retrieve Disk Information RTVDSKINF 5. Start Disk Data Collection STRDSKCOL 6. Work with Disk Status WRKDSKSTS BottomSelection or command ===> _________________________________________________________________________ ______________________________________________________________________________
F3=Exit F4=Prompt F9=Retrieve F12=Cancel F16=Major menu
Prints detailed transaction report using data collected by
options 1 and 5
24
PRTDSKRPT Run: 05/11/99 16:39:19 Page 1 Data File: QPFRDATA/QAPTDSKD QADSKDTA Units: *ALL Objects: *ALL Object Class: *DB Object Activity Detail Record Object Unit Rqs Length Object Library Member Number Type ---- ----- ------ ---------- ---------- ---------- ------- ------- 1 1 1 DDSSRC ITBATCAR 20 QDDS 1 1 1 DDSSRC ITBATCAR 20 QDDS 1 1 1 DDSSRC ITBATCAR 20 QDDS 1 1 1 DDSSRC ITBATCAR 20 QDDS 1 1 1 DDSSRC PRODUCT 20 QDDS 1 1 1 DDSSRC PRODUCT 20 QDDS 2 1 1 DDSSRC ECL81 20 FILE 2 1 1 DDSSRC ECL81 20 FILE 2 1 10 QAUOOPT QAUOOPT 7,487 QDDS 3 1 1 ECMQ ECL81 20 MSGQ 3 1 1 TITLES ECL81 20 FILE 4 1 1 CLSRC ECL81 20 FILE 4 1 1 DDSSRC CRTMBR 20 QDDS 4 1 1 DDSSRC CRTMBR 20 QDDS 4 1 1 DDSSRC INITPGM 20 QDDS 4 1 1 DDSSRC INITPGM 20 QDDS 5 1 1 MYQ ECL81 20 OUTQ Run: 05/11/99 16:39:19 Page 2 Data File: QPFRDATA/QAPTDSKD QADSKDTA Disk Unit Activity Number of Percent of Number of Percent of Unit I/O Requests I/O Requests Pages Pages ---- ------------ ------------ --------- ---------- 1 64 11.4 161 .7 2 111 19.8 213 .9 3 100 17.9 178 .8 4 121 21.6 273 1.2 5 105 18.8 168 .7 6 59 10.5 21,942 95.7 560 22,935
Details regarding what was accessed on each diskand disk activity statistics
25
Disk MonitoringCMDDSK Disk Commands Select one of the following: Commands 1. End Disk Data Collection ENDDSKCOL 2. Print Disk Information PRTDSKINF 3. Print Disk Activity Report PRTDSKRPT 4. Retrieve Disk Information RTVDSKINF 5. Start Disk Data Collection STRDSKCOL 6. Work with Disk Status WRKDSKSTS BottomSelection or command ===> _________________________________________________________________________ ______________________________________________________________________________
F3=Exit F4=Prompt F9=Retrieve F12=Cancel F16=Major menu
The disk information must first be collected with RTVDSKINF.
Provides reports on disk space and contents.
26
Disk Monitoring Print Disk Information (PRTDSKINF)
Type choices, press Enter.
Type of report . . . . . . . . . > *LIB *LIB, *FLR, *OWN, *OBJ, *SYSLibraries . . . . . . . . . . . *ALL Name, generic*, *ALLObjects . . . . . . . . . . . . *NONE Name, generic*, *ALL, *NONEObject types . . . . . . . . . . *ALL *ALL, *ALRTBL, *AUTL... + for more values _______Smallest size . . . . . . . . . 0 Size in 1000 bytesSort by . . . . . . . . . . . . *SIZE *SIZE, *OWNER, *LSTCHG...
BottomF3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this displayF24=More keys
Content reports can be for libraries, folders, objects, etc.
Subsetting criteria
The objects on the report can be sorted by
size, owner, alphabetically, etc.
27
Disk Information Includes:
Usage (in bytes and % of available space) according to general categories
Disk Space Report5763SS1 V#R#M# 960517 System Information Information collected . . : 05/11/99 23:00:07 Customize options specified for
this report: Report type .. . . . . : *LIB Total disk space on system in 1,000,000 Libraries . . . . . . . : *ALL bytes . . . . . . . . . . . . . . . : 5933 Size of smallest library : 0 Main storage size in megabytes . . . . : 32 Sort by . . . . . . . . : *OWNER Machine type-model . . . . . . . . . . : 9404-F20 System serial number . . . . . . . . . : 10-34747 % of Size in Description Disk 1,000,000 bytes User libraries 2.42 143.67 User directories 4.80 284.98 Folders and documents 9.57 567.61 QSYS 6.49 384.80 Other IBM libraries 12.57 745.98 Licensed Internal Code 3.30 195.95 Temporary space 3.42 203.05 Unused space 56.41 3346.65 Internal objects 1.13 67.00 Objects not in a library .00 .00 TOTAL 100.11 5939.69
28
Disk Information Usage (in bytes and % of available space)
in more detailed categories System Information* % of Size in Description Disk 1,000,000 bytes OS/400 items reported: History files .16 9.69 Journal receivers .24 14.48 User profiles .15 8.79 Configuration information .01 .35 System help (QHLPSYS) .46 27.47 Calendars .01 .46 System directories .02 1.25 Document files .08 4.53 OfficeVision/400 items reported: Enrollment .01 .38 Mail files .00 .10 Text search .01 .41 Personal directories .00 .16 Licensed Internal Code: LIC and tables 2.07 123.04 Dump space .57 33.55 Error logs .00 .23 Trace tables .00 .13 VLIC logs .57 33.56 VLIC control blocks .09 5.44Space used by internal objects: Additional configuration information .01 .51 Communications .10 6.17 Data base .01 .31 Manage jobs .70 41.72 Monitor performance .00 .00 Folders .01 .42 Mail .00 .00 OS/400 .09 5.47 S/36 Environment .00 .09 Security .00 .12 SNADS and object distribution .02 1.35 Spool .15 8.72 Cross component .03 1.55 Product installation .00 .07 Recovery of information .00 .28 Obsolete .00 .02 Internal system journals .00 .20 Miscellaneous items reported: Printer output & Spooling (QSPL) .47 28.01 Replaced object library (QRPLOBJ) .76 44.93 Storage affected by RCLSTG .01 .52 Reclaim storage library (QRCL) .00 .00
29
Disk Information Detailed space usage (for libraries or objects or
folders, etc.) in sort order
Library Information % of Size in Last Last Library Owner Disk 1000 bytes Change Use ARPG01 ARPG01 .00 170.0 02/18/99 04/29/99 ARPG02 ARPG02 .01 462.3 05/03/99 05/03/99 ARPG03 ARPG03 .00 256.5 03/09/99 04/29/99 ARPG04 ARPG04 .01 313.3 02/06/99 02/27/99 CTIMOTHY1 CTIMOTHY .01 667.6 04/12/99 04/12/99 DBASE01 DBASE01 .01 508.4 05/02/99 05/02/99 DBASE02 DBASE02 .01 790.0 04/27/99 04/29/99 DBASE03 DBASE03 .01 556.5 04/20/99 04/29/99 YOURLIBXX INTROXX .00 253.4 04/26/99 04/26/99 ECL45 INTRO45 .00 220.7 03/24/99 03/24/99 YOURLIB45 INTRO45 .01 551.9 03/24/99 03/24/99 BU JALLISON .01 321.0 12/01/98 12/01/98 QMQMPROC QMQM .00 27.1 02/03/97 PIBLIB23 QPGMR .10 5698.0 01/14/99 QCODE2 QSECOFR .05 3199.0 02/04/97 06/23/98 QSPL QSPL .47 28012.5 05/06/99 QSRV QSRV .01 418.3 02/05/97 #CGULIB QSYS .00 69.1 02/03/97 #COBLIB QSYS .03 1659.4 02/04/97 02/04/99 : : : : : : : : : : : :
30
Processing Unit Components Control/status is provided for:
Communication Devices Lines Controllers
System Processor
Main Storage
31
Communication DevicesCMNSTS Communications Status System: MiamiSelect one of the following:
1. Work with line status 2. Work with controller status 3. Work with device status 4. Work with network interface status
70. Related commands
Selection or command===> _________________________________________________________________________________________________________________________________________________F3=Exit F4=Prompt F9=Retrieve F12=Cancel F13=Information AssistantF16=AS/400 Main menu
Just like the “DEVICE” screen, the CMNSTS screen provides access to the
“Work with Configuration Status” screen.
32
Communication Devices Work with Configuration Status (WRKCFGSTS)
Type choices, press Enter.
Type . . . . . . . . . . . . . . > ____ *NWS, *NWI, *LIN, *CTL, *DEVConfiguration description . . . > *ALL Name, generic*, *ALL, *CMN...Output . . . . . . . . . . . . . * *, *PRINTRange . . . . . . . . . . . . . *NET *NET, *OBJStatus . . . . . . . . . . . . . *ALL *ALL, *ACTIVE, *FAILED...
BottomF3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=CancelF13=How to use this display F24=More keys
In this case, you specify the category of communication device
33
Communication Devices Work with Configuration Status MIAMI 05/12/99 12:46:00Position to . . . . . __________ Starting characters
Type options, press Enter. 1=Vary on 2=Vary off 5=Work with job 8=Work with description 9=Display mode status ...
Opt Description Status -------------Job--------------__ CTL01 ACTIVE__ DSP01 ACTIVE DSP01 QSECOFR 018032__ QCTL VARIED OFF__ QCONSOLE VARIED OFF__ QESCTL VARIED OFF__ QESPAP VARIED OFF__ QPACTL01 ACTIVE__ QPADEV0017 VARY ON PENDING__ QPADEV0020 VARY ON PENDING More...Parameters or command===> _________________________________________________________________________F3=Exit F4=Prompt F12=Cancel F23=More options F24=More keys
Standard device status screen and functions
34
Processing Unit Resources Some system resources like
Main memory Processor time
Subsystems are groupings of these resources
In other words, creating a subsystem means allocating resources
need to be more tightly controlled
35
Processing Unit Resources Each device is then assigned to a
subsystem
Therefore, work (jobs) associated with a device is done with the allocated subsystem resources
Different types of jobs include: Interactive Batch Communication
36
Jobs Can be created many different ways:
Signing on creates an interactive job. All the work you do is considered part of that job
You can also: Submit jobs (SBMJOB) Schedule jobs to run at a particular date
and time (ADDJOBSCDE)
And, of course, there are a rich set of commands and screens to manage and control jobs
37
Jobs, Subsystems & Job Queues Just like messages and output, there is
more than meets the eye to jobs.
When work is requested the job is sent to a job queue
Job queues are tied to subsystems
Jobs can be sent to specific job queues (SBMJOB)
OR
the device’s default job queue can be used (as is done when you sign on)
38
Jobs, Subsystems & Job Queues
Print Writer
PrinterSpool file Spool file
UserCRTCLPGM Job
Queue
JobMemory
Processor
OutputQueue
SUBSYSTEM
Spool file(Compilation Report)
39
Jobs You can monitor/control the job while it’s
On the job queue (WRKJOBQ) In the subsystem (WRKACTJOB)
WRKACTJOB Lets you specify which subsystem Provides standard control functions
hold release end
Allows you to change job attributes
40
WRKACTJOB Work with Active Jobs MIAMI 05/12/99 14:13:54CPU %: 56.6 Elapsed time: 00:00:50 Active jobs: 82
Type options, press Enter. 2=Change 3=Hold 4=End 5=Work with 6=Release 7=Display message 8=Work with spooled files 13=Disconnect ...
Opt Subsystem/Job User Type CPU % Function Status QBATCH QSYS SBS .0 DEQW QCMN QSYS SBS .0 DEQW QCTL QSYS SBS .0 DEQW DSP01 QSECOFR INT .0 MNU-MAIN DSPW QSYSSCD QPGMR BCH .0 PGM-QEZSCNEP EVTW QINTER QSYS SBS .0 DEQW QPADEV0003 INTROXX INT 4.8 CMD-WRKACTJOB RUN QPADEV0012 INTRO99 INT 42.6 CMD-PRTDSKINF RUN QSERVER QSYS SBS .0 DEQW More...Parameters or command===> _F3=Exit F5=Refresh F10=Restart statistics F11=Display elapsed dataF12=Cancel F23=More options F24=More keys
It also shows CPU utilization for the entire system and each active job
The function each job is executing andthe status of each job and subsystem
41
Subsystems & Main Memory MM “carved up” into pools
You can display & modify the MM pool allocation with WRKSYSSTS
Pools are assigned to subsystems
You can display/modify the pool/subsystem assignment with WRKSBS
WRKSBS also provides control functions over the subsystem
42
WRKSYSSTS Work with System Status MIAMI 05/12/99 14:42:35% CPU used . . . . . . . : 58.1 Auxiliary storage:Elapsed time . . . . . . : 00:01:36 System ASP . . . . . . : 5933 MJobs in system . . . . . : 292 % system ASP used . . : 44.0870% addresses used: Total . . . . . . . . : 5933 M Permanent . . . . . . : 4.216 Current unprotect used : 1193 M Temporary . . . . . . : 5.007 Maximum unprotect . . : 1216 M
Type changes (if allowed), press Enter.
System Pool Reserved Max Pool Subsystem Library 1 12156 5942 +++ *MACHINE 2 6092 0 4 *BASE 3 327 0 4 *SPOOL 4 14193 0 4 *INTERACT
BottomCommand===> _F3=Exit F4=Prompt F5=Refresh F9=Retrieve F10=RestartF11=Display transition data F12=Cancel F24=More keys
43
WRKSBS Work with Subsystems System: MIAMIType options, press Enter. 4=End subsystem 5=Display subsystem description 8=Work with subsystem jobs
Total -----------Subsystem Pools------------Opt Subsystem Storage (K) 1 2 3 4 5 6 7 8 9 10 QBATCH 0 2 _ QCMN 0 2 _ QCTL 0 2 _ QINTER 0 2 4 _ QSERVER 0 2 _ QSPL 0 2 3 _ QSYSWRK 0 2
BottomParameters or command===> _ F3=Exit F5=Refresh F11=Display system data F12=CancelF14=Work with system status
44
Points to Remember The AS/400 has many hardware
management functions which can be accessed from the DEVICE, CMNSTS and WRKSYSSTS screens
Disk management is limited to reporting functions from CMDDSK menu
Subsystems are allocations of system resources
All work is performed as jobs within subsystems