Monitoring the System and Network

As with any other operating system platform, Red Hat Linux provides a number of tools for viewing system performance and also for capturing data packets on the network to analyze network traffic. For example, you can monitor system resources using the Red Hat System Monitor. To start the monitor from the KDE desktop, select the KDEO menu, then System Tools, then System Monitor. The monitor provides two tabs. The Process Listing tab allows you to view all running processes. It can also be used to end processes that have locked up or stalled. The System Monitor tab of the System monitor shows you CPU usage and memory /swap usage, as shown in Figure 10.20.

Figure 10.20. Use the System Monitor to view CPU and memory usage.

graphics/10fig20.jpg

For monitoring network traffic, there is the Ethereal Network Analyzer. It allows you to capture network packets, including those using specific protocols such as TCP, NetBIOS, and IPX. You can start the Ethereal Network Analyzer from the KDE desktop by selecting the KDE menu, pointing at System Tools, and then selecting Network Analyzer.

To start a capture, click the Capture menu, and then click Start. A Capture Options dialog box will open , allowing you to select the interface used for the captures. You can also set capture limits that stop the capture after a certain amount of time has passed or number of packets has been captured. You then click OK to start the capture.

Figure 10.21 shows the Ethereal Network Analyzer screen after a capture has been completed (by clicking Stop). The top pane of the analyzer shows the captured packets.

Figure 10.21. The Ethereal Network Analyzer is a GUI network protocol analyzer.

graphics/10fig21.jpg

When you select a packet in the top pane, the middle pane provides details for the captured packet, such as frame type and protocols for the packet. The actual hexadecimal code for the packet is provided in the bottom pane of the analyzer.

Capturing packets from the network allows you to analyze network traffic. It also provides you with clues to connection problems or even malfunctioning devices, such as a bad network interface card that is flooding the network with bad packets.

Tip

graphics/tman.gif

Although it is not a monitoring tool per se, you should definitely become familiar with the Service Configuration utility. It allows you to see a list of all the services on the system. You can see the services that were started when the system booted (they will have a check mark next to them). You can also select a service that has not started and start it from the utility. On the KDE desktop, you access the Service Configuration utility by selecting the KDE menu, then System Settings, then Services.


The number of system and network tools you install on your Linux server is really a matter of how much research and downloading you want to do. There are many open system tools for monitoring the health of your Linux system and network. Take a look at www.linux.org as a starting place for your explorations. Linux is certainly the most experimental of the network operating systems that we have discussed in this book. However, it does provide as solid an alternative for deploying network services as industry standards such as Microsoft Windows Server 2003 and Novell NetWare.

The Absolute Minimum

In this chapter we took a look at the Linux operating system platform in the form of Red Hat Linux 8.0. We discussed installing the software, and we also looked at providing network services using Linux, as well as a number of the GUI tools that can be used to administer a Linux system.

  • Three important aspects of installing Red Hat are creating the Linux and swap partitions, selecting a boot loader for the system, and creating a password for the administrative root account. Both the text and GUI installation interfaces walk you through the steps of installing Red Hat.

  • Linux systems ( specifically Red Hat) provide a number of GUI administrative tools, including the Network Configuration utility, Hardware Browser, and the Service Configuration utility. All aspects of the system administration can also be accomplished using commands in a terminal when logged in as root.

  • Linux provides network services such as DNS and DHCP, and can act as a Web server, file server, and print server.

  • Files can be shared in a number of different ways on a Linux system. The possibilities include FTP, Samba, and NFS. Shared resources can be located using the Conqueror browser or mounted via the command line.

  • Printers can be shared on Linux systems. Local and remote printers can be installed on a Red Hat Linux computer using the Printer Config utility.

  • Linux also offers tools for monitoring system resources and analyzing network protocols. The Red Hat System Monitor allows you to view running processes and view CPU and memory usage. The Ethereal Network Analyzer allows you to capture and analyze packets from the network.



Absolute Beginner's Guide to Networking
Absolute Beginners Guide to Networking (4th Edition)
ISBN: 0789729113
EAN: 2147483647
Year: 2002
Pages: 188
Authors: Joe Habraken

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net