linux日志管理

日志文件目录

/var/log/

日志分类

        系统日志  

            /var/log/messages  

Oct 10 09:04:29 localhost kernel: SELinux:  Initializing.
Oct 10 09:04:29 localhost kernel: Yama: becoming mindful.
Oct 10 09:04:29 localhost kernel: Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Oct 10 09:04:29 localhost kernel: Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Oct 10 09:04:29 localhost kernel: Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Oct 10 09:04:29 localhost kernel: Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)

        登录日志 

            /var/log/secure

Oct 16 17:02:49 localhost sshd[54297]: Bad protocol version identification '' from 192.168.0.1 port 28077
Oct 16 17:07:40 localhost gdm-password]: pam_unix(gdm-password:auth): conversation failed
Oct 16 17:07:40 localhost gdm-password]: pam_unix(gdm-password:auth): auth could not identify password for [linux]
Oct 16 17:07:40 localhost gdm-password]: gkr-pam: no password is available for user
Oct 16 17:07:46 localhost unix_chkpwd[54356]: password check failed for user (linux)

        邮件日志

            /var/log/maillog

Oct 10 10:09:39 localhost postfix/postfix-script[1780]: starting the P

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值