# System Log Viewer Manual

System Log Viewer is a graphical user interface to view and monitor system log files.

2015-2021 MATE 文档团队
2003 Sun Microsystems
2000 Judith Samson
MATE 文档项目 GNOME 文档项目

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this link or in the file COPYING-DOCS distributed with this manual.

本手册是在 GFDL 许可之下分发的 MATE 手册集合的一部分。如果想要单独分发此手册，可以在手册中添加该许可证的一份副本然后分发，如该许可证的第 6 部分所述。

各个公司使用的许多用于区别它们产品和服务的名称都声明为商标。在所有的 MATE 文档以及 MATE 文档项目的成员中，这些名称都是以全大写字母或首字母大写显示，从而表明它们是商标。

本文档和文档是根据 GNU 免费文档许可协议的条款提供的，并且还有进一步的阐述:

1. 文档按“原样”提供，不提供任何明示或暗示的保证，包括但不限于：文档或文档的修改版本没有适销性方面的缺陷、适合特定目的的适用性，以及没有侵权行为。您将自行承担本文档以及文档修改版本的质量、准确性以及性能方面的风险。如果任何文档或文档修改版本存在缺陷，您(而不是最初的编写者、作者或撰写人)将承担所有必需的服务、维修或更正的费用。此免责声明是本许可证的重要组成部分。如果不接受此免责声明，那么您就没有权利使用任何文档或文档的修改版本；并且

2. 无论在任何情况以及在任何法律理论下，本文档或文档修改版本的作者、最初的编写者、任何撰写人或任何分发者，或者任意这些方的任何提供者都不对任何人由于使用本文档或文档修改版本引起或带来的任何直接的、间接的、特殊的、偶然的或继发的损失承担任何民事(包括疏忽)、合同或其它方面的责任，这些损失包括但不限于信誉损失、工作停止、计算机失败或故障，或任何以及所有其它损失或由此引发的或与之相关的损失，即使这些方已被告知存在出现此类损失的可能性时也是如此。

MATE Documentation Team
Mate desktop
Sun GNOME Documentation Team
Sun Microsystems

     gdocteam@sun.com

Judith Samson
GNOME Documentation Project

     judith@samsonsource.com

Paul Cutler
GNOME Documentation Team

     pcutler@gnome.org

Vincent Noel

    vincent.noel@gmail.com

System Log Viewer Manual V1.10
July 2015

Wolfgang Ulbrich

MATE Documentation Project

System Log Viewer Manual V2.5
October 2009

Paul Cutler pcutler@gnome.org

GNOME Documentation Project

System Log Viewer Manual V2.4
October 2005

Vincent Noel vincent.noel@gmail.com

GNOME Documentation Project

System Log Viewer Manual V2.3
October 2002

Sun GNOME Documentation Team gdocteam@sun.com

GNOME Documentation Project

System Log Viewer Manual V2.2
August 2002

Sun GNOME Documentation Team gdocteam@sun.com

GNOME Documentation Project

System Log Viewer Manual V2.1
July 2002

Sun GNOME Documentation Team gdocteam@sun.com

GNOME Documentation Project

System Log Viewer Manual V2.0
May 2002

Sun GNOME Documentation Team gdocteam@sun.com

GNOME Documentation Project

Logview Manual
2000

Judith Samson judith@samsonsource.com

GNOME Documentation Project

This manual describes version 1.10 of System Log Viewer.

反馈

To report a bug or make a suggestion regarding the System Log Viewer application or this manual, follow the directions in the MATE Feedback Page.

Dianjin Wang 1132321739qq@gmail.com
2012 Dianjin Wang

## 介绍

System Log Viewer is a graphical, menu-driven viewer that you can use to view and monitor your system logs. System Log Viewer comes with a few functions that can help you manage your logs, including a log monitor and log statistics display.

System Log Viewer is useful if you are new to system administration because it provides an easier, more user-friendly display of your logs than a text display of the log file. It is also useful for more experienced administrators, as it contains a monitor to enable you to continuously monitor crucial logs.

System Log Viewer is useful only to those who have access to the system log files, which generally requires root access.

## 入门

You can start System Log Viewer in the following ways:

应用程序菜单

  Choose System Tools Log File Viewer.

命令行

  Type `mate-system-log`, then press Return.

When you start System Log Viewer, the following window is displayed.

System Log Viewer Window

Shows System Log Viewer main window. Contains menubar, display area, scrollbars, and statusbar.

The first time you start System Log Viewer, the application displays several log files by default (such as `/var/log/messages`). Opened logs are listed on the left side of the application window. The log selected in this list is displayed in the main area of the application window.

By default, System Log Viewer monitors every opened log, and any change appears automatically in the main window. See for more information.

## 用法

### To View a Log

To view a log, choose File Open. In the Open Log dialog, select the log that you want to open, then click Open. Use the scrollbars to scroll through the log.

You can open as many logs as you want. System Log Viewer displays one log at a time in the System Log Viewer window. Opened logs are listed on the left side of the application window. The log selected in this list is displayed in the main area of the application window. To display another log already opened in System Log Viewer, select it in the log list.

Note that System Log Viewer also lets you open zipped logs (whole filenames end in ".gz").

### To Copy Log Lines to the Clipboard

To copy one or more log lines to the clipboard, just select the lines in the main area and choose the Edit Copy menu option. If you want to copy the entire log to the clipboard, select it entirely using the Edit Select All menu option, then choose Edit Copy.

### To Hide the Sidebar

To hide the left sidebar, which contains the log list and calendar, just select the View Side pane menu option.

### To Monitor Logs

You can use System Log Viewer to monitor logs. By default, all logs opened in System Log Viewer are monitored for changes. If new lines are added to a log monitored by System Log Viewer, the log name will appear in bold in the log list. If the log is currently displayed in the main area, the new lines will appear automatically at the end of the log and, after five seconds, the log name will turn back to normal in the list.

### To View Log Information

Log information are generally displayed in the status bar, including :

- Number of lines in the log.

- Size of the log in bytes.

- Date the log was last modified.

The status bar can be displayed or hidden using the View Statusbar option.

### To Close a Log

To close a log, choose File Close.

### To Exit System Log Viewer

To exit System Log Viewer, choose File Quit.

System Log Viewer