vmstat就是一个示例。
You should start with the old standby, vmstat.
您应该启动后备的命令 vmstat。
After this, the vmstat command was used again.
在此之后,再次使用vmstat命令。
See Listing 1 for an example of running vmstat.
有关运行vmstat的示例,请参见清单1。
Begin a 2-second interval vmstat log on the test machine.
在测试机上开始一个两秒钟间隔的vmstat日志。
The columns used above are similar to vmstat entry outputs.
上面所使用的列与vmstat条目输出类似。
This information was taken by examining top and vmstat logs.
此信息是通过检查top和vmstat日志得到的。
The important fields from the vmstat output are shown below.
vmstat输出的重要字段如下所示。
Recall that vmstat 1 generates a list of values every second.
回想vmstat1将在每秒钟生成一张值列表。
For example, "vmstat 300 2" collects two five-minute samples.
例如,“vmstat 3002”收集两个五分钟时段的样例。
We kept adding workload until vmstat reported 90%+ CPU usage.
我们不断增加工作负载,直到vmstat报告的CPU使用量超过 90%。
Table 1. SAR output fields and the corresponding vmstat field.
表1.sar输出字段和对应的vmstat字段。
UNIX platforms use command line utilities like IOSTAT and VMSTAT.
UNIX平台则使用IOSTAT和VMSTAT这样的命令行实用工具。
Let's return to the vmstat output and what is wrong with your system.
让我们回到vmstat的输出,系统究竟出现了什么问题呢?
The next day I get another call and start vmstat again (see Listing 2).
第二天我又接到另一个电话,于是再次启动vmstat(请参见清单2)。
Let's look at the more important fields to analyze in the vmstat output.
让我们看一看vmstat输出中要分析的更为重要的字段。
The following table correlates SAR and vmstat descriptives (see table 1).
下表将sar与vmstat描述内容进行关联(请参见表1)。
This vmstat report shows that there is approximately 114mb of free memory.
vmstat报告表明,空闲内存大约为114MB。
The type of information reported by svmon is slightly different than vmstat.
svmon 所报告的信息类型与vmstat 有一点不同。
You can get this information using vmstat -p ALL, as seen here in Listing 4.
可以使用vmstat- P ALL获得此信息,见清单4。
The vmstat output does not provide information about computational file pages.
vmstat输出没有提供关于计算性文件分页的信息。
Listings 19 and 20 are sample outputs of the vmstat command on AIX and Solaris.
清单19和20是AIX和Solaris上vmstat命令的输出样例。
The vmstat utility takes two parameters, time interval and count, both integers.
vmstat实用程序接收两个整数参数:timeinterval和count。
With the output from vmstat, the primary thing to look at is the paging information.
在vmstat的输出中,要查看的主要内容是分页信息。
The vmstat command measures and records CPU and virtual memory usage during the tests.
vmstat命令度量和记录测试期间CUP和虚拟内存使用量。
It's important to make the distinction between this and what is reported back in vmstat.
重要的是,应该清楚这个结果与vmstat所报告的结果之间的差异。
We noted these figures in a spreadsheet, which we used later to analyze the vmstat logs.
我们在电子表格中记录了这些数字,这是我们随后用来分析vmstat日志的东西。
In contrast, vmstat reports information about non-computational versus computational pages.
与此相反,vmstat可以提供非计算性分页和计算性分页的对比信息。
All UNIX systems provide tools such as ps and vmstat to provide process and virtual memory statistics.
所有unix系统都提供了ps和vmstat之类的工具,通过它们提供进程和虚拟内存统计信息。
If no parameters are specified, vmstat only lists previous statistics about the system and won't refresh.
如果未指定任何参数,vmstat就只会列出系统的前一次统计数据,而且不会进行刷新。
应用推荐