Pass more than one filename to tail -f and it will follow each file and let you know when one changes.
daniel@mycomputer:~$ tail -f /var/log/dmesg /var/log/kern.log
==> /var/log/dmesg <==
[ 14.951256] type=1505 audit(1256945274.318:9): operation="profile_load" name="/usr/sbin/tcpdump" name2="default" pid=2001
[ 16.052417] e1000e 0000:00:19.0: irq 2300 for MSI/MSI-X
[ 16.108300] e1000e 0000:00:19.0: irq 2300 for MSI/MSI-X
[ 16.108533] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 17.572692] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 17.572694] Bluetooth: BNEP filters: protocol multicast
[ 17.578508] Bridge firewalling registered
[ 18.272754] 0000:00:19.0: eth0: Link is Up 100 Mbps Full Duplex, Flow Control: None
[ 18.272757] 0000:00:19.0: eth0: 10/100 speed: disabling TSO
[ 18.272906] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
==> /var/log/kern.log <==
Nov 2 09:39:21 mycomputer kernel: [231116.479553] [drm] Resetting GPU
Nov 2 09:39:21 mycomputer kernel: [231116.479608] [drm] writeback test succeeded in 1 usecs
Nov 2 09:39:25 mycomputer kernel: [231120.406627] CPU0 attaching NULL sched-domain.
Nov 2 09:39:25 mycomputer kernel: [231120.406630] CPU1 attaching NULL sched-domain.
Nov 2 09:39:25 mycomputer kernel: [231120.407377] CPU0 attaching sched-domain:
No comments:
Post a Comment