How do I determine installation date (when the system was first booted) for Linux,Darwin, FreeBSD and NetBSD? Also, Is there any way to get the virtual status of the these machines (whether the system is virtual or physical). I need output using terminal commands.
For example,
Windows machine Installation date can be found using below command:
Command:
ssh host systeminfo | grep -i originalOutput:
Original Install Date: 1/24/2014, 12:30:41 PM
Windows machine Virtual status of the machine can be found using below command:
Command:
ssh host systeminfo | grep -i manufacturerOutput:
OS Manufacturer: Microsoft Corporation System Manufacturer: VMware, Inc.