Find the answer to your Linux question:
Results 1 to 3 of 3
What is the easiest way to check the server logs via the CLI using Open SuSE 10?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast
    Join Date
    Dec 2004
    Posts
    637

    Server Logs via CLI?


    What is the easiest way to check the server logs via the CLI using Open SuSE 10?

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,885
    At the terminal? Use text/console root login and tail /var/log/...

    Over SSH? Login as a normal user, use 'su -', then tail /var/log/...
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Linux Guru fingal's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham - UK
    Posts
    1,539
    You can also download GNU log analysis software which will save you a lot of work. Some of this will work on almost any *nix platform. This is something which I've just started to look at myself, so I can't provide any links but the packages can:

    - go through log files which you specify;
    - be run as cron jobs while you're away doing something else;
    - generate easy to read reports which can be automatically be emailed to you or piped into a text file etc.

    Well worth the effort to learn if you want to avoid manually trawling through loads of /var/log directories.

    EDIT: This link might be useful.
    I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •