Do you know what's the command ??
Appreciate your immediate reply.
Thanks.
Regards,
Francis.
"Francis" <fran...@cisco.com> wrote in message
news:3A1C9786...@cisco.com...
>> I somehow come across a command which could check the last time a
>> system is rebooted/shutdown. I am running Solaris 2.6, fyi.
Look at the system log - usually, /var/adm/messages. Example:
svis02% fgrep syslogd: /var/adm/messages
Nov 20 04:19:30 svis02 syslogd: going down on signal 15
Nov 20 04:26:04 svis02 syslogd: going down on signal 15
It's better to actually view the file - the pattern on bootup
is easily recognizable.
--
Reinier
Francis <fran...@cisco.com> schrieb in im Newsbeitrag:
3A1C9786...@cisco.com...
> Hi,
> I somehow come across a command which could check the last time a
> system is rebooted/shutdown. I am running Solaris 2.6, fyi.
>
who -b is among a welter of commands that will give you this information
in a range of different formats.
--
Tony Walton
This posting is my own opinion and does not constitute official support
from Sun Microsystems
"I'm not the real Mojo Jojo - I'm Blossom in a BUCKET"
There have been a number of responses telling you the way to find the last
boot. As far as I know, the only way to find the last shutdown (which may not
be the same thing) is by perusing the logs.
--
Mark Rafn da...@dagon.net <http://www.dagon.net/>
there is a comand for your problem:
last reboot
because every boot procedure, the system creates a pseudo user named reboot.
with the last command you can normally see which user is logged in.
roger
Mark Rafn schrieb: