• <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++博客 :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
              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 閱讀(751) 評論(0)  編輯 收藏 引用 所屬分類: Linux/Unix高級技術
            热RE99久久精品国产66热| 久久久女人与动物群交毛片 | 色成年激情久久综合| 久久久这里有精品中文字幕| 久久久WWW成人| 久久久久久人妻无码| 国产成人精品久久亚洲高清不卡 | 久久93精品国产91久久综合| 香蕉久久久久久狠狠色| 国产精品久久成人影院| 一本色综合久久| 夜夜亚洲天天久久| 日韩精品无码久久久久久| 久久99精品国产麻豆婷婷| 国产成人精品综合久久久| 久久激情五月丁香伊人| 欧美丰满熟妇BBB久久久| 性高朝久久久久久久久久| 国产精品久久影院| 久久综合给久久狠狠97色| 国产精品欧美亚洲韩国日本久久| 精品国产青草久久久久福利| 久久丝袜精品中文字幕| 国产综合久久久久久鬼色| 欧美大香线蕉线伊人久久| 麻豆av久久av盛宴av| 无码8090精品久久一区 | 天堂久久天堂AV色综合| 日日狠狠久久偷偷色综合免费| 久久免费视频网站| 久久er国产精品免费观看2| 久久亚洲国产成人精品性色| 久久久久波多野结衣高潮| 欧美大战日韩91综合一区婷婷久久青草| 亚洲国产二区三区久久| 久久综合中文字幕| 久久中文字幕一区二区| 中文精品久久久久国产网址 | 蜜桃麻豆www久久| 高清免费久久午夜精品| 国产AV影片久久久久久|