Comentários (2)

1 mbon@developerWorks comentou às Link permanente

Thanks a lot Brian for your useful scripts and tips... <div>&nbsp;</div> Do you have a similar script to test whether a system was rebooted after a fileset install/update <br /> (specifically a powerHA fileset requiring the system to reboot... And we can not rely on the errpt to compare install date of fileset and errpt boot event) <div>&nbsp;</div> Thanks for your help. <br /> Marie-Lorraine

2 brian_s comentou às Link permanente

The only way I know to do that is use the lslpp "-h" option to get the fileset installation/update history, and then compare it to the system uptime. For example, if the lslpp "-h" option tells you the fileset was updated on a date 30 days ago, but the server uptime is 60 days, then you know it wasn't rebooted after the fileset was installed.