Skip to main content

Mengetahui Log System Ubuntu Linux

[REFERENSI]

sumber :http://www.cyberciti.biz/faq/ubuntu-linux-gnome-system-log-viewer/

View log files in Ubuntu Linux

by on August 2, 2007 · 18 comments· LAST UPDATED August 2, 2007
Q. Can you explain me log files in Ubuntu Linux and how do I view logs?
A. All logs are stored in /var/log directory under Ubuntu (and other Linux distro).

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:
View log files in Ubuntu Linux
(The GNOME System Log Viewer)
Note you can start the GNOME System Log Viewer from a shell prompt, by entering the following command:

Comments

Popular posts from this blog

Install Remote Desktop di Linux Mint 15

Ketika saya menginstall Linux Mint 15 di laptop saya  , setelah 1 jam selesai install OSnya  , ketika ingin remote desktop server , di search Aplikasi remote desktop di linux mint 15  knp tidak ada ... akhirnya saya install untuk remote desktop bernama aplikasi Remmina Dengan terminal : sudo apt-get install remmina Setelah terinstall , buka menu > Internet > Remmina silahkan coba remote desktop OS Windows , masukan Ip address , pilh Protokol VNC - Virtual Network Computing Masukkan Password Hasil Remote destop seperti diatas . SSH - Secure Shell , pilih Protokol SSH - Secure Shell  Masukkan IP Adderess Server dan masukan Password ,Ok Hasil SSH seprti diatas . Protokol SFTP Sekian , semoga bermanfaat Taufan M| email me

Install PHPMotion di Ubuntu 12.04 sebagai Self Hosted Video Player

kali ini saya mencoba membuat Appliace untuk Server Video Player seperti Youtube   , dengan menggunakan Applikasi PHPMotion , saya menginstall di Ubuntu 12.04 LTS 64 Bit di dalam VM , Installasi : 1. Instalasi System Ubuntu 12.04 di Virtualbox ,  tutorial     Setting /etc/hosts,/etc/hostname , /etc/resolv.conf     kemudian apt-get update 2. Login sebagai root     sudo su 3. Install Paket untuk Phpmotion      a pt-get install apache2 mysql-server php5 ffmpeg flvtool2 mencoder lame libogg0 php5-ffmpeg php5-curl curl libapache2-mod-php5 php5-mysql lynx-cur libapache2-mod-speedycgi      Hasil File download paketnya sekitar 230 MB , tunggulah dengan sabar :) 4. Download phpmotion di phpmotion.com ( masukan alamat email untuk download)     sebelum download pastikan versi PHP anda       buat file info.php simpan di var/www      <?php      phpinfo();     ...

Membuat fungsi “terbilang” Excel menggunakan macro VBA

Jika Anda ingin menerjemahkan Angka menjadi Kata-kata , contohnya saja dalam pembuatan Form Kwitansi suatu Transaksi , anda dapat membuatnya dengan menggunakan aplikasi Microsoft Excel dan Macro Visual Basic Application ( VBA ) .saya menggunakan Excel 2007 Untuk membuatnya silahkan ikuti langkah-langkah dibawah ini :  buka Microsoft Excel , lalu tekan alt+F11  Setelah Muncul Microsoft Visual Basic , lalu pilih Insert > module Isikan code Seperti diatas  silahkan anda download source code nya disini !! Save Book ( ctrl+S)   Save As type : pilih Excel Macro - Enable Workbook  (*.xlsm) lalu klik Save  pilih File > Close and return to microsoft excel , macro sudah dibuat , sekarang kita tinggal test macro tersebut Tempatkan cell A2 , pilih Formulas > Insert Function lalu pilih Category User Defined Terlihat Function terbilang yang sudah dibuat tadi di VBA , klik Ok Akan Tampil Form Seperti diatas ,  Nilai_angka  arahkan ke Cell A1 ( ters...