Last server startup date
Absolu206
Posted messages
26
Status
Member
-
dubcek Posted messages 18627 Registration date Status Contributor Last intervention -
dubcek Posted messages 18627 Registration date Status Contributor Last intervention -
Hello,
I would like to get the date of the last server startup.
I have:
--> the uptime command which gives the number of days and hours of server activity.
--> the who -b command which gives:
. system boot Apr 28 10:47
But I would also like the year and the seconds. Is it possible?
I would like to get the date of the last server startup.
I have:
--> the uptime command which gives the number of days and hours of server activity.
--> the who -b command which gives:
. system boot Apr 28 10:47
But I would also like the year and the seconds. Is it possible?
3 answers
-
and what does the command w give?
man w
...
The header shows, in this order, the current time, how long the system has been running
...
-
Hi, yes it should be possible by going through the MIB of your server. For this, you need to display all the variables and search by ID number.
I can give you more information later if you're interested. -