The System Information 2006-10-31 Author:Ecore 1 HP-UX 系统信息收集 1
1 Cpu Infomation #sam //通过sam 查看系统cpu,内存等信息 SAM -->; Performance Monitors -->; System Properties # ioscan -fnC processor //通过ioscan 命令查看处理器信息 #dmesg |grep processor //通过dmesg 命令查看处理器信息 # echo "itick_per_usec/D" | adb /stand/vmunix /dev/kmem //查看cpu 主频 # model //查看cpu 信息 1
2 Memory Infomation #dmesg|grep mem //查看内存信息 #ioscan –fnC memory //同上 #swapinfo //查看swap 交换分区信息 1
3 Disk Infomation #ioscan -fnC disk //列出磁盘列表 # diskinfo /dev/rdsk/cxtxdx //查看硬盘信息 #bdf //查看文件系统使用信息 #df –k //同上 #vgdisplay –v vg00 //查看LVM VG 信息 1
4 System Information #sysdef //查看系统内核参数 #uname –a //查看系统信息 #hostname //查看主机名 #uname –i //查看hostid #who –r //查看系统当前运行级别 1
5 Network Information #netstat –in //查看网络接口信息 #netstat –rn //查看路由信息 #lanscan //网络硬件信息 #ifconfig i