Home
Username:
Password:
Red Hat Certified Engineer Tutorials

System Monitoring and Fault Analysis / Benefits of System Monitoring

Subtitles of the Movie

In this video we take a brief look at system monitoring, a subject which can be divided into three categories: Log files, File systems, and Risky Files. First log files. We've already discussed the content of a number of log files in another video, but if log files aren't working you need to make sure the appropriate daemons are running, specifically, syslogd and klogd, something which is controlled by the syslog script in the etc slash initd directory. Let's see if my syslog and klog daemons are running; ps aux lists all running processes, and I use the grep command to see if syslog is running, and there it is. The syslog daemon is running, as well as the klog daemon. Next is file systems. It's important to make sure file systems don't get overloaded. If a file system such as that associated with the home or temp directory is full, users can't start the x-window. File systems such as home are also important. If they get full your users won't be able to save their files. And then there are the Risky Files. The primary problem files relate to those with SUID and SGID permissions. Other Risky Files are hidden files. Hidden files are those with a dot in front. One way to manage Risky Files is to find which of those have SUID and SGID permissions. For example, you can find those files with SUID permissions on your system with the command noted here. Find forward slash, in other words, starting at the top level of directory, with 4000 permissions, in other words, SUID permissions. And it takes a while to look through your system for said files. There are also system activity reports, which require a sysstat package, something that isn't installed by default. This sar-A command lists system activity reports, log sa directory and the numbers are associated with the date. For example, if you're looking for the system activity report for the last month on the 13th, you're looking for the sa13 file in the noted directory.

Tutorial Information

Course: Red Hat Certified Engineer
Author: Michael Jang
SKU: 33845
ISBN: 1-934743-47-X
Release Date: 2008-01-18
Duration: 6.5 hrs / 94 lessons
Captions: For Online University members only
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 81,350 Video Tutorials (20,800 free)
  • Video Available as Flash or QuickTime
  • Over 782 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available