Hi
Is there a tool like linux dmesg for opensolaris?
Yes, two in fact!
one is
tail -f /var/adm/messages
and the other
less -F /var/adm/messages
dmesg also exists, but is unreliable: the buffer is limted, and after a while
you will miss information.
--
This message posted from
Hi
Is there a tool like linux dmesg for opensolaris?
Thanks
Marcelo
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
Marcelo M. Garcia wrote:
Hi
Is there a tool like linux dmesg for opensolaris?
See man dmesg
/usr/bin/dmesg
Cheers,
--
Shawn Walker
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org
Marcelo M. Garcia wrote:
Hi
Is there a tool like linux dmesg for opensolaris?
See man dmesg
/usr/bin/dmesg
So long as we keep in mind that it is just a script that outputs the last
200 lines out of the /var/adm/messages* files. Nothing more.
Dennis
Hello Dennis,
Wednesday, March 4, 2009, 8:13:40 PM, you wrote:
Marcelo M. Garcia wrote:
Hi
Is there a tool like linux dmesg for opensolaris?
See man dmesg
/usr/bin/dmesg
DC So long as we keep in mind that it is just a script that outputs the last
DC 200 lines out of the
Robert Milkowski wrote:
Hello Dennis,
Wednesday, March 4, 2009, 8:13:40 PM, you wrote:
Marcelo M. Garcia wrote:
Hi
Is there a tool like linux dmesg for opensolaris?
See man dmesg
/usr/bin/dmesg
DC So long as we keep in mind that it is just a script that outputs the last
DC 200 lines out
solarg wrote:
Robert Milkowski wrote:
# cat linux-dmesg.sh
#!/bin/sh
echo '$messages' | mdb -k
are you sure?
sh-3.2# echo '$messages' | mdb -k
mdb: failed to open messages (see ::help '$')
Perhaps you want:
echo ::msgbuf | mdb -k
Hugh.