透過adb命令檢視HP主機的系統資訊介紹
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
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15192459/viewspace-1009246/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 檢視hp小型機命令集
- linux系統資訊檢視命令Linux
- ?透過系統pid檢視sqlSQL
- Linux系統資訊檢視命令大全Linux
- 常用檢視Linux系統資訊命令Linux
- linux系統資訊檢視命令(收藏)Linux
- 透過shell指令碼檢視procedure的資訊指令碼
- 透過shell指令碼檢視package的資訊指令碼Package
- 透過shell指令碼檢視鎖資訊指令碼
- Linux透過什麼命令可以檢視報文的詳細資訊?Linux
- Linux中常用的檢視系統資訊的命令Linux
- 常用系統命令介紹
- Linux 系統下檢視硬體資訊命令大全Linux
- Linux檢視主機板的相關資訊Linux
- Linux 系統如何透過 netstat 命令檢視連線數判斷攻擊Linux
- 常用作業系統檢視主機的WWN號碼作業系統
- SUN小型機資訊檢視命令集
- [轉]HPUX 檢視系統資訊(CPU,主機型號,實體記憶體等)UX記憶體
- 檢視系統型別的命令型別
- 透過作業系統的程式號檢視資料庫的session作業系統資料庫Session
- 在Linux下檢視系統版本資訊命令總結Linux
- 檢視系統資源資訊
- MySQL檢視介紹MySql
- ORACLE 檢視介紹Oracle
- 關於solaris10檢視主機系統的位數
- HP-UX平臺cluster CM命令介紹UX
- Linux 系統檢視命令Linux
- aix系統檢視WWNN命令AI
- linux系統檢視命令Linux
- 通過Linux系統檢視硬體裝置資訊Linux
- 檢視Linux系統版本的命令Linux
- 【AIX 命令學習】lsfs 檢視顯示檔案系統資訊AI
- 透過SQL_ID檢視SQL歷史執行資訊SQL
- win10如何檢視是否安裝adb驅動_win10系統檢視adb是否安裝的方法Win10
- 【資訊採集】IBM AIX系統硬體資訊檢視命令(shell指令碼)IBMAI指令碼
- 利用命令檢視Win10系統硬體配置資訊的方法Win10
- 檢視作業系統基本資訊作業系統
- 檢視Linux系統版本資訊Linux