Another useful diagnostic tool is netstat.
另一个有用的诊断工具是netstat。
From a command prompt, run netstat -a.
在命令提示符下运行netstat - a。
Another handy netstat flag is the -m option.
另一个非常方便的netstat标志是- m选项。
You can verify this from the output of netstat.
可以从netstat的输出中验证这一点。
Listing 4. Usage patterns for the netstat utility.
清单4.net stat实用程序的用法模式。
This will include a more detailed discussion of netstat.
其中将包括对 netstat 的更加详细的介绍。
Run netstat -a should show the port 9510 to be listening.
运行netstat - a应该显示9510端口正在侦听。
Netstat shows the network information about the local system.
Netstat给出了有关本地系统的网络信息。
Alternatively, you can use netstat -v, which provides similar information.
另外,您可以使用netstat - v,这个命令提供类似的信息。
Errors reported by netstat can also indicate DNS configuration issues.
netstat报告的错误还能表明DNS配置问题。
Network and memory utilization come from the Solaris netstat and prstat commands.
网络和内存使用量数据来自Solaris netstat和prstat命令。
Let's look at the IP addresses, which are configured using netstat (see Listing 3).
现在看看IP地址,这使用netstat配置(见清单3)。
Probably one of the most common commands you type in is netstat -in (see Listing 5).
最常用的一个命令是netstat - in(请参见清单5)。
Listings 17 and 18 are sample outputs of the netstat command on AIX and Solaris.
清单17和18是AIX和Solaris上netstatare命令的输出样例。
Let's get back to the old standby, netstat, which displays overall network statistics.
让我们来看看以前的命令netstat,它可以显示整体网络统计信息。
You can also get extended statistic information on all platforms by using the netstat tool.
在所有平台上,还可以使用 netstat 工具获得更详细的统计信息。
Listing 4 shows some of the options that netstat provides and the features they enable.
清单4显示了netstat提供的一些选项和它们启用的特性。
Similarly, you may or may not have seen an active connection when you ran the netstat command.
同样,在运行netstat命令时,可能会看到活跃的连接,也可能看不到。
netstat -m is used to detect shortages of failures of network memory requests (see Listing 10).
netstat -m 用于检测失败的网络内存请求(请参见清单 10)。
Netstat -m is used to detect shortages of failures of network memory requests (see Listing 12).
netstat - m用于检测失败的网络内存请求(请参见清单12)。
Part 1 addressed some of the very basic flags, such as -in, that you typically use with netstat.
第 1 部分介绍了一些非常基本的标志,如 -in,这是 netstat 的一个常用标志。
You can look for signs of buffer congestion with netstat -s, which prints a list of network counters.
可以用netstat - s寻找缓存区拥挤的迹象,这个命令输出网络计数器的列表。
Run netstat -aan, where -a shows the address of any protocol control blocks associated with the sockets.
运行netstat - Aan,其中的- a显示与套接字相关联的任何协议控制块的地址。
One way to see which ports are currently being used on the system is by using the netstat -a command.
查看当前系统上正在使用哪些端口的一种方式就是使用 netstat -a 命令。
Ifconfig, hostname, netstat, and ps have been optimized to run in the global environment and within WPARs.
对ifconfig、hostname、netstat和ps进行了优化,以便在全局环境和WPAR中运行。
You can use netstat to display existing connections from your host to other hosts and the current state of each.
可以使用netstat显示从您的主机到其他主机的现有连接及其当前状态。
Part 1 of this series addressed some of the very basic flags, such as -in, that you typically use with netstat.
本系列的第1部分介绍了一些非常基本的标志,比如- in,这是netstat的一个常用标志。
The netstat command provides many options and shows various information about the network interfaces on the system.
netstat命令提供了很多选项,可显示关于系统上的网络接口的各种信息。
While running commands such as netstat can provide useful information, sometimes you need to drill down more to the packet level.
虽然运行诸如netstat之类的命令可以提供一些有用的信息,但有时您仍然需要深入到数据包级别上进行更进一步的分析。
If you see an overflow counter (through the use of netstat -s), setting a maximum length of this queue can help fix the overflow.
如果您看到一个溢出计数器(通过使用netstat - s),那么设置这个队列的最大长度可以帮助修复这种溢出情况。