WATCH YOUR NOVA LOG AT THE SAME TIME
2013-05-09 09:12
453 查看
I never thought about blogging this, but I think it can be useful for those of you who don’t know this little tool called: Multitail. This tool can really change everyday life for every system administrator.
Basicaaly, multitail offers you the possibility to watch simultaneously several logs files, for this it will split your terminal window in the way you configured it.
First of all install it:
A good example, here the one I use to check the logs from my compute nodes. Ideally any ccze support to color your logs would be appreciate otherwise you’ll have to this task manually.
Hope it helps!
Basicaaly, multitail offers you the possibility to watch simultaneously several logs files, for this it will split your terminal window in the way you configured it.
First of all install it:
1 | $ sudo apt-get install multitail |
12 | #!/bin/bash multitail -s 2 \ -t nova-compute.log -l "tail -f /var/log/nova/nova-compute.log" \ -t nova-network.log -l "tail -f /var/log/nova/nova-network.log" \ -t nova-api-metadata.log -l "tail -f /var/log/nova/nova-api-metadata.log" |
相关文章推荐
- display two or more logcat filters at the same time in Android Studio
- full backup and log backup can happen at the same time
- mysqld_safe Can't log to error log and syslog at the same time.
- how to play music and record from the mic at the same time?
- [tip debugging]Attach VS debugger to more than one process at the same time
- C++0x : Inefficient way to perform trivial named args and default args at the same time
- Cannot update paths and switch to branch 'snapshot_mixuse' at the same time.
- Restful API becomes 404 when using the CXF at the same time
- Cannot update paths and switch to branch at the same time(转)
- only one software management tool is allowed to run at the same time
- 20110323_BMXAA7901E - You cannot log in at this time. Contact the system administrator
- [转]The Citrix MetaFrame servers cannot process your request at this time. The Citrix XML Service object was not found.
- fatal: Cannot update paths and switch to branch 'gitlab' at the same time.
- Cannot update paths and switch to branch at the same time
- [转]The Citrix MetaFrame servers cannot process your request at this time. The Citrix XML Service object was not found.
- Using MERGE in SQL Server to insert, update and delete at the same time
- [转]The Citrix MetaFrame servers cannot process your request at this time. The Citrix XML Service object was not found.
- [AngularFire2] Update multi collections at the same time with FirebaseRef
- How to add css class and id in @Html.TextBox mvc4 at the same time
- 11GR2 issue: can not open the alert at same time.