logging what happens on a machine
Results 1 to 5 of 5

Thread: logging what happens on a machine

  1. #1
    Join Date
    Mar 2001
    Location
    Adelaide, SA, Australia
    Posts
    823

    logging what happens on a machine

    I have recently set up a linux server running Redhat 7.2, I would like to be able to keep an eye on the server and find out what is happening on the machine. Is there a log file already which I can read or do I need to set up logging somehow.
    Thanks in advance for any replies.
    Yuri.
    EDIT: I would like to know everything that is happening on the server, even if someone logs on.
    In a world without fences, who needs GATES?

  2. #2
    Join Date
    Mar 2000
    Location
    Elyria, Ohio - USA
    Posts
    2,075
    Almost all logging is done in /var/log. Two, of the many you could monitor would be syslog and messages. Hope this helps. -mk
    If it ain't broke,
    Fix it till it is.

  3. #3
    Join Date
    Mar 2001
    Location
    Adelaide, SA, Australia
    Posts
    823
    Thanks I will have a look at those two logs, I used to run Mandrake 7.2 and that had a log program where the system logs could be read from.
    Yuri.
    In a world without fences, who needs GATES?

  4. #4
    Join Date
    Jun 2001
    Location
    Rock Hill, SC, USA
    Posts
    139
    if you want to monitor continuously, as in sit in front of the computer and watch, you can use

    tail -f /var/log/messages

    or /var/log/security, or whatever you want to monitor.
    ECS K7VZA mobo w/1Gig Athlon, 256 RAM, 20 gig IBM HD, 20 gig WD HD, 12xCD-RW, 16xDVD, GeForce2MX 400, 3Com Etherlink 10/100, SB LIVE!, WinTV Go!, Intellimouse Optical, 19" Monitor. 98SE,RedHat 7.2

  5. #5
    Join Date
    Mar 2001
    Location
    Adelaide, SA, Australia
    Posts
    823
    nightmareDNS thanks for your suggestion I will probally end up doing that. That will be helpful as I have a dialin connection to a cisco 2511 router and can sit down during the day and watch the log files.
    Thank you for your help.
    Yuri.
    In a world without fences, who needs GATES?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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