免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8413 | 回复: 5
打印 上一主题 下一主题

cstm的使用(以查看内存为例) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-02-03 10:17 |只看该作者 |倒序浏览
如果需要查看主机的内存可以使用cstm这个工具(这个工具只有root权限才可以使用)
下面是具体的操作:
[@/]#cstm  --------------------在终端输入cstm,启动cstm这个工具
Running Command File (/usr/sbin/stm/ui/config/.stmrc).

-- Information --
Support Tools Manager


Version

Product Number

(C) Copyright Hewlett Packard Co. 1995-2002
All Rights Reserved

Use of this program is subject to the licensing restrictions described
in \"Help-->On Version\".  HP shall not be liable for any damages resulting
from misuse or unauthorized use of this program.

cstm>map          ----------------------输入map,列出主机所有的硬件信息
                                    hn_wap02

  Dev                                                 Last        Last Op      
  Num  Path                 Product                   Active Tool Status      
  ===  ==================== ========================= =========== =============
    1  system               system ()                 Information Successful   
    2  0                    Bus Adapter (880)                                 
    3  0/0                  PCI Bus Adapter (783)                              
    4  0/0/1/0              USB Interface (10330035)                           
    5  0/0/1/0.1            USB Root Hub (0)                                   
    6  0/0/1/1              USB Interface (10330035)                           
    7  0/0/1/1.1            USB Root Hub (0)                                   
    8  0/0/1/2              USB Interface (103300e0)                           
    9  0/0/2/0              IDE Bus Adapter (10950649                          
   10  0/0/2/0.0            IDE Interface (109)                                
   11  0/0/2/0.0.0.0        Optical Storage Device (T                          
   12  0/0/2/0.1            IDE Interface (109)                                
   13  0/1                  PCI Bus Adapter (783)                              
   14  0/1/1/0              PCI SCSI Interface (10000                          
   15  0/1/1/0.0.0          SCSI Disk (HP146)                                 
   16  0/1/1/1              PCI SCSI Interface (10000                          
   17  0/1/1/1.2.0          SCSI Disk (HP146)                                 
   18  0/1/2/0              PCI Gigabit Ethernet Link                          
   19  0/2                  PCI Bus Adapter (783)                              
   20  0/2/1/0              PCI 100 BaseT LAN Interfa                          
   21  0/3                  PCI Bus Adapter (783)                              
   22  0/3/1/0              Fibre Channel Interface (                          
   23  0/3/1/0.1            Fibre Channel Driver (Mas                          
   24  0/3/1/0.1.14.255.0.0 HP EVA GL (COMPAQHSV110)                           
   25  0/3/1/0.1.15.255.0.0 HP EVA GL (COMPAQHSV110)                           
   26  0/4                  PCI Bus Adapter (783)                              
   27  0/4/1/0              Fibre Channel Interface (                          
   28  0/4/1/0.1            Fibre Channel Driver (Mas                          
   29  0/4/1/0.1.14.255.0.0 HP EVA GL (COMPAQHSV110)                           
   30  0/4/1/0.1.15.255.0.0 HP EVA GL (COMPAQHSV110)                           
   31  0/6                  PCI Bus Adapter (783)                              
   32  0/6/1/0              PCI 100 BaseT LAN Interfa                          
   33  0/7                  PCI Bus Adapter (783)                              
   34  0/7/1/0              RS-232 Interface (103c129                          
   35  0/7/1/1              RS-232 Interface (103c104                          
   36  8                    MEMORY (af)               Information Successful   
   37  16                   IPMI Controller (4)       Information Successful   
   38  128                  CPU (889)                 Information Killed      
   39  129                  CPU (889)                 Information Successful   
cstm>sel dev 36    -------------------选中所需要查看的设备的num(这里是看内存的信息,所有选中的是36,如果看cpu的信息则是 sel dev 38/39)
cstm>info          -------------------从系统kernel里面收集设备的信息
-- Updating Map --
Updating Map...
cstm>il            -------------------列出设备的信息(下面输出的是内存的信息)
-- Converting a (1404) byte raw log file to text. --
Preparing the Information Tool Log for MEMORY on path 8 File ...

....  :  10.203.68.2 ....

-- Information Tool Log for MEMORY on path 8 --

Log creation time: Sat Feb  3 10:01:07 2007

Hardware path: 8


Basic Memory Description

    Module Type: MEMORY
    Total Configured Memory   : 4096 MB
    Page Size: 4096 Bytes

    Memory interleaving is supported on this machine and is ON.

Memory Board Inventory

   DIMM Slot      Size (MB)
   ---------      ---------
          0A           1024
          0B           1024
          1A           1024
          1B           1024
   ---------      ---------
   System Total (MB):  4096  (主机内存的信息,这台主机有四条1024MB的内存,一共4096MB,其中0A,0B的意思是内存在主板上的插槽的位置)

Memory Error Log Summary      (这个是系统内存的运行信息,如果有error信息的话内存就有可能存在问题)

    The memory error log is empty.

Page Deallocation Table (PDT)

    PDT Entries Used: 0  
    PDT Entries Free: 3000  
    PDT Total Size: 3000  
-- Information Tool Log for MEMORY on path 8 --
View   - To View the file.
Print  - To Print the file.
SaveAs - To Save the file.
Enter Done, Help, Print, SaveAs, or View: [Done]
cstm>exit   --------------------退出cstm

[ 本帖最后由 jingguo_yue 于 2007-2-3 10:18 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2007-02-04 17:15 |只看该作者
也可以scl type memory

论坛徽章:
0
3 [报告]
发表于 2008-08-14 10:51 |只看该作者
执行cstm   map后出现:
     HP-UX

  Dev                                                 Last        Last Op      
  Num  Path                 Product                   Active Tool Status      
  ===  ==================== ========================= =========== =============
    1  10                   Bus Adapter (582)         Information Successful   
    2  10/0                 PCI Bus Adapter (782)     Information Successful   
    3  10/0/12/0            Core PCI 100BT Interface  Information Successful   
    4  10/0/13/0            Audio Interface (11d41889 Information Successful   
    5  10/0/14/0            IDE Interface (100b0002)  Information Successful   
    6  10/0/14/0.0.0        SCSI Disk (MITSUMICD-ROM) Information Warning      
    7  10/0/14/1            PCI Core I/O Adapter (100 Information Successful   
    8  10/0/14/1/1          RS-232 Interface (100)    Information Successful   
    9  10/0/14/1/2          RS-232 Interface (100)    Information Successful   
   10  10/0/14/1/3          Centronics Interface (100 Information Successful   
   11  10/0/14/2            USB Interface (100b0012)  Information Successful   
   12  10/0/14/2.1          USB Root Hub (0)                                   
   13  10/0/15/0            PCI SCSI Interface (10000 Information Successful   
   14  10/0/15/0.5.0        SCSI Disk (QUANTUMAtlas4- Information Successful   
   15  10/0/15/0.6.0        SCSI Disk (QUANTUMAtlas4- Information Successful   
   16  10/1                 PCI Bus Adapter (782)     Information Successful   
   17  10/1/0/0             Graphics Interface (Pinna Information Successful   
   18  10/1/1/0             Fibre Channel Interface ( Information Successful   
   19  10/1/2/0             PCI 100 BaseT LAN Interfa Information Successful   
   20  10/1/3/0             PCI SCSI Interface (10000 Information Successful   
   21  32                   CPU (5d0)                 Information Successful   
   22  49                   MEMORY (9d)               Information Successful   
   23  es                   FC Network Storage (455)  

为什么没有 system这一项   我想看看机器的SN  还有别的什么方法吗?

论坛徽章:
0
4 [报告]
发表于 2008-08-14 10:53 |只看该作者
没看明白这个帖是干什么的。。

论坛徽章:
0
5 [报告]
发表于 2008-08-14 13:23 |只看该作者
getconf MACHINE_SERIAL

论坛徽章:
0
6 [报告]
发表于 2010-01-26 23:16 |只看该作者
看sn
cstm
sel dev 1
il
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP