|
-
June 12th, 2002, 05:51 AM
#1
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?
-
June 12th, 2002, 10:39 AM
#2
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.
-
June 12th, 2002, 05:56 PM
#3
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?
-
June 17th, 2002, 09:09 AM
#4
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
-
June 18th, 2002, 07:22 PM
#5
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
-
Forum Rules
|
|