关于/opt/ignite/bin/print_manifest

发表于:2007-06-08来源:作者:点击数: 标签:
请问/opt/ignite/bin/print_manifest在D系列机器上能否查出机器的主频 还有别的方法查看机器的主频吗? 谢谢了! hpux 回复于:2003-03-26 10:03:33 #echoitick_per_usec/D|adb-k/stand/vm unix /dev/kmem albert 回复于:2003-03-27 13:16:44 ToHPUX: 像类

请问/opt/ignite/bin/print_manifest在D系列机器上能否查出机器的主频
还有别的方法查看机器的主频吗?
谢谢了!

 hpux 回复于:2003-03-26 10:03:33
#echo itick_per_usec/D |adb -k /stand/vmunix /dev/kmem

 albert 回复于:2003-03-27 13:16:44
To HPUX: 
像类似itick_per_usec这种参数在哪里可以查到啊,请不吝指教,谢谢!

 hpux 回复于:2003-03-27 14:17:31
我也只知道一些特殊的用法 :p
看看#man adb

 hpux 回复于:2003-03-27 14:27:25
The adb command provides a way to gain useful information about a number of the
systems configuration areas.

To determine the physical memory (RAM) :

for HP-UX 10x
 example:

 echo  physmem/D | adb /stand/vmunix /dev/kmem 
physmem:
physmem:  24576

for HP-UX 11.x systems running on 32 bit architecture:
 example:

 echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem
phys_mem_pages:
phys_mem_pages: 24576

for HP-UX 11.x systems running on 64 bit architecture:
 example:

 echo phys_mem_pages/D | adb64  /stand/vmunix /dev/mem
phys_mem_pages:
phys_mem_pages: 262144

The results of these commands are in memory pages, multiply by 4096
to obtain the size in bytes.

To determine the amount of lockable memory:
 example:

echo total_lockable_mem/D | adb  /stand/vmunix /dev/mem
total_lockable_mem:
total_lockable_mem: 185280

for  HP-UX 11.x systems running on 64 bit architecture:

 echo total_lockable_mem/D |adb64  /stand/vmunix /dev/mem

To determine the number of free swap pages :
 example:

echo swapspc_cnt/D | adb  /stand/vmunix /dev/kmem 
swapspc_cnt:
swapspc_cnt:    216447

This will display the number of free swap pages.
Multiply the number returned by 4096 for the number of free swap bytes.

To determine the processor speed:
 example:

echo itick_per_usec/D | adb  /stand/vmunix /dev/mem  
itick_per_usec:
itick_per_usec: 360

To determine the number of processors in use:
 example:

echo "runningprocs/D" | adb  /stand/vmunix /dev/mem
runningprocs:
runningprocs:   2

To determine the number of pages of buffer cache ( 4Kb in size)
 example:
echo bufpages/D | adb  /stand/vmunix /dev/mem 
bufpages:
bufpages:       18848

To display kernel parameters using adb use the parameter name :
 example:

echo nproc/D | adb  /stand/vmunix /dev/mem
nproc:
nproc:          276

To determine the amount of vxfs inodes in use
example:

echo  vxfs_ninode/D | adb  /stand/vmunix  /dev/mem 
vxfs_ninode:
vxfs_ninode:    64000

To determine the kernel you are booted from:
 example:
10.x
echo 'boot_string/S' | adb /stand/vmunix /dev/mem 
boot_string:
boot_string:    disc(52.6.0;0)/stand/vmunix

11.x
example:

echo 'boot_string/S' | adb /stand/vmunix /dev/mem 
boot_string:
boot_string:    disk(0/0/2/0.6.0.0.0.0.0;0)/stand/vmunix

 albert 回复于:2003-03-27 15:16:50
谢谢啦.

不知道哪里有这方面的手册下载啊。

 albert 回复于:2003-03-27 16:29:11
这两天一直在看Solaris版的精华贴,学到了许多知识,同时也觉得越来越佩服mmmmn,bear,南非蜘蛛这些老大们,我觉得自己和他们相比差的太多,还有太多东西要学,太多事要做。

 hpux 回复于:2003-03-27 17:01:55
[quote:c2d007084f="albert"]这两天一直在看Solaris版的精华贴,学到了许多知识,同时也觉得越来越佩服mmmmn,bear,南非蜘蛛这些老大们,我觉得自己和他们相比差的太多,还有太多东西要学,太多事要做。[/quote:c2d007084f]
[b:c2d007084f]......[/b:c2d007084f][/b]

原文转自:http://www.ltesting.net