Xxxxxxxxxxxxxx HP-UX - Basic Administration - I xxxxxxxxxxxxxxxxxxxxX
------------ Index -----------------
1> System Info
2> Basic Admins
3> Software and imp log files
4> Patching and Recovery <Yet to update>
5> Backup and Tools <Yet to update>
5> Advanced Administrations <Yet to update>
------------------------------------
## 64 or 32 bit ??
# getconf KERNEL_BITS
64
# file /stand/vmunix
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)
# find / -name print_mani*
/opt/ignite/binpa/print_manifest
# /opt/ignite/binpa/./print_manifest | grep -i mod
Model: 9000/800/L3000-8x
OS mode: 64 bit
# getconf HW_CPU_SUPP_BITS
64
## Get detailed information about System
# find / -name print_mani*
/opt/ignite/binpa/print_manifest
# /opt/ignite/binpa/./print_manifest
## Get Model
# model
9000/800/L3000-7x
### Configuration files
# cd /etc/rc.config.d
### Your Kernel
# cd /stand/vmunix
### Display Kernel Paramiters
# kctune
# sysdef
# kmtune
## Get memory info
# /usr/sam/lbin/./getmem
# dmesg | grep -i Phy
# /opt/ignite/bin/print_manifest <-- An detailed infor about your system
### All Kernel Parms and Hwrs
# /usr/sbin/sysdef or ioscan –fn
### Devices Messages
# dmesg
## Get System Serial Number
# echo "sel dev 1 ;info;wait;infolog" | cstm |grep -i "System Serial Number"
System Serial Number...: SGH444039B
### Check swap space
# swapinfo
# swapinfo -m <- IN MB
# swapinfo -tm <- Disp Total Row
### Check attached Disk/devices/hws
# ioscan -funC disk
# ioscan -C disk
# ioscan -fnC lan
# ioscan -fnC tape
# ioscan -fnC lun
Here:
-u: Show usable devices i.e don;t rescan
-f: Full listing
-C: Show Class
-n: Device name
### Format a disk
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
..
..
# mediainit /dev/rdsk/c1t2d0
### Disk detailed info
# diskinfo -v /dev/rdsk/c1t2d0
--Shirish Shukla
------------ Index -----------------
1> System Info
2> Basic Admins
3> Software and imp log files
4> Patching and Recovery <Yet to update>
5> Backup and Tools <Yet to update>
5> Advanced Administrations <Yet to update>
------------------------------------
## 64 or 32 bit ??
# getconf KERNEL_BITS
64
# file /stand/vmunix
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)
# find / -name print_mani*
/opt/ignite/binpa/print_manifest
# /opt/ignite/binpa/./print_manifest | grep -i mod
Model: 9000/800/L3000-8x
OS mode: 64 bit
# getconf HW_CPU_SUPP_BITS
64
## Get detailed information about System
# find / -name print_mani*
/opt/ignite/binpa/print_manifest
# /opt/ignite/binpa/./print_manifest
## Get Model
# model
9000/800/L3000-7x
### Configuration files
# cd /etc/rc.config.d
### Your Kernel
# cd /stand/vmunix
### Display Kernel Paramiters
# kctune
# sysdef
# kmtune
## Get memory info
# /usr/sam/lbin/./getmem
# dmesg | grep -i Phy
# /opt/ignite/bin/print_manifest <-- An detailed infor about your system
### All Kernel Parms and Hwrs
# /usr/sbin/sysdef or ioscan –fn
### Devices Messages
# dmesg
## Get System Serial Number
# echo "sel dev 1 ;info;wait;infolog" | cstm |grep -i "System Serial Number"
System Serial Number...: SGH444039B
### Check swap space
# swapinfo
# swapinfo -m <- IN MB
# swapinfo -tm <- Disp Total Row
### Check attached Disk/devices/hws
# ioscan -funC disk
# ioscan -C disk
# ioscan -fnC lan
# ioscan -fnC tape
# ioscan -fnC lun
Here:
-u: Show usable devices i.e don;t rescan
-f: Full listing
-C: Show Class
-n: Device name
### Format a disk
# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
..
..
# mediainit /dev/rdsk/c1t2d0
### Disk detailed info
# diskinfo -v /dev/rdsk/c1t2d0
--Shirish Shukla
No comments:
Post a Comment
Write Here .. your comments are always wellcome ..but no spam please !!