透過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
- Linux透過什麼命令可以檢視報文的詳細資訊?Linux
- Linux 系統下檢視硬體資訊命令大全Linux
- Linux 系統如何透過 netstat 命令檢視連線數判斷攻擊Linux
- 檢視 Linux 系統資訊Linux
- HP系統配置檢查
- adb透過wifi連線手機WiFi
- Linux 系統檢視命令Linux
- 檢視系統型別的命令型別
- 檢視Linux系統版本資訊Linux
- 【資訊採集】IBM AIX系統硬體資訊檢視命令(shell指令碼)IBMAI指令碼
- 『與善仁』Appium基礎 — 3、ADB命令介紹APP
- win10如何檢視是否安裝adb驅動_win10系統檢視adb是否安裝的方法Win10
- MySQL檢視介紹MySql
- 利用命令檢視Win10系統硬體配置資訊的方法Win10
- Linux系統如何檢視版本資訊Linux
- 【計算機視覺】視訊格式介紹計算機視覺
- 每天一個Linux命令之ps-檢視系統程式資訊Linux
- 使用命令檢視windows系統連線過的wifi密碼WindowsWiFi密碼
- Win10系統下怎麼透過事件檢視器中檢視硬碟檢查結果Win10事件硬碟
- Linux檢視系統版本命令Linux
- Linux 檢視系統檔案命令Linux
- 使用 jstat 命令檢視 JVM 的GC資訊JSJVMGC
- Dozzle-解決透過命令方式檢視Docker 日誌的神器Docker
- Linux系統glibc庫版本資訊檢視Linux
- 檢查 Linux 檔案系統中的錯誤:透過案例學習 FSCK 命令Linux
- 檢視Linux系統資訊都有哪些命令?Linux學會有什麼用Linux
- win10系統如何透過命令關閉系統賬戶_win10透過命令關閉系統賬戶的步驟Win10
- Oracle 統計資訊介紹Oracle
- win10檢視主機板型號怎麼操作 win10檢視電腦主機板資訊方法Win10
- Hibernate批處理如何透過“datasource-proxy”檢視詳細資訊?
- Linux系統中的程序和埠檢視命令Linux
- Linux系統中常用的檔案檢視命令Linux
- Solaris系統與Linux系統常用命令的區別介紹Linux
- 【AWR】Oracle awr相關檢視及體系介紹Oracle
- CentOS7禁止Linux系統使用者透過SSH登入方法介紹CentOSLinux
- APP安全檢測 滲透測試APP服務介紹與過程APP
- ClickHouse學習系列之七【系統命令介紹】