Welcome 微信登录

首页 / 操作系统 / Linux / Linux Event Logging

参考《Linux? Debugging and Performance Tuning: Tips and Techniques》 chapter 8syslogd
  1. /home/a/j/nomad2:ps -ef |grep klogd  
  2. root 4364 1 0 07:12 ? 00:00:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg  
  3. klog 4366 1 0 07:12 ? 00:00:00 /sbin/klogd -P /var/run/klogd/kmsg  
  4. nomad2 29513 27878 0 19:43 pts/11 00:00:00 grep klogd  
  5. /home/a/j/nomad2:ps -ef |grep -i syslogd  
  6. syslog 4345 1 0 07:12 ? 00:00:05 /sbin/syslogd -u syslog  
  7. nomad2 29515 27878 0 19:43 pts/11 00:00:00 grep -i syslogd  
配置文件: /etc/syslog.confThe logger command is a shell command interface to SyslogOne method to control managing log files is the use of the logrotate command. It enables automatic rotation, compression, removal, and mailing of log files.相应的配置文件是/etc/logrotate.confUbuntu 11.10 PPA安装GNOME 3 扩展Linux 2.6.34开机启动图片修改相关资讯      Linux知识 
  • 时光总是太匆匆!Linux已经诞生23  (08/29/2014 14:12:03)
  • Linux虚拟文件系统之文件打开(sys  (02/14/2012 11:41:54)
  • 2012 年 Linux 峰会时间表  (02/14/2012 06:47:27)
  • 报告称当前 Linux 人才抢手 高薪也  (02/15/2012 06:35:56)
  • 解析企业为何选择Linux及其特别之  (02/14/2012 08:17:59)
  • Linux禁用字符闪烁的方法  (11/02/2011 10:28:25)
本文评论 查看全部评论 (0)
表情: 姓名: 字数