Last server startup date
Absolu206
Posted messages
26
Status
Membre
-
dubcek Posted messages 18702 Registration date Status Contributeur Last intervention -
dubcek Posted messages 18702 Registration date Status Contributeur 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 réponses
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
...
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.
I can give you more information later if you're interested.