[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Is there any way to show the timestamp for XenServer dmesg?



I tried the following command on the XenServer:
[root@MyXenServer ~]# xe host-dmesg hostname=xenserver4747

and the output is something like the following:
(XEN) Xen version 4.1.5 (root@xxxxxxxxxxxxxxxx) (gcc version 4.1.2 20080704
(Red Hat 4.1.2-46)) Fri Jun 14 09:04:06 EDT 2013
(XEN) Latest ChangeSet: 23509:aa273b47bcbe, pq 572:5c414f7cb3b1
....

What I want is to let the output of dmesg to show its time stamp, so I could
locate the slowest part of the booting. The output I want looks like:
[3814526.197336] (XEN) Xen version 4.1.5 (root@xxxxxxxxxxxxxxxx) (gcc
version 4.1.2 20080704 (Red Hat 4.1.2-46)) Fri Jun 14 09:04:06 EDT 2013
[3814526.197336] (XEN) Latest ChangeSet: 23509:aa273b47bcbe, pq
572:5c414f7cb3b1
...

I've searched the keyword 'host-dmesg' in the 'XenServer-6.0.0-reference'
but there's nothing about how to enable the timestamp output. And it seems
that the Linux kernel has enabled the printk-times:

[root@xenserver4747 ~]# cat /sys/module/printk/parameters/time
Y

Any suggestion will be appreciated. Thanks in advanced.



--
View this message in context: 
http://xen.1045712.n5.nabble.com/Is-there-any-way-to-show-the-timestamp-for-XenServer-dmesg-tp5727121.html
Sent from the Xen - User mailing list archive at Nabble.com.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.