Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Patches
cancel
Showing results for 
Search instead for 
Did you mean: 

Where do swjob -a log output come from?

SOLVED
Go to solution
Émeric
Occasional Contributor

Where do swjob -a log output come from?

Hello,

 

Also asked on hp-ux newsgroup as I can't find the answer, and just in case hp-ux experts are there ;-)

 

I was wondering where do the information displayed by swjob -a log come from? Apparently not from any log file in /var/adm/sw nor /var/spool/sw or /homeroot/.sw as if I delete these files, swjob -a log still produces output. I would like to backup the information for inspection on a remote non-hp-ux system.

 

Out of curiosity, is it possible to reset the swjob counter?

 

Thanks,

 

     Émeric

 

 

P.S. This thread has been moved from HP-UX > sysadmin to HP-UX > patches. - HP Forum Moderator

4 REPLIES
Dennis Handly
Acclaimed Contributor
Solution

Re: Where do swjob -a log output come from?

>Apparently not from any log file in /var/adm/sw

>if I delete these files, swjob -a log still produces output.

 

Huh?  Mine looks like it comes from /var/adm/sw/swagent.log.

 

But it looks like you're right, (tusc is your friend) shows:

   /var/adm/sw/queue/logfiles/<jobid>/logfile

 

>is it possible to reset the swjob counter?

 

I'm not sure if it is safe to fiddle with: /var/adm/sw/queue/number

There are a bunch of directories with that <jobid>.

Highlighted
Émeric
Occasional Contributor

Re: Where do swjob -a log output come from?

Thanks.

Dennis Handly
Acclaimed Contributor

Re: Where do swjob -a log output come from?

>Thanks.

 

If the above answer was helpful, please also click on the Kudos star.

Émeric
Occasional Contributor

Re: Where do swjob -a log output come from?

Done :-)