11-14-2013 01:20 PM - last edited on 11-14-2013 11:37 PM by Maiko-I
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?
P.S. This thread has been moved from HP-UX > sysadmin to HP-UX > patches. - HP Forum Moderator
Solved! Go to Solution.
11-14-2013 11:37 PM - edited 11-15-2013 10:32 PM
>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:
>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>.