免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: empo007
打印 上一主题 下一主题

请问HP UX中如何查询内存为多少? [复制链接]

论坛徽章:
0
11 [报告]
发表于 2006-08-31 18:01 |只看该作者
最初由 小土鸡 发布
[B]你执行map后不就回显了设备及其设备号了吗?[/COLOR] :confused: [/B]


::

还是给他一个例子吧

cstm>map
                                 

  Dev                                                 Last        Last Op      
  Num  Path                 Product                   Active Tool Status      
  ===  ==================== ========================= =========== =============
    1  system               system ()                 Information Successful   
    2  0                    Bus Adapter (803)         Information Successful   
    3  0/0                  PCI Bus Adapter (782)     Information Successful   
    4  0/0/0/0              Core PCI 100BT Interface  Information Successful   
    5  0/0/1/0              PCI SCSI Interface (10000 Information Successful   
    6  0/0/2/0              PCI SCSI Interface (10000 Information Successful   
    7  0/0/2/0.6.0          SCSI Disk (SEAGATEST39103 Information Successful   
    8  0/0/2/1              PCI SCSI Interface (10000 Information Successful   
    9  0/0/2/1.6.0          SCSI Disk (SEAGATEST39103 Information Successful   
   10  0/0/4/0              RS-232 Interface (103c104 Information Successful   
   11  0/0/5/0              RS-232 Interface (103c104 Information Successful   
   12  0/1                  PCI Bus Adapter (782)     Information Successful   
   13  0/2                  PCI Bus Adapter (782)     Information Successful   
   14  0/4                  PCI Bus Adapter (782)     Information Successful   
   15  0/5                  PCI Bus Adapter (782)     Information Successful   
   16  0/8                  PCI Bus Adapter (782)     Information Successful   
   17  0/10                 PCI Bus Adapter (782)     Information Successful   
   18  0/12                 PCI Bus Adapter (782)     Information Successful   
   19  1                    Bus Adapter (803)         Information Successful   
   20  1/0                  PCI Bus Adapter (782)     Information Successful   
   21  1/2                  PCI Bus Adapter (782)     Information Successful   
   22  1/2/0/0              Fibre Channel Interface ( Information Successful   
   23  1/4                  PCI Bus Adapter (782)     Information Successful   
   24  1/8                  PCI Bus Adapter (782)     Information Successful   
   25  1/10                 PCI Bus Adapter (782)     Information Successful   
   26  1/10/0/0             PCI SCSI Interface (10000 Information Successful   
   27  1/10/0/1             PCI SCSI Interface (10000 Information Successful   
   28  1/12                 PCI Bus Adapter (782)     Information Successful   
   29  37                   CPU (5be)                 Information Successful   
   30  192                  MEMORY (90)  [/COLOR]            Information Successful   
cstm>sel dev 30
cstm>info
-- Updating Map --
Updating Map...
cstm>il
-- Converting a (1204) byte raw log file to text. --
Preparing the Information Tool Log for MEMORY on path 192 File ...

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

Log creation time: Tue Aug 29 17:59:11 2006

Hardware path: 192


Basic Memory Description

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

    Memory interleaving is supported on this machine and is ON.

Memory Board Inventory

   Extender
   Slot Num  Configured and Slot label for each DIMM (MB)
   --------  --------------------------------------------
               0a   2a   1a   3a   3b   1b   2b   0b
             ---- ---- ---- ---- ---- ---- ---- ----

      EXT 0   512    0    0    0    0    0    0  512
   ------------------------------------------------------
   System Total (MB):       1024  

Memory Error Log Summary

    The memory error log is empty.

Page Deallocation Table (PDT)

    PDT Entries Used: 0  
    PDT Entries Free: 256  
    PDT Total Size: 256  
-- Information Tool Log for MEMORY on path 192 --
View   - To View the file.
Print  - To Print the file.
SaveAs - To Save the file.

论坛徽章:
0
12 [报告]
发表于 2006-09-01 09:17 |只看该作者
谢谢楼主啊,我才熟悉hpux的,非常感谢哦!

论坛徽章:
0
13 [报告]
发表于 2006-09-13 20:43 |只看该作者

dmesg的专业用法

# dmesg | grep -i physical

论坛徽章:
0
14 [报告]
发表于 2006-09-13 20:44 |只看该作者

cstm秘技

我们知道在hp高端服务器中如果在cstm中用map可能出来好多屏,找设备号比较麻烦,建议map完后,使用selclass type memory;info;il

论坛徽章:
0
15 [报告]
发表于 2006-09-13 20:45 |只看该作者

当然

做为专业人士你在使用玩cstm后别忘了usal,然后退出

论坛徽章:
4
IT运维版块每日发帖之星
日期:2015-09-06 06:20:00数据库技术版块每日发帖之星
日期:2015-09-06 06:20:00数据库技术版块每日发帖之星
日期:2016-07-10 06:20:00IT运维版块每日发帖之星
日期:2016-07-12 06:20:00
16 [报告]
发表于 2006-09-19 04:58 |只看该作者
cstm>map
                        xxxxxxxxxxxxxxxxxxxxxxxx.

  Dev                                                 Last        Last Op      
  Num  Path                 Product                   Active Tool Status      
  ===  ==================== ========================= =========== =============
    1  system               system ()                 Information Successful   
    2  0                    Cell (6)                  Information Successful   
    3  0/0                  Bus Adapter (804)         Information Successful   
    4  0/0/0                PCI Bus Adapter (782)     Information Successful   
    5  0/0/0/0/1            RS-232 Interface (103c104 Information Successful   
    6  0/0/0/3/0            PCI SCSI Interface (10000 Information Successful   
    7  0/0/0/3/1            PCI SCSI Interface (10000 Information Successful   
    8  0/0/1                PCI Bus Adapter (782)     Information Successful   
    9  0/0/2                PCI Bus Adapter (782)     Information Successful   
   10  0/0/4                PCI Bus Adapter (782)     Information Successful   
   11  0/0/4/0/0            Fibre Channel Interface ( Information Successful   
   12  0/0/6                PCI Bus Adapter (782)     Information Successful   
   13  0/0/6/0/0            Fibre Channel Interface ( Information Successful   
   14  0/0/6/0/0.4          Fibre Channel Driver (Mas                          
   15  0/0/6/0/0.4.6.255.0. Unknown ()                                         
   16  0/0/6/0/0.4.15.0.0.0 XP Array (HPOPEN-E)                                
   17  0/0/6/0/0.4.15.0.0.1 XP Array (HPOPEN-E)                                
   18  0/0/6/0/0.4.15.0.0.2 XP Array (HPOPEN-E)                                
   19  0/0/6/0/0.4.15.0.0.3 XP Array (HPOPEN-E)                                
   20  0/0/6/0/0.4.15.0.0.4 XP Array (HPDISK-SUBSYSTE                          
   21  0/0/6/0/0.4.15.0.0.5 XP Array (HPDISK-SUBSYSTE                          
   22  0/0/6/0/0.4.15.0.0.6 XP Array (HPDISK-SUBSYSTE                          
   23  0/0/6/0/0.4.15.0.0.7 XP Array (HPDISK-SUBSYSTE                          
   24  0/0/6/0/0.4.15.0.0.8 XP Array (HPDISK-SUBSYSTE                          
   25  0/0/6/0/0.4.15.0.0.9 XP Array (HPDISK-SUBSYSTE                          
   26  0/0/6/0/0.4.15.0.0.1 XP Array (HPDISK-SUBSYSTE                          
   27  0/0/6/0/0.4.15.0.0.1 XP Array (HPDISK-SUBSYSTE                          
   28  0/0/6/0/0.4.15.0.0.1 XP Array (HPDISK-SUBSYSTE                          
   29  0/0/6/0/0.4.15.0.0.1 XP Array (HPDISK-SUBSYSTE                          
   30  0/0/6/0/0.4.15.0.0.1 XP Array (HPDISK-SUBSYSTE                          
   31  0/0/6/0/0.4.15.0.0.1 XP Array (HPDISK-SUBSYSTE                          
   32  0/0/6/0/0.4.15.255.0 XP Array (HPOPEN-XP1024)                           
   33  0/0/6/0/0.4.15.255.0 SCSI Device (HPOPEN-XP102                          
   34  0/0/6/0/0.35         Fibre Channel Driver (Mas                          
   35  0/0/8                PCI Bus Adapter (782)     Information Successful   
   36  0/0/8/0/0            PCI Bus Adapter (101401a7 Information Successful   
   37  0/0/8/0/0/1/0        PCI SCSI Interface (10000 Information Successful   
   38  0/0/8/0/0/1/1        PCI SCSI Interface (10000 Information Successful   
   39  0/0/8/0/0/4/0        PCI 1000 Base-T Adapter ( Information Successful   
   40  0/0/10               PCI Bus Adapter (782)     Information Successful   
   41  0/0/10/0/0           PCI SCSI Interface (10000 Information Successful   
   42  0/0/10/0/1           PCI SCSI Interface (10000 Information Successful   
   43  0/0/12               PCI Bus Adapter (782)     Information Successful   
   44  0/0/12/0/0           PCI Bus Adapter (8086b154 Information Successful   
   45  0/0/12/0/0/4/0       Unknown (10110019)                                 
   46  0/0/12/0/0/5/0       Unknown (10110019)                                 
   47  0/0/12/0/0/6/0       Unknown (10110019)                                 
   48  0/0/12/0/0/7/0       Unknown (10110019)                                 
   49  0/0/14               PCI Bus Adapter (782)     Information Successful   
   50  0/0/14/0/0           Fibre Channel Interface ( Information Successful   
   51  0/5                  MEMORY (a7)               Information Successful   
   52  0/10                 CPU (5e4)                 Information Successful   
   53  0/11                 CPU (5e4)                 Information Successful   
   54  1                    Cell (6)                  Information Successful   
   55  1/0                  Bus Adapter (804)         Information Successful   
   56  1/0/0                PCI Bus Adapter (782)     Information Successful   
   57  1/0/0/0/1            RS-232 Interface (103c104 Information Successful   
   58  1/0/0/3/0            PCI SCSI Interface (10000 Information Successful   
   59  1/0/0/3/0.6.0        SCSI Disk (HP36.4GST33675 Information Successful   
   60  1/0/0/3/1            PCI SCSI Interface (10000 Information Successful   
   61  1/0/0/3/1.2.0        SCSI Disk (HPDVD-ROM)     Information Warning      
   62  1/0/1                PCI Bus Adapter (782)     Information Successful   
   63  1/0/1/0/0            PCI Bus Adapter (101401a7 Information Successful   
   64  1/0/1/0/0/1/0        PCI SCSI Interface (10000 Information Successful   
   65  1/0/1/0/0/1/1        PCI SCSI Interface (10000 Information Successful   
   66  1/0/1/0/0/4/0        PCI 1000 Base-T Adapter ( Information Successful   
   67  1/0/2                PCI Bus Adapter (782)     Information Successful   
   68  1/0/2/0/0            PCI SCSI Interface (10000 Information Successful   
   69  1/0/2/0/0.6.0        SCSI Disk (HP36.4GST33675 Information Successful   
   70  1/0/2/0/1            PCI SCSI Interface (10000 Information Successful   
   71  1/0/4                PCI Bus Adapter (782)     Information Successful   
   72  1/0/4/0/0            PCI Bus Adapter (8086b154 Information Successful   
   73  1/0/4/0/0/4/0        Unknown (10110019)                                 
   74  1/0/4/0/0/5/0        Unknown (10110019)                                 
   75  1/0/4/0/0/6/0        Unknown (10110019)                                 
   76  1/0/4/0/0/7/0        Unknown (10110019)                                 
   77  1/0/6                PCI Bus Adapter (782)     Information Successful   
   78  1/0/6/0/0            Fibre Channel Interface ( Information Successful   
   79  1/0/6/0/0.4          Fibre Channel Driver (Mas                          
   80  1/0/6/0/0.4.6.255.0. Unknown ()                                         
   81  1/0/6/0/0.4.15.0.0.0 XP Array (HPOPEN-E)                                
   82  1/0/6/0/0.4.15.0.0.1 XP Array (HPOPEN-E)                                
   83  1/0/6/0/0.4.15.0.0.2 XP Array (HPOPEN-E)                                
   84  1/0/6/0/0.4.15.0.0.3 XP Array (HPOPEN-E)                                
   85  1/0/6/0/0.4.15.0.0.4 XP Array (HPDISK-SUBSYSTE                          
   86  1/0/6/0/0.4.15.0.0.5 XP Array (HPDISK-SUBSYSTE                          
   87  1/0/6/0/0.4.15.0.0.6 XP Array (HPDISK-SUBSYSTE                          
   88  1/0/6/0/0.4.15.0.0.7 XP Array (HPDISK-SUBSYSTE                          
   89  1/0/6/0/0.4.15.0.0.8 XP Array (HPDISK-SUBSYSTE                          
   90  1/0/6/0/0.4.15.0.0.9 XP Array (HPDISK-SUBSYSTE                          
   91  1/0/6/0/0.4.15.0.0.1 XP Array (HPDISK-SUBSYSTE                          
   92  1/0/6/0/0.4.15.0.0.1 XP Array (HPDISK-SUBSYSTE                          
   93  1/0/6/0/0.4.15.0.0.1 XP Array (HPDISK-SUBSYSTE                          
   94  1/0/6/0/0.4.15.0.0.1 XP Array (HPDISK-SUBSYSTE                          
   95  1/0/6/0/0.4.15.0.0.1 XP Array (HPDISK-SUBSYSTE                          
   96  1/0/6/0/0.4.15.0.0.1 XP Array (HPDISK-SUBSYSTE                          
   97  1/0/6/0/0.4.15.255.0 XP Array (HPOPEN-XP1024)                           
   98  1/0/6/0/0.4.15.255.0 SCSI Device (HPOPEN-XP102                          
   99  1/0/6/0/0.35         Fibre Channel Driver (Mas                          
  100  1/0/8                PCI Bus Adapter (782)     Information Successful   
  101  1/0/10               PCI Bus Adapter (782)     Information Successful   
  102  1/0/12               PCI Bus Adapter (782)     Information Successful   
  103  1/0/12/0/0           Fibre Channel Interface ( Information Successful   
  104  1/0/14               PCI Bus Adapter (782)     Information Successful   
  105  1/0/14/0/0           Fibre Channel Interface ( Information Successful   
  106  1/5                  MEMORY (a7)               Information Successful   
  107  1/10                 CPU (5e4)                 Information Successful   
  108  1/11                 CPU (5e4)                 Information Successful   
cstm>sel dec 106
         ^-- Syntax error. --
Expected the selection keyword \"device\", \"path\" or \"all\".

cstm>sel device 106
cstm>il
-- Converting a (4676) byte raw log file to text. --
Preparing the Information Tool Log for MEMORY on path 1/5 File ...

.... boi395.boise.itc.hp.com  :  15.56.16.158 ....

-- Information Tool Log for MEMORY on path 1/5 --

Log creation time: Sun Sep 17 22:01:01 2006

Hardware path: 1/5


Basic Memory Description

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

    Memory interleaving is supported on this machine and is ON.

Memory Board Inventory

    CAB/CELL: 0/1

          DIMM A     DIMM B     DIMM C     DIMM D
    Slot   Size (MB)  Size (MB)  Size (MB)  Size (MB)
    ----   ---------  ---------  ---------  ---------
     0     512        512        512        512
     1     512        512        512        512
     2     512        512        512        512
     3     512        512        512        512
     4       0          0          0          0
     5       0          0          0          0
     6       0          0          0          0
     7       0          0          0          0

    Cell Total (MB): 8192
    -------------------------------------------------

    CAB/CELL: 0/0

          DIMM A     DIMM B     DIMM C     DIMM D
    Slot   Size (MB)  Size (MB)  Size (MB)  Size (MB)
    ----   ---------  ---------  ---------  ---------
     0     512        512        512        512
     1     512        512        512        512
     2     512        512        512        512
     3     512        512        512        512
     4       0          0          0          0
     5       0          0          0          0
     6       0          0          0          0
     7       0          0          0          0

    Cell Total (MB): 8192
    -------------------------------------------------

    System Total (MB):      16384  

Memory Error Log Summary

                                                  Error
    CAB/CELL DIMM  Error Address      Error Type  Page       Count
    -------------  -----------------  ----------  ---------  -----
          0/0 1A  0x00000003a87b4e80  Single-Bit  0x03a87b4      1
          0/1 3B  0x000000021e7e1fc0  Single-Bit  0x021e7e1      1
          0/1 1A  0x0000000353943ac0  Single-Bit  0x0353943      1
          0/1 2D  0x00000002153b8540  Single-Bit  0x02153b8      1

    System start: Sat Aug  6 11:01:02 2005.
    Last error check: Sun Sep 17 21:24:42 2006.
    Logging interval: 3600 seconds.
    4 address(es) with errors logged by memory logging daemon.

    The Logtool Utility provides full details about the memory error log.

Page Deallocation Table (PDT)

    PDT Entries Used: 0  
    PDT Entries Free: 100  
    PDT Total Size: 100  
-- Information Tool Log for MEMORY on path 1/5 --
View   - To View the file.
Print  - To Print the file.
SaveAs - To Save the file.
Enter Done, Help, Print, SaveAs, or View: [Done]
cstm>

论坛徽章:
0
17 [报告]
发表于 2006-09-19 12:56 |只看该作者

你什么意思呀?

最初由 yanggq 发布
[B]cstm>map
                        xxxxxxxxxxxxxxxxxxxxxxxx.


cstm>sel dec 106
         ^-- Syntax error. --

-----〉这个应该是sel dev 106
Expected the selection keyword \"device\", \"path\" or \"all\".

Memory Error Log Summary

                                                  Error
    CAB/CELL DIMM  Error Address      Error Type  Page       Count
    -------------  -----------------  ----------  ---------  -----
          0/0 1A  0x00000003a87b4e80  Single-Bit  0x03a87b4      1
          0/1 3B  0x000000021e7e1fc0  Single-Bit  0x021e7e1      1
          0/1 1A  0x0000000353943ac0  Single-Bit  0x0353943      1
          0/1 2D  0x00000002153b8540  Single-Bit  0x02153b8      1
---------------->有4条single-Bit error,可以忽略,上百条才有问题,如果是double-Bit error,就要更换内存条了。

cstm> [/B]

论坛徽章:
0
18 [报告]
发表于 2007-03-07 09:29 |只看该作者
我手头只有linux,所以都没法试试。

论坛徽章:
0
19 [报告]
发表于 2007-03-15 13:53 |只看该作者
没看明白,不过我照命令敲一下,倒是看到啊如下结果了
hongz_35> cstm
Running Command File (/usr/sbin/stm/ui/config/.stmrc).

-- Information --
Support Tools Manager


Version A.29.00

Product Number B4708AA

(C) Copyright Hewlett Packard Co. 1995-2001
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
                                       nms

  Dev                                                 Last        Last Op      
  Num  Path                 Product                   Active Tool Status      
  ===  ==================== ========================= =========== =============
    1  10                   Bus Adapter (582)                                 
    2  10/0                 PCI Bus Adapter (782)                              
    3  10/0/12/0            Core PCI 100BT Interface                           
    4  10/0/14/0            IDE Interface (100b0002)                           
    5  10/0/14/0.0.0        SCSI Disk (MITSUMICD-ROM)                          
    6  10/0/14/1            PCI Core I/O Adapter (100                          
    7  10/0/14/1/1          RS-232 Interface (100)                             
    8  10/0/14/1/2          RS-232 Interface (100)                             
    9  10/0/14/1/3          Centronics Interface (100                          
   10  10/0/14/2            USB Interface (100b0012)                           
   11  10/0/14/2.1          USB Root Hub (0)                                   
   12  10/0/15/0            PCI SCSI Interface (10000                          
   13  10/0/15/0.6.0        SCSI Disk (HP18.2GST31840                          
   14  10/1                 PCI Bus Adapter (782)                              
   15  10/1/3/0             Graphics Interface (Pinna                          
   16  32                   CPU (5de)                 Information Successful   
   17  49                   MEMORY (a4)                                       

cstm>sel dev 17
cstm>info
-- Updating Map --
Updating Map...
cstm>il
-- Converting a (1300) byte raw log file to text. --
Preparing the Information Tool Log for MEMORY on path 49 File ...

.... nms  :  10.46.6.209 ....

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

Log creation time: Thu Mar 15 22:06:09 2007

Hardware path: 49


Basic Memory Description

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

    Memory interleaving is supported on this machine and is ON.

Memory Board Inventory

   DIMM Slot      Size (MB)
   ---------      ---------
          00            512
          01            256
          02            256
   ---------      ---------
   System Total (MB):  1024

Memory Error Log Summary

    The memory error log is empty.

Page Deallocation Table (PDT)

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

论坛徽章:
0
20 [报告]
发表于 2007-05-15 11:23 |只看该作者
cstm -> sel dev 191
        -> il
  not requestion
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP