打印

请问HP UX中如何查询内存为多少?

cstm秘技

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

TOP

当然

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

TOP

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>
好好学习,天天向上 ------------------------------ 我也有itpub邮箱了耶 "$我的id"@itpub.net http://www.dbanotes.net/ EvDBT ORAPERF ASKTOM TAHITI IXORA [URL=http://www.eygle.com/]Eygle[/URL]

TOP

你什么意思呀?

引用:
最初由 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]

TOP

.....很多的方法啊!

TOP

dmesg
1

TOP

top也能看出来啊
cyr1974@163.com 业余台球爱好者

TOP

看个人习惯了~

TOP

cstm怎么玩,没看明白

TOP

我手头只有linux,所以都没法试试。
我懒但想学习 过了大半个月才发现的[url=http://cjf107.itpub.net]blog[/url]

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-8-22 12:05 京ICP证060528 号

Designed By 17DST