• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

近期的一些问题的总结

发布: 2007-6-08 22:43 | 作者: seanhe | 来源: | 查看: 21次 | 进入软件测试论坛讨论

领测软件测试网
[这个贴子最后由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(;0)/stand/vmunix" /dev/rdsk/c1t4d0
           mkboot -a "hpux -lq(;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


 albert 回复于:2002-09-13 12:30:54
我们在努力! 我们会继续!

 dongdongwx 回复于:2002-09-14 21:27:54
go on
斑竹!

 jazy 回复于:2002-09-15 11:09:12
我们一直在努力!

 系统工程师 回复于:2002-09-17 03:28:39
  辛苦了,斑竹。

 zhouyb 回复于:2002-09-17 11:34:49
多谢各位兄弟。

 whhdf 回复于:2002-10-10 15:00:16
謝謝了


延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网