×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
First of all, I'm probably using the wrong tool for this job. What do I
really want to do:
I'm debugging an error when sshd starts up /QOpenSys/usr/bin/X11/xauth. I
want to know whats being piped to it from stdin. If I could know the job
name of any given dead PASE process and do a WRKJOB on it, that will likely
give me what I need.
Now, what I tried to do is this: TRCINT SET(*ON) TRCTYPE(*PASE)
TRCTBL(PASETRC)
I then typed a few unix command in a ssh session
Unfortunately, I don't see the table get created with this SQL:
SELECT TABLE_SCHEMA || '.' || TABLE_NAME FROM QSYS2.SYSTABLES
WHERE NAME ='PASETRC'
Luckily, I was able to create a spool file with TRCINT SET(*OFF)
TRCTBL(PASETRC)
However, searching for the spool file did not turn up either the commands I
ran or anything like exec/execv/shell/cmd, which would be what I would
expect the API calls to be to start a process.
So my two questions are:
1. Would this trace even record all the started processes in PASE, and if
not how do I capture them?
2. How do I query the trace information with SQL instead of looking at
spool files.
Justin
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.