This document provides commands to verify system resources like available memory, swap space, number of processors, and kernel version on HP-UX systems using the adb debugger. It lists commands to determine the physical memory size, available swap space, processor speed, number of CPUs, buffer cache size, and kernel parameters. Instructions are provided for both 32-bit and 64-bit HP-UX 11.x systems as well as HP-UX 10.x systems. The results of the commands need to be multiplied by 4096 to get the values in bytes.
This document provides commands to verify system resources like available memory, swap space, number of processors, and kernel version on HP-UX systems using the adb debugger. It lists commands to determine the physical memory size, available swap space, processor speed, number of CPUs, buffer cache size, and kernel parameters. Instructions are provided for both 32-bit and 64-bit HP-UX 11.x systems as well as HP-UX 10.x systems. The results of the commands need to be multiplied by 4096 to get the values in bytes.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online from Scribd
This document provides commands to verify system resources like available memory, swap space, number of processors, and kernel version on HP-UX systems using the adb debugger. It lists commands to determine the physical memory size, available swap space, processor speed, number of CPUs, buffer cache size, and kernel parameters. Instructions are provided for both 32-bit and 64-bit HP-UX 11.x systems as well as HP-UX 10.x systems. The results of the commands need to be multiplied by 4096 to get the values in bytes.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as TXT, PDF, TXT or read online from Scribd
du -sk /direcroty (In KB) #man on bdf and du for more options. Here is what I have from someone else. I saved this info in my docs. It is very useful. adb is a debugger. Here are some commands to verify system resources: for HP-UX 10x echo physmem/D | adb -k /stand/vmunix /dev/kmem physmem: physmem: 24576 for HP-UX 11.x systems running on 32 bit architecture: 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: echo phys_mem_pages/D | adb64 -k /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: echo total_lockable_mem/D | adb -k /stand/vmunix /dev/mem total_lockable_mem: total_lockable_mem: 185280 To determine the number of free swap pages : echo swapspc_cnt/D | adb -k /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: echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem itick_per_usec: itick_per_usec: 360 To determine the number of processors in use: echo "runningprocs/D" | adb -k /stand/vmunix /dev/mem runningprocs: runningprocs: 2 To determine the number of pages of buffer cache ( 4Kb in size) echo bufpages/D | adb -k /stand/vmunix /dev/mem bufpages: bufpages: 18848 To display kernel parameters using adb use the parameter name : echo nproc/D | adb -k /stand/vmunix /dev/mem nproc: nproc: 276 To determine the kernel your booted from: 10.x echo 'boot_string/S' | adb /stand/vmunix /dev/mem boot_string: boot_string: disc(52.6.0;0)/stand/vmunix 11.x 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 Let patel know this post was helpful! # and CPU speed echo itick_per_usec/D | adb /stand/vmunix /dev/kmem For more options #man getconf #man sysconf