• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            Thronds

            一問你會什么 二問你做出過什么 三問你為了什么

              C++博客 :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
              36 隨筆 :: 0 文章 :: 56 評論 :: 0 Trackbacks
            All logs are stored in /var/log directory under Ubuntu (and other Linux distro).From[1]

            Linux Log files and usage

            => /var/log/messages : General log messages

            => /var/log/boot : System boot log

            => /var/log/debug : Debugging log messages

            => /var/log/auth.log : User login and authentication logs

            => /var/log/daemon.log : Running services such as squid, ntpd and others log message to this file

            => /var/log/dmesg : Linux kernel ring buffer log

            => /var/log/dpkg.log : All binary package log includes package installation and other information

            => /var/log/faillog : User failed login log file

            => /var/log/kern.log : Kernel log file

            => /var/log/lpr.log : Printer log file

            => /var/log/mail.* : All mail server message log files

            => /var/log/mysql.* : MySQL server log file

            => /var/log/user.log : All userlevel logs

            => /var/log/xorg.0.log : X.org log file

            => /var/log/apache2/* : Apache web server log files directory

            => /var/log/lighttpd/* : Lighttpd web server log files directory

            => /var/log/fsck/* : fsck command log

            => /var/log/apport.log : Application crash report / log file

            To view log files at shell prompt

            Use tail, more, less and grep command.
            tail -f /var/log/apport.log
            more /var/log/xorg.0.log
            cat /var/log/mysql.err
            less /var/log/messages
            grep -i fail /var/log/boot

            View log files using GUI tools using the GNOME System Log Viewer

            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 calendar, 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 calendar to help you locate trends and track problems, as well as a monitor to enable you to continuously monitor crucial logs.

            You can start System Log Viewer in the following ways:

            Click on System menu > Choose Administration > System Log

            (The GNOME System Log Viewer)

            Note you can start the GNOME System Log Viewer from a shell prompt, by entering the following command:
            $ gnome-system-log &

            [1]www.cyberciti.biz/faq/ubuntu-linux-gnome-system-log-viewer/

            posted on 2008-12-20 21:58 thronds 閱讀(759) 評論(0)  編輯 收藏 引用 所屬分類: Linux/Unix高級技術(shù)
            91久久福利国产成人精品| 亚洲欧美日韩久久精品| 国产午夜精品理论片久久影视| 亚洲午夜久久久久妓女影院 | 亚洲AV无码久久| 国产精品久久国产精品99盘| 久久久噜噜噜久久| 午夜天堂av天堂久久久| 婷婷综合久久狠狠色99h| 亚洲午夜无码AV毛片久久| 久久99精品国产自在现线小黄鸭 | 久久精品国产亚洲av高清漫画| 精品国产一区二区三区久久| 亚洲精品tv久久久久久久久久| 久久久久人妻一区精品色| 午夜福利91久久福利| 国产精品久久99| 日日噜噜夜夜狠狠久久丁香五月| 国产一区二区三精品久久久无广告 | 久久乐国产综合亚洲精品| 青青草国产成人久久91网| 久久香综合精品久久伊人| 欧美国产成人久久精品| 99久久精品免费国产大片| 国产精品视频久久久| 久久精品国产亚洲av麻豆小说| 亚洲国产成人精品女人久久久 | 久久久精品久久久久影院| 久久不见久久见免费影院www日本| 久久久久99精品成人片欧美| 99久久无色码中文字幕人妻| 综合久久一区二区三区 | 久久精品国产网红主播| 伊人久久精品无码av一区| 久久久久99这里有精品10| 香蕉aa三级久久毛片| 久久福利资源国产精品999| 午夜精品久久久久成人| 亚洲午夜精品久久久久久浪潮| 中文字幕精品久久久久人妻| 中文精品99久久国产|