At this KB article I explained how to check Linux and Unix server patch status. You can use this script to check if any patch applied in the last two months in Linux and Unix servers.
Linux Server:
- Use RPM to get installed package information
- Create a script to check them
Unix Server: (HP-UX)
- Use "swlist" command to get the package installation date
- Create a script to check them