Use prstat to display processes ordered by memory used, and show a summary output of memory consumption by user.
#prstat -a -s rss
if you want to see what procs are using most memory, use this command so u have a sorted list of procs.
#prstat -s size
Use prtconf to display the total physical memory installed on the machine
#prtconf -v | head -3
Use memstat to have a peek at what the kernel memory usage is
#echo "::memstat" |mdb -k
If you’re using ZFS check how much is being used by the ARCcache.
# kstat -m zfs |grep size
Am I swapping? watch the swap in/out columns; if they’re not 0, you need more RAM
#vmstat 3
#swap -l
#df -kh swap
use sar to reports kernel memory allocation (KMA) activities:
#sar -k 1 5
There are 2 ways to mount iso file in hp-ux 1) using LVM method (to copy ISO into a logical volume) is the same as for older HP-UX releases: 1. Find out the size of the ISO image: # du -k /data/myImage.iso NOTE: The size will be in Kb. 2. Create a logical volume for the ISO image: # lvcreate -L -n iso /dev/vg00 NOTE: The name of the logical volume will be /dev/vg00/iso 3. Copy the ISO file to the raw logical volume: # dd if=/data/myImage.iso of=/dev/vg00/riso bs=64k 4. Create a temporary directory and mount the /dev/vg00/iso volume # mkdir /iso_image # mount /dev/vg00/iso /iso_image NOTE: For HP-UX 11.11 you must install the latest CDFS patches: PHCO_25841 Add Rock Ridge extension to mount_cdfs(1M) PHKL_26269 Rock Ridge extension for ISO-9660 PHKL_34153 CDFS cumulative patch 2) Available in HP-UX 11.31 0909: ISOIMAGE-ENH. Provides a new DLKM module fspd. Required to mount, read and umount the ISO image file. The comm...
Comments