免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3988 | 回复: 6

近期的一些问题的总结 [复制链接]

论坛徽章:
0
发表于 2002-09-13 12:29 |显示全部楼层
[这个贴子最后由albert在 2002/09/14 10:48pm 编辑]

1、请问HP-UX是不是只能在HP的UNIX机上用的操作系统啊?
回答:它只能运行在HP的精简指令级硬件平台上,除了PA-RISC系列,部分HP-UX支持64bit的Itanium系列都可以。


2、如何在unix下看cpu的速率和硬盘的大小,命令是什么?
回答:diskinfo /dev/rdsk/c0t0d0 (硬盘大小)
SAM-->; Performance Monitor ->; System Property  


3、怎么在hp-ux下做磁盘镜像?
回答:A.镜像前的情况:
      .先确定如下情况:
        主磁盘是:     /dev/dsk/c1t4d0
        镜像的磁盘是: /dev/dsk/c2t4d0
             (用命令“ ioscan –fnC disk”可以查看)
        确定系统是否安装MirrorDisk/UX:用“swinstall –l bundle”查看
     B.镜像的步骤:
      .使用参数“-B”创建一个用于镜像的可引导的LVM磁盘:
             pvcreate  -f  -B  /dev/dsk/c2t4d0
      .将上一步LVM磁盘添加到根卷组中:
             vgextend   /dev/vg00  /dev/dsk/c2t4d0
      .将新磁盘制作成引导磁盘,需要注意的是要使用字符设备:
             mkboot   /dev/rdsk/c2t4d0
      .将镜像到可引导的磁盘。要确保vg00中的所有设备均已镜像,即在所有的lv0l1到 lv0lx上执行命令lvextend,要确保lv0l1是镜像的第一逻辑卷。若lv0l1不是第一逻辑卷,系统就不能镜像启动。
            lvextend  -m  1  /dev/vg00/lv0l1   /dev/dsk/c2t4d0
            lvextend  -m  1  /dev/vg00/lv0l2   /dev/dsk/c2t4d0
            lvextend  -m  1  /dev/vg00/lv0l3   /dev/dsk/c2t4d0
            lvextend  -m  1  /dev/vg00/lv0l4   /dev/dsk/c2t4d0
            ………
     .拷贝正确的AUTO文件到新的LIF区,注意使用字符设备:
           mkboot -a "hpux -lq(&#59;0)/stand/vmunix" /dev/rdsk/c1t4d0
           mkboot -a "hpux -lq(&#59;0)/stand/vmunix" /dev/rdsk/c2t4d0

    .指定引导逻辑卷、根逻辑卷、主交换逻辑卷(用swapinfo确定交换逻辑卷在什么地方)、转储逻辑卷,为根和交换镜像拷贝更新包含在BDRA中等启动信息:
           lvlnboot  -b  /dev/vg00/lvol1
           lvlnboot -r /dev/vg00/lvol3
           lvlnboot -s /dev/vg00/lvol2
           lvlnboot -d /dev/vg00/lvol2
     .恢复所有的BDRA信息:
           lvlnboot  -R

    .确定引导逻辑卷、根逻辑卷、主交换逻辑卷以及转储逻辑卷的设置:(检查镜像正确与否)
          lvlnboot  -v
    .显示当前的主引导路径和替代引导路径:
          setboot


4、关于autofs和automounter的区别
回答:AUTOFS
     One set-on/off variable.
     The /usr/sbin/automount script checks the AUTOFS variable in
     /etc/rc.config.d/nfsconf.  If the AUTOFS variable is set to one, then
     /usr/lib/netsvc/fs/autofs/automount is executed.
automounter (old)
autofs (new)
     They are two versions of automount.
     In future releases, only the autofs version of automount will be
     supported.
automount
     automount - install automatic mount points or automatically
     mount NFS file systems
automountd
     automountd - autofs mount/unmount daemon
     The autofs filesystem monitors attempts to access directories within it and notifies the automountd daemon to mount the autofs filesystem.
     If the file system is not accessed within an appropriate interval,
     the automountd daemon unmounts the file system.


5、如何查看IP?
回答:使用netstat –in


6、如何查看内存?
回答:1、使用dmesg
      2、SAM-->; Performance Monitor ->; System Property->;m

论坛徽章:
0
发表于 2002-09-13 12:30 |显示全部楼层

近期的一些问题的总结

我们在努力! 我们会继续!

论坛徽章:
0
发表于 2002-09-14 21:27 |显示全部楼层

近期的一些问题的总结

go on
斑竹!

论坛徽章:
0
发表于 2002-09-15 11:09 |显示全部楼层

近期的一些问题的总结

我们一直在努力!

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
发表于 2002-09-17 03:28 |显示全部楼层

近期的一些问题的总结

  辛苦了,斑竹。

论坛徽章:
0
发表于 2002-09-17 11:34 |显示全部楼层

近期的一些问题的总结

多谢各位兄弟。

论坛徽章:
0
发表于 2002-10-10 15:00 |显示全部楼层

近期的一些问题的总结

謝謝了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP