咨询热线:4006-75-4006

售前:9:00-23:30    备案:9:00-18:00    技术:7*24h

linux里查看日志最后几行的方法

2017-04-18 10:49:30 12451次

linux环境下查看日志的最后几行可以使用 tail 命令:

[oracle@gl admin]$ tail -20 /data/diag/tnslsnr/gl/listener/alert/log.xml

type='UNKNOWN' level='16' host_id='gl.localdomain'

host_addr='192.168.222.133'>

Started with pid=9385

 

type='UNKNOWN' level='16' host_id='gl.localdomain'

host_addr='192.168.222.133'>

Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=gl.localdomain)(PORT=1521)))

 

type='UNKNOWN' level='16' host_id='gl.localdomain'

host_addr='192.168.222.133'>

TNS-12560: TNS:protocol adapter error

TNS-00583: Valid node checking: unable to parse configuration parameters


首页
最新活动
个人中心