FreeBSD查看系统日志
来源:互联网 发布:moment.js日期相减 编辑:程序博客网 时间:2024/05/22 01:48
FreeBSD view system log
One of the daily operations as FreeBSD administrator is to check system log and system resources usage, also system logs are my favorite friend to debug and solve system problems.
Here a summary list for commands used to check system log.
- cat /var/log/messages will display all the system log
- tail -f /var/log/messages will display the tail of system log, use Ctrl+C to exit.
- less /var/log/messages will display system log page by page, press Q to exit.
- cat /var/log/messages | grep error will display only the lines contain the keyword error.
- vi /var/log/messages use :q to exit vi viewer (vi is the default editor that comes with the UNIX operating)
Other important logs you should check:
- cat /var/log/auth.log | grep error
- cat /var/log/maillog | grep error
iefreer
- FreeBSD查看系统日志
- 如何查看FreeBSD的系统日志
- FreeBSD 系统日志
- freebsd 查看系统状态
- 查看FreeBSD系统状态
- 查看FreeBSD系统状态
- 查看FreeBSD系统状态
- 查看FreeBSD系统状态
- Freebsd系统日志与备份
- FreeBsd下查看系统硬件配置
- FreeBsd下查看系统硬件配置
- 查看系统日志
- Windows2003系统日志查看
- AIX系统日志查看
- 查看window系统日志
- 查看系统日志
- LINUX查看系统日志
- 查看系统日志
- Cassandra Compaction代码解读
- 冰冻三尺 之 "访问数据库"
- 页面交换守护进程kswapd
- openstack无法删除数据库内tables的问题
- 使用用户空间的文件系统
- FreeBSD查看系统日志
- emacs单文件不断修改版
- 工作日志
- SPOJ 412 K-path cover 匹配
- adobe reader 10 不能屏幕取词
- gdb内存断点功能(转)
- [iPhone高级] 基于XMPP的IOS聊天客户端程序(XMPP服务器架构)
- openstack搭建过程中强制删除实例的方法
- c#文件读取和写入的方式总结