Skip to contentSkip to conversation

tailf for 'xm dmesg'?

DISCUSSION Daniel Mathew 4 participants 5 messages Dec 28, 2010 – Jan 11, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I am a fledgeling Xen developer. I use 'xm dmesg | tail' pretty often to check the console output generated by my code. Instead of using this command often, I'd like to have something equivalent to a tailf, where the dmesg output is continuously printed to a console window. Is there any file that this output is written to?

Thanks,
Daniel.
--
Daniel J Mathew
Research Associate
Indian Institute of Technology Delhi www.cse.iitd.ernet.in/~mathew <http://www.cse.iitd.ernet.in/%7Emathew>

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Resending...

Quoted 8 lines · Daniel Mathew

Hi,

I am a fledgeling Xen developer. I use 'xm dmesg | tail' pretty often to check the console output generated by my code. Instead of using this command often, I'd like to have something equivalent to a tailf, where the dmesg output is continuously printed to a console window. Is there any file that this output is written to?

Quoted 9 lines

Thanks,
Daniel.
--
Daniel J Mathew
Research Associate
Indian Institute of Technology Delhi www.cse.iitd.ernet.in/~mathew <http://www.cse.iitd.ernet.in/%7Emathew>

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

There's an option to xenconsoled to make it log xen output to a file. Look at the --log= option.

K.

Quoted 27 lines · Daniel Mathew

Resending...

Quoted 8 lines · Daniel Mathew

Hi,

I am a fledgeling Xen developer. I use 'xm dmesg | tail' pretty often to check the console output generated by my code. Instead of using this command often, I'd like to have something equivalent to a tailf, where the dmesg output is continuously printed to a console window. Is there any file that this output is written to?

Quoted 8 lines

Thanks,
Daniel.
--
Daniel J Mathew
Research Associate
Indian Institute of Technology Delhi www.cse.iitd.ernet.in/~mathew <http://www.cse.iitd.ernet.in/%7Emathew>

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
In reply to Daniel Mathew
Quoted 5 lines · Daniel Mathew

I am a fledgeling Xen developer. I use 'xm dmesg | tail' pretty often to check the console output generated by my code. Instead of using this command often, I'd like to have something equivalent to a tailf, where the dmesg output is continuously printed to a console window. Is there any file that this output is written to?

If you edit /etc/sysconfig/xencommons (xen-unstable)
or /etc/sysconfig/xend (xen-4.0 and earlier) to set XENCONSOLED_TRACE=hv then the hypervisor console should get logged under /var/log/xen somewhere.

Ian.

#4 lore raw
In reply to Daniel Mathew

That would be a nice feature.

--
Sander

Quoted 15 lines · you

Hi,

I am a fledgeling Xen developer. I use 'xm dmesg | tail' pretty often to check the console output generated by my code. Instead of using this command often, I'd like to have something equivalent to a tailf, where the dmesg output is continuously printed to a console window. Is there any file that this output is written to?

Thanks,
Daniel.
--
Daniel J Mathew
Research Associate
Indian Institute of Technology Delhi www.cse.iitd.ernet.in/~mathew <http://www.cse.iitd.ernet.in/%7Emathew>

Signature · 2 lines
Best regards,
 Sander                            mailto:[email protected]