请教AS400 performance 菜单中JOB TRACE
我尝试在 performance 菜单中JOB TRACE 但运行job trace report 发现是空的 ,我操作方法如下
GO PERFORM 选择5. Performance utilities 1. Work with job traces 1. Start job trace
输入要监控的Job number,user, number
Start Job Trace (STRJOBTRC)
Type choices, press Enter.
Maximum storage . . . . . . . . 10000 1-4000000 K
Job name . . . . . . . . . . . . * Name, *
User . . . . . . . . . . . . . Name
Number . . . . . . . . . . . . 000000-999999
Thread ID to include . . . . . . *ALL Thread ID, *ALL
+ for more values
JOB LOG里会提示STRTRC session ID 例如T000000001
Additional Message Information
Message ID . . . . . . : CPC3921 Severity . . . . . . . : 00
Message type . . . . . : Completion
Date sent . . . . . . : 11/07/09 Time sent . . . . . . : 17:48:07
Message . . . . : STRTRC session ID T000000001 successfully started.
Technical description . . . . . . . . : Remember this session ID for use on
the ENDTRC command. This message is also logged to the history log QHST and
can be displayed using the DSPLOG command.
我试了下只有停止job trace之后才能用3. Print job trace reports 打印结果类似如下, 很奇怪都是空的报表?
TRACE ANALYSIS SUMMARY
FILE-QAPTTRCJ LIBRARY-QPFRDATA MBR-QAJOBTRC
P H Y S I C A L I / O
SECONDS CPU SECONDS DB READS NON-DB RDS WRITES WAIT
TRACE ANALYSIS I/O SUMMARY
FILE-QAPTTRCJ LIBRARY-QPFRDATA MBR-QAJOBTRC
P R O G R A M ******* PROGRAM DATA BASE I
SECONDS SEQNCE NAME CALL INIT GETDR GETSQ GETKY GETM
JOB TRACE INFORMATION
FILE-QAPTTRCJ LIBRARY-QPFRDATA MBR-QAJOBTRC JOB- /
TIME THREAD SEQNBR FUNCTION PROGRAM LIBRARY ENTRY
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
找到原因了,USRPRF FILE 中 Current library . . . . . . . . 为 *CRTDFT ,然后正常end job trace 之后据可以查看job trace 报表 ,JOB TRACE把表写入指定LIB 导致