From a command prompt, run netstat -a.
在命令提示符下运行netstat - a。
Listing 4. Usage patterns for the netstat utility.
清单4.net stat实用程序的用法模式。
Run netstat -a should show the port 9510 to be listening.
运行netstat - a应该显示9510端口正在侦听。
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.
网络和内存使用量数据来自Solarisnetstat和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),那么设置这个队列的最大长度可以帮助修复这种溢出情况。
While running commands (such as netstat) can provide useful information, sometimes you need to drill down more to the packet level.
虽然运行netstat等命令可以提供有用的信息,但有时您仍然需要深入到数据包作进一步分析。
The netstat options used show all (-a) TCP (-t) connections in a numeric (-n) format along with the name of the process (-p) responsible.
使用的netstat选项以数字格式(- n)显示所有(- a)TCP (- t)连接,以及所负责进程(- p)的名称。
You can also add a couple of operations to the Netstat class, mimicking the same level of functionality that your other classes have.
你也可以把几个操作加到Netstat中,模仿同级别的其他类所实现的功能。
Before you can test your changes to the application, you first have to add the functionality to your Netstat class, as seen in Figure 15.
在测试你对此应用程序所做的改变之前,首先你要给Netstat类增加功能,如图15所示。
Netstat, the equivalent of using vmstat or iostat for your memory reports, is a quick way to get an overview of how your network is configured.
netstat—相当于使用vmstat或iostat获取内存报告—是获取您的网络配置方式概览的一种快捷方法。
应用推荐