glance的使用的问题 (543 Views)
回覆
Exalted Contributor
watermelonyu
發表文章數: 138,760
已註冊: ‎12-07-1998
1 條訊息(共 1 條) (543 次檢視 )

glance的使用的问题

当我在使用glance -u ,然后选择S,进入到DISK Detail中,里面有以下显示:

--------------------------------------------------------------------------------

Mapping Information

--------------------------------------------------------------------------------

Partition :/dev/dsk/c4t2d0

File Sys :/guests2

Vol Group :/dev/vg02

Log Volume:/dev/vg02/lvol20





请问,这个输出的metric是什么?

如何在脚本中把磁盘设备对应的VG显示出来呢?

脚本如下:



headerprinted = 0



DISK LOOP {

if headerprinted == 0 then {

print "Time DEVNAME Util"

headprinted = 1

}



if bydsk_util > 50 then {



print GBL_STATIME," ",BYDSK_DIRNAME|10|2,BYDSKDETAIL_NAME



}



结果提示BYDSKDETAIL_NAME不是GBL和BYDSK值,但这个值是在Metric Data Classes 中的



请各位帮助,谢谢!!!







請使用純文字。
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation