Another useful diagnostic tool is netstat.
另一个有用的诊断工具是netstat。
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的更加详细的介绍。
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 get back to the old standby, netstat, which displays overall network statistics.
让我们来看看以前的命令netstat,它可以显示整体网络统计信息。
Listing 4 shows some of the options that netstat provides and the features they enable.
清单4显示了netstat提供的一些选项和它们启用的特性。
You can also get extended statistic information on all platforms by using the netstat tool.
在所有平台上,还可以使用netstat工具获得更详细的统计信息。
Similarly, you may or may not have seen an active connection when you ran the netstat command.
同样,在运行netstat命令时,可能会看到活跃的连接,也可能看不到。
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显示从您的主机到其他主机的现有连接及其当前状态。
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)的名称。
On successful login, the output of the netstat command will show a local port opened and listening for the port you specified (refer to Figure 5).
成功登录后,netstat命令的输出将显示一个打开的、侦听指定端口的本地端口(见图5)。
The first thing that usually comes to mind when a system administrator hears that there might be some network contention issues is to run netstat.
当系统管理员了解到发生了网络争用问题的时候,通常想到的第一件事情就是运行netstat。
A lot of other utilities exist, but netstat tends to be a one-stop shop that covers the capabilities of route, ifconfig, and other standard GNU/Linux tools.
尽管存在许多其他的实用程序,但netstat 的功能很全面,它覆盖了route、ifconfig和其他标准GNU/Linux 工具的功能。
Using netstat, you can validate that your network is healthy, because poor network utilization (or a poorly designed configuration) can result in poor NFS performance.
您可以使用netstat验证网络的健康状况,因为较低的网络使用率(或设计不当的配置)会导致较差的NFS性能。
By default, VVM USES following ports on your system - 9400, 9401, 9402, 9403, 9406 and 9408. To see if a port is in use, issue the following command: netstat -an | grep 9400.
默认情况下,VVM使用系统的以下端口—9400、9401、9402、9403、9406和9408。
With RHEL5 networking, you also have the standard UNIX commands you should already be accustomed to, such as route, the netstat commands, and other utilities like ping and traceroute.
对于 RHEL5网络,您还可以使用应该已经习惯了的标准UNIX命令,例如route、netstat 命令,以及诸如ping和 traceroute 等其他实用工具。
With netstat, you can view currently active connections (on a per-protocol basis), view connections in a particular state (such as server sockets in the listening state), and many others.
使用netstat,可以查看当前活动的连接(按单个协议进行查看),查看特定状态的连接(比如处于监听状态的服务器套接字)和许多其他的信息。
Netstat shows the network information about the local system.
Netstat给出了有关本地系统的网络信息。
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所示。
Now that you have added this behaviour in the use case model, you should also revisit our class diagram and add the Netstat class in UML, as shown in Figure 11.
既然你已经把行为加到用例模型中了,你就应当再次访问类图并且把Netstat 类加到UML中去,如图11所示。
Now that you have added this behaviour in the use case model, you should also revisit our class diagram and add the Netstat class in UML, as shown in Figure 11.
既然你已经把行为加到用例模型中了,你就应当再次访问类图并且把Netstat 类加到UML中去,如图11所示。
应用推荐