I would suggest looking for how to do this just in general, once you have a method, then look to implement it with bigfix.
You generally want to find a file that you can read with relevance, or a command line option to give you the answer and read the answer back with relevance.
Here are some possibilities:
- https://askubuntu.com/a/1843
- https://unix.stackexchange.com/questions/107182/find-out-exact-installation-time-of-centos
- https://access.redhat.com/solutions/16525
- https://www.sepago.de/blog/2009/09/24/how-to-determine-the-windows-installation-date-with-and-without-powershell
- https://www.howtogeek.com/194186/bragging-rights-how-to-find-your-computers-uptime-and-installation-date/
- http://www.dslreports.com/forum/r25274757-OS-X-Mac-OS-X-install-date
It also matters if you want major OS updates to affect the answer or not. You need to define very explicitly what the answer is that you are looking for and what you are using it for.
I actually recommend creating an experimental analysis and collect all of the possibilities on a few machines and see which options work best.
This is not perfectly accurate, but should work on RHEL family, Debian family, Mac OS, and Windows:
minima of creation times of (files it; folders it) of ("/root/install.log"; "/"; "/var/log/installer"; "/root"; "/root/anaconda-ks.cfg"; "/var/log"; "C:\Recovery")
The question really becomes… how accurate do you really need the answer to be? Is this good enough, or not? Also, you can check the answers over time through experimentation when setting up a new system… mark the time the install started / finished / and the answers. Also look at very old systems to see if the answers are much newer than they should be in the case where an upgrade or patch changed the answer in a way you didn’t desire.
If you just want to know when BigFIx was installed, that can also be useful:
minima of subscribe times of sites
If only every OS made it as easy as Windows: