Re: Where do swjob -a log output come from? (184 Views)
Reply
Occasional Contributor
Émeric
Posts: 5
Registered: ‎11-14-2013
Message 1 of 5 (203 Views)
Accepted Solution

Where do swjob -a log output come from?

[ Edited ]

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

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,705
Registered: ‎03-06-2006
Message 2 of 5 (184 Views)

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

[ Edited ]

>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>.

Please use plain text.
Occasional Contributor
Émeric
Posts: 5
Registered: ‎11-14-2013
Message 3 of 5 (141 Views)

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

Thanks.

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,705
Registered: ‎03-06-2006
Message 4 of 5 (131 Views)

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

>Thanks.

 

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

Please use plain text.
Occasional Contributor
Émeric
Posts: 5
Registered: ‎11-14-2013
Message 5 of 5 (114 Views)

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

Done :-)

 

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation