# /etc/init.d/network restart Another way (Msn web hosting) to see statistics

# /etc/init.d/network restart Another way to see statistics for your Ethernet driver is to list the contents of the process pseudo file system for network devices. To do that, type the following: # cat /proc/net/dev The output should look similar to the following: Inter-| Receive | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed lo: 5362 64 0 0 0 0 0 0 5362 64 0 0 0 0 0 0 eth0: 3083 35 0 0 0 0 0 0 3876 31 0 0 0 0 0 0 The output is a bit hard to read (our book isn t wide enough to show it without wrapping around). With this output, you can see Receive and Transmit statistics for each interface. This output also shows you how many Receive and Transmit errors occurred during communication. For a more detailed look at your network, you can use the Ethereal window. Ethereal is described in the following section. Watching LAN traffic with Ethereal If you really want to understand the coming and going of information on your LAN, you need a tool that analyzes network traffic. Ethereal is a graphical tool for capturing and displaying the packets being sent across your network interfaces. Using filters to select particular hosts, protocols, or direction of data, you can specifically monitor activities and track down problems on your network. In addition to reading Ethernet packet data gathered by Ethereal, the Ethereal window can be used to display captured files from LanAlyzer, Sniffer, Microsoft Network Monitor, Snoop, and a variety of other tools. These files can be read from their native formats or after being compressed with gzip (.gz). Ethereal can track more than 100 packet types (representing different protocols). It can also display specific fields related to each protocol, such as various data sizes, source and destination addresses, port numbers and other values. Starting Ethereal To start Ethereal, choose Programs Internet ethereal, or type the following (as root user) from a Terminal window: # ethereal & The Ethereal window appears, as shown in Figure 15-9. (If the ethereal command is not found, the package is probably not installed. You can install the ethereal package from the Red Hat Linux installation CD-2.)
We recommend high quality webhost to host and run your jsp application: christian web host services.

Leave a Reply