• <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

            一問(wèn)你會(huì)什么 二問(wèn)你做出過(guò)什么 三問(wèn)你為了什么

              C++博客 :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
              36 隨筆 :: 0 文章 :: 56 評(píng)論 :: 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 閱讀(751) 評(píng)論(0)  編輯 收藏 引用 所屬分類: Linux/Unix高級(jí)技術(shù)
            久久久久亚洲AV无码专区网站 | 久久久婷婷五月亚洲97号色 | 97久久久久人妻精品专区| 亚洲乱码日产精品a级毛片久久 | 欧美va久久久噜噜噜久久| 亚洲欧美精品一区久久中文字幕| 久久久久久久久久久免费精品| 久久综合九色综合97_久久久| 久久99国产精品久久99果冻传媒 | 国产激情久久久久影院老熟女免费 | 精品一久久香蕉国产线看播放| 精品乱码久久久久久夜夜嗨| 久久久人妻精品无码一区| 无码8090精品久久一区| 久久精品国产亚洲αv忘忧草| 久久丫忘忧草产品| 久久婷婷激情综合色综合俺也去| 俺来也俺去啦久久综合网| 91亚洲国产成人久久精品| 理论片午午伦夜理片久久 | 精品久久久久久中文字幕大豆网| 综合久久国产九一剧情麻豆| 99久久无码一区人妻a黑| 国产午夜精品久久久久九九| 日韩精品久久久久久久电影| 人妻少妇久久中文字幕| 999久久久国产精品| 久久人人爽人人人人爽AV| 精品久久8x国产免费观看| 久久久久免费视频| 日韩乱码人妻无码中文字幕久久| 观看 国产综合久久久久鬼色 欧美 亚洲 一区二区 | 中文字幕乱码久久午夜| 欧美一区二区精品久久| 欧美一区二区久久精品| 99久久国产综合精品麻豆| 久久丝袜精品中文字幕| 国产情侣久久久久aⅴ免费| 无码任你躁久久久久久| 国产精久久一区二区三区| 久久亚洲日韩精品一区二区三区|