Selasa, 04 Juni 2013

How to open live-updating log in terminal

tail [options]

#tail -f [your log file]

It's updating live feed in the terminal

# tail -f /var/adm/messages
Jun  3 12:26:00 WOMFDRC         /scsi_vhci/ssd@g600a0b800056393e000008fc4c8ee089 (ssd4): Command Timeout on path /ssm@0,0/pci@1d,600000/SUNW,qlc@2/fp@0,0 (fp2)
Jun  3 12:39:44 WOMFDRC scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Jun  3 12:39:44 WOMFDRC         /scsi_vhci/ssd@g600a0b800056393e000009024c8ee138 (ssd2): Command Timeout on path /ssm@0,0/pci@1d,600000/SUNW,qlc@2/fp@0,0 (fp2)
Jun  3 12:58:26 WOMFDRC scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Jun  3 12:58:26 WOMFDRC         /scsi_vhci/ssd@g600a0b800056393e000009024c8ee138 (ssd2): Command Timeout on path /ssm@0,0/pci@1d,600000/SUNW,qlc@2/fp@0,0 (fp2)
Jun  3 13:04:01 WOMFDRC ufs: [ID 845546 kern.notice] NOTICE: alloc: /BACKUP_NEW: file system full
Jun  4 00:00:05 WOMFDRC sendmail[21823]: [ID 801593 mail.crit] r53H052E021821: SYSERR(root): womfdrc.wom.co.id. config error: mail loops back to me (MX problem?)
Jun  5 00:00:03 WOMFDRC sendmail[5766]: [ID 801593 mail.crit] r54H03Ff005764: SYSERR(root): womfdrc.wom.co.id. config error: mail loops back to me (MX problem?)
Jun  5 04:22:25 WOMFDRC scsi: [ID 243001 kern.warning] WARNING: /scsi_vhci (scsi_vhci0):
Jun  5 04:22:25 WOMFDRC         /scsi_vhci/ssd@g600a0b800056393e000008ec4c8ede1d (ssd23): Command Timeout on path /ssm@0,0/pci@1d,600000/SUNW,qlc@2/fp@0,0 (fp2)

Tidak ada komentar:

Posting Komentar