免费注册 查看新帖 |

Chinaunix

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

hp-unix下用什么命令查看cpu类型、主频 [复制链接]

论坛徽章:
0
21 [报告]
发表于 2007-07-31 16:29 |只看该作者
原帖由 mpghhb 于 2007-7-31 14:48 发表
print_manifest


论坛徽章:
0
22 [报告]
发表于 2007-08-01 09:55 |只看该作者
print_manifest收集的信息非常的全面。

论坛徽章:
0
23 [报告]
发表于 2007-08-01 14:45 |只看该作者
stm 能查到详细信息的

论坛徽章:
0
24 [报告]
发表于 2007-08-02 10:58 |只看该作者
hahha

论坛徽章:
0
25 [报告]
发表于 2007-08-02 12:53 |只看该作者

呵呵

root@dongjin:/ #
root@dongjin:/ #
root@dongjin:/ #
root@dongjin:/ #
root@dongjin:/ #
root@dongjin:/ # cstm
Running Command File (/usr/sbin/stm/ui/config/.stmrc).

-- Information --
Support Tools Manager


Version C.56.00

Product Number B4708AA

(C) Copyright Hewlett Packard Co. 1995-2007
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
                               dongjin.chn.hp.com

  Dev                                                 Last        Last Op      
  Num  Path                 Product                   Active Tool Status      
  ===  ==================== ========================= =========== =============
    1  system               system ()                 Information Successful   
    2  1                    Cell (9)                                          
    3  1/0                  Bus Adapter (805)                                 
    4  1/0/0                PCI Bus Adapter (782)                              
    5  1/0/0/0/0            RS-232 Interface (103c129                          
    6  1/0/0/0/1            RS-232 Interface (103c104                          
    7  1/0/0/1/0            PCI Gigabit Ethernet Link                          
    8  1/0/0/2/0            PCI SCSI Interface (10000                          
    9  1/0/0/2/0.6.0        SCSI Disk (HP73.4GST37345                          
   10  1/0/0/2/1            PCI SCSI Interface (10000                          
   11  1/0/0/3/0            PCI SCSI Interface (10000                          
   12  1/0/0/3/1            PCI SCSI Interface (10000                          
   13  1/0/1                PCI Bus Adapter (783)                              
   14  1/0/2                PCI Bus Adapter (783)                              
   15  1/0/4                PCI Bus Adapter (783)                              
   16  1/0/6                PCI Bus Adapter (783)                              
   17  1/0/8                PCI Bus Adapter (783)                              
   18  1/0/8/1/0            PCI Bus Adapter (8086b154                          
   19  1/0/8/1/0/4/0        PCI 4 Port 100BT LAN (101                          
   20  1/0/8/1/0/5/0        PCI 4 Port 100BT LAN (101                          
   21  1/0/8/1/0/6/0        PCI 4 Port 100BT LAN (101                          
   22  1/0/8/1/0/7/0        PCI 4 Port 100BT LAN (101                          
   23  1/0/10               PCI Bus Adapter (783)                              
   24  1/0/12               PCI Bus Adapter (783)                              
   25  1/0/12/1/0           FC Interface (HPAB378A_QL                          
   26  1/0/12/1/0.1         Fibre Channel Driver (Mas                          
   27  1/0/12/1/0.1.1.0.0.0 SCSI Device (HPNS)                                 
   28  1/0/12/1/0.1.1.0.0.0 SCSI Tape (HPUltrium)                              
   29  1/0/12/1/0.1.1.255.0 SCSI Device (HPNS)                                 
   30  1/0/12/1/0.1.1.255.0 SCSI Tape (HPUltrium)                              
   31  1/0/12/1/0.1.7.255.0 SCSI Tape (HPUltrium)                              
   32  1/0/12/1/0.1.8.0.0.0 HP EVA XL Lite (HPHSV200)                          
   33  1/0/12/1/0.1.8.255.0 HP EVA XL Lite (HPHSV200)                          
   34  1/0/12/1/0.1.9.0.0.0 HP EVA XL Lite (HPHSV200)                          
   35  1/0/12/1/0.1.9.255.0 HP EVA XL Lite (HPHSV200)                          
   36  1/0/12/1/0.1.13.0.0. HP EVA 5000 (COMPAQHSV111                          
   37  1/0/12/1/0.1.13.255. HP EVA 5000 (COMPAQHSV111                          
   38  1/0/12/1/0.1.14.0.0. HP EVA 5000 (COMPAQHSV111                          
   39  1/0/12/1/0.1.14.255. HP EVA 5000 (COMPAQHSV111                          
   40  1/0/12/1/0.2         Fibre Channel Driver (Mas                          
   41  1/0/12/1/0.2.0.255.0 Virtual Array 7100 (HPA61                          
   42  1/0/12/1/0.2.1.0.0.0 HP EVA 5000 (COMPAQHSV111                          
   43  1/0/12/1/0.2.1.255.0 HP EVA 5000 (COMPAQHSV111                          
   44  1/0/12/1/0.2.4.0.0.0 HP EVA XL Lite (HPHSV200)                          
   45  1/0/12/1/0.2.4.255.0 HP EVA XL Lite (HPHSV200)                          
   46  1/0/12/1/0.2.5.0.0.0 HP EVA 5000 (COMPAQHSV111                          
   47  1/0/12/1/0.2.5.255.0 HP EVA 5000 (COMPAQHSV111                          
   48  1/0/12/1/0.2.11.0.0. HP EVA XL Lite (HPHSV200)                          
   49  1/0/12/1/0.2.11.255. HP EVA XL Lite (HPHSV200)                          
   50  1/0/14               PCI Bus Adapter (783)                              
   51  1/5                  MEMORY (b0)                                       
   52  1/6                  IPMI Controller (                                
   53  1/10                 CPU (88d)                 Information Successful   
   54  1/11                 CPU (88d)                 Information Successful   
cstm>sel dev 53 54
cstm>info
-- Updating Map --
Updating Map...
cstm>il
-- Converting multiple raw log files to text. --
Preparing the Information Tool Log for each selected device...

.... dongjin.chn.hp.com  :  16.158.62.32 ....

-- Information Tool Log for CPU on path 1/10 --

Log creation time: Thu Aug  2 12:46:38 2007

Hardware path: 1/10


Product ID:                CPU          Module Type:              0
Hardware Model:            0x88d        Software Model:           0x4         
Hardware Revision:         0            Software Revision:        0           
Hardware ID:               0            Software ID:              0           
Boot ID:                   0x2          Software Option:          0x91        
Processor Number:          0            Path:                     1/10        
Hard Physical Address:     0xfffffffffc0f0000     Soft Physical Address:    0  
        
Cabinet Number:            0            Cell Slot Number:         1           
CPU Number:                8            CPU Slot Number:          0           
PDC Firmware Revision:     24.1         IODC Revision:            0
Instruction Cache [Kbyte]: 768          Processor Speed:          1000000000  
Processor State:           CPU Present, Not Deconfigured
Monarch:                   Yes          Active:                   Yes         
Data Cache        [Kbyte]: 768         
Instruction TLB   [entry]: 240          Processor Chip Revisions: 4.1
Data TLB Size     [entry]: 240          2nd Level Cache Size:[KB] 65536      
Serial Number:             4960098a18bf0105



Processor 0x08 HPMC Information

No chassis codes logged

Timestamp = 00:00:00 GMT        00 0000

General Registers 0 - 31
00-03  0000000000000000  0000000000000000  0000000000000000  0000000000000000
04-07  0000000000000000  0000000000000000  0000000000000000  0000000000000000
08-11  0000000000000000  0000000000000000  0000000000000000  0000000000000000
12-15  0000000000000000  0000000000000000  0000000000000000  0000000000000000
16-19  0000000000000000  0000000000000000  0000000000000000  0000000000000000
20-23  0000000000000000  0000000000000000  0000000000000000  0000000000000000
24-27  0000000000000000  0000000000000000  0000000000000000  0000000000000000
28-31  0000000000000000  0000000000000000  0000000000000000  0000000000000000

-- Information Tool Log for each selected device --
View   - To View the file.
Print  - To Print the file.
SaveAs - To Save the file.
Enter Done, Help, Print, SaveAs, or View: [Done]
cstm>map
                               dongjin.chn.hp.com

  Dev                                                 Last        Last Op      
  Num  Path                 Product                   Active Tool Status      
  ===  ==================== ========================= =========== =============
    1  system               system ()                 Information Successful   
    2  1                    Cell (9)                                          
    3  1/0                  Bus Adapter (805)                                 
    4  1/0/0                PCI Bus Adapter (782)                              
    5  1/0/0/0/0            RS-232 Interface (103c129                          
    6  1/0/0/0/1            RS-232 Interface (103c104                          
    7  1/0/0/1/0            PCI Gigabit Ethernet Link                          
    8  1/0/0/2/0            PCI SCSI Interface (10000                          
    9  1/0/0/2/0.6.0        SCSI Disk (HP73.4GST37345                          
   10  1/0/0/2/1            PCI SCSI Interface (10000                          
   11  1/0/0/3/0            PCI SCSI Interface (10000                          
   12  1/0/0/3/1            PCI SCSI Interface (10000                          
   13  1/0/1                PCI Bus Adapter (783)                              
   14  1/0/2                PCI Bus Adapter (783)                              
   15  1/0/4                PCI Bus Adapter (783)                              
   16  1/0/6                PCI Bus Adapter (783)                              
   17  1/0/8                PCI Bus Adapter (783)                              
   18  1/0/8/1/0            PCI Bus Adapter (8086b154                          
   19  1/0/8/1/0/4/0        PCI 4 Port 100BT LAN (101                          
   20  1/0/8/1/0/5/0        PCI 4 Port 100BT LAN (101                          
   21  1/0/8/1/0/6/0        PCI 4 Port 100BT LAN (101                          
   22  1/0/8/1/0/7/0        PCI 4 Port 100BT LAN (101                          
   23  1/0/10               PCI Bus Adapter (783)                              
   24  1/0/12               PCI Bus Adapter (783)                              
   25  1/0/12/1/0           FC Interface (HPAB378A_QL                          
   26  1/0/12/1/0.1         Fibre Channel Driver (Mas                          
   27  1/0/12/1/0.1.1.0.0.0 SCSI Device (HPNS)                                 
   28  1/0/12/1/0.1.1.0.0.0 SCSI Tape (HPUltrium)                              
   29  1/0/12/1/0.1.1.255.0 SCSI Device (HPNS)                                 
   30  1/0/12/1/0.1.1.255.0 SCSI Tape (HPUltrium)                              
   31  1/0/12/1/0.1.7.255.0 SCSI Tape (HPUltrium)                              
   32  1/0/12/1/0.1.8.0.0.0 HP EVA XL Lite (HPHSV200)                          
   33  1/0/12/1/0.1.8.255.0 HP EVA XL Lite (HPHSV200)                          
   34  1/0/12/1/0.1.9.0.0.0 HP EVA XL Lite (HPHSV200)                          
   35  1/0/12/1/0.1.9.255.0 HP EVA XL Lite (HPHSV200)                          
   36  1/0/12/1/0.1.13.0.0. HP EVA 5000 (COMPAQHSV111                          
   37  1/0/12/1/0.1.13.255. HP EVA 5000 (COMPAQHSV111                          
   38  1/0/12/1/0.1.14.0.0. HP EVA 5000 (COMPAQHSV111                          
   39  1/0/12/1/0.1.14.255. HP EVA 5000 (COMPAQHSV111                          
   40  1/0/12/1/0.2         Fibre Channel Driver (Mas                          
   41  1/0/12/1/0.2.0.255.0 Virtual Array 7100 (HPA61                          
   42  1/0/12/1/0.2.1.0.0.0 HP EVA 5000 (COMPAQHSV111                          
   43  1/0/12/1/0.2.1.255.0 HP EVA 5000 (COMPAQHSV111                          
   44  1/0/12/1/0.2.4.0.0.0 HP EVA XL Lite (HPHSV200)                          
   45  1/0/12/1/0.2.4.255.0 HP EVA XL Lite (HPHSV200)                          
   46  1/0/12/1/0.2.5.0.0.0 HP EVA 5000 (COMPAQHSV111                          
   47  1/0/12/1/0.2.5.255.0 HP EVA 5000 (COMPAQHSV111                          
   48  1/0/12/1/0.2.11.0.0. HP EVA XL Lite (HPHSV200)                          
   49  1/0/12/1/0.2.11.255. HP EVA XL Lite (HPHSV200)                          
   50  1/0/14               PCI Bus Adapter (783)                              
   51  1/5                  MEMORY (b0)                                       
   52  1/6                  IPMI Controller (                                
*  53  1/10                 CPU (88d)                 Information Successful   
*  54  1/11                 CPU (88d)                 Information Successful   
cstm>usal
cstm>sel dev 51
cstm>info
-- Updating Map --
Updating Map...
cstm>map
                               dongjin.chn.hp.com

  Dev                                                 Last        Last Op      
  Num  Path                 Product                   Active Tool Status      
  ===  ==================== ========================= =========== =============
    1  system               system ()                 Information Successful   
    2  1                    Cell (9)                                          
    3  1/0                  Bus Adapter (805)                                 
    4  1/0/0                PCI Bus Adapter (782)                              
    5  1/0/0/0/0            RS-232 Interface (103c129                          
    6  1/0/0/0/1            RS-232 Interface (103c104                          
    7  1/0/0/1/0            PCI Gigabit Ethernet Link                          
    8  1/0/0/2/0            PCI SCSI Interface (10000                          
    9  1/0/0/2/0.6.0        SCSI Disk (HP73.4GST37345                          
   10  1/0/0/2/1            PCI SCSI Interface (10000                          
   11  1/0/0/3/0            PCI SCSI Interface (10000                          
   12  1/0/0/3/1            PCI SCSI Interface (10000                          
   13  1/0/1                PCI Bus Adapter (783)                              
   14  1/0/2                PCI Bus Adapter (783)                              
   15  1/0/4                PCI Bus Adapter (783)                              
   16  1/0/6                PCI Bus Adapter (783)                              
   17  1/0/8                PCI Bus Adapter (783)                              
   18  1/0/8/1/0            PCI Bus Adapter (8086b154                          
   19  1/0/8/1/0/4/0        PCI 4 Port 100BT LAN (101                          
   20  1/0/8/1/0/5/0        PCI 4 Port 100BT LAN (101                          
   21  1/0/8/1/0/6/0        PCI 4 Port 100BT LAN (101                          
   22  1/0/8/1/0/7/0        PCI 4 Port 100BT LAN (101                          
   23  1/0/10               PCI Bus Adapter (783)                              
   24  1/0/12               PCI Bus Adapter (783)                              
   25  1/0/12/1/0           FC Interface (HPAB378A_QL                          
   26  1/0/12/1/0.1         Fibre Channel Driver (Mas                          
   27  1/0/12/1/0.1.1.0.0.0 SCSI Device (HPNS)                                 
   28  1/0/12/1/0.1.1.0.0.0 SCSI Tape (HPUltrium)                              
   29  1/0/12/1/0.1.1.255.0 SCSI Device (HPNS)                                 
   30  1/0/12/1/0.1.1.255.0 SCSI Tape (HPUltrium)                              
   31  1/0/12/1/0.1.7.255.0 SCSI Tape (HPUltrium)                              
   32  1/0/12/1/0.1.8.0.0.0 HP EVA XL Lite (HPHSV200)                          
   33  1/0/12/1/0.1.8.255.0 HP EVA XL Lite (HPHSV200)                          
   34  1/0/12/1/0.1.9.0.0.0 HP EVA XL Lite (HPHSV200)                          
   35  1/0/12/1/0.1.9.255.0 HP EVA XL Lite (HPHSV200)                          
   36  1/0/12/1/0.1.13.0.0. HP EVA 5000 (COMPAQHSV111                          
   37  1/0/12/1/0.1.13.255. HP EVA 5000 (COMPAQHSV111                          
   38  1/0/12/1/0.1.14.0.0. HP EVA 5000 (COMPAQHSV111                          
   39  1/0/12/1/0.1.14.255. HP EVA 5000 (COMPAQHSV111                          
   40  1/0/12/1/0.2         Fibre Channel Driver (Mas                          
   41  1/0/12/1/0.2.0.255.0 Virtual Array 7100 (HPA61                          
   42  1/0/12/1/0.2.1.0.0.0 HP EVA 5000 (COMPAQHSV111                          
   43  1/0/12/1/0.2.1.255.0 HP EVA 5000 (COMPAQHSV111                          
   44  1/0/12/1/0.2.4.0.0.0 HP EVA XL Lite (HPHSV200)                          
   45  1/0/12/1/0.2.4.255.0 HP EVA XL Lite (HPHSV200)                          
   46  1/0/12/1/0.2.5.0.0.0 HP EVA 5000 (COMPAQHSV111                          
   47  1/0/12/1/0.2.5.255.0 HP EVA 5000 (COMPAQHSV111                          
   48  1/0/12/1/0.2.11.0.0. HP EVA XL Lite (HPHSV200)                          
   49  1/0/12/1/0.2.11.255. HP EVA XL Lite (HPHSV200)                          
   50  1/0/14               PCI Bus Adapter (783)                              
*  51  1/5                  MEMORY (b0)               Information Starting     
   52  1/6                  IPMI Controller (                                
   53  1/10                 CPU (88d)                 Information Successful   
   54  1/11                 CPU (88d)                 Information Successful   
cstm>info
-- Updating Map --
Updating Map...
cstm>il
-- Converting a (2036) byte raw log file to text. --
Preparing the Information Tool Log for MEMORY on path 1/5 File ...

.... dongjin.chn.hp.com  :  16.158.62.32 ....

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

Log creation time: Thu Aug  2 12:47:31 2007

Hardware path: 1/5


Basic Memory Description

    Module Type: MEMORY
    Total Configured Memory   : 2048 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
    Slot   Size (MB)  Size (MB)
    ----   ---------  ---------
      0     512        512
      1     512        512
      2       0          0
      3       0          0
      4       0          0
      5       0          0
      6       0          0
      7       0          0

    Cell Total (MB): 2048
    -------------------------------------------------

    System Total (MB):       2048  

Memory Error Log Summary

    The memory error log is empty.

Page Deallocation Table (PDT)

    PDT Entries Used: 0  
    PDT Entries Free: 200  
    PDT Total Size: 200  
-- 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]


你还要看什么??    随便选...............

论坛徽章:
0
26 [报告]
发表于 2008-06-09 16:24 |只看该作者
26  1/0/14               PCI Bus Adapter (103c12ee                          
   27  1/120                CPU (1016)                                         
   28  1/121                CPU (1016)                                         
   29  1/250                Core I/O Adapter (fffffff                          
   30  1/250/0              ACPI Device (41435049)                             
   31  1/250/1              IPMI Controller (49504930 Information Successful   
   32  1/250/2              RS-232 Interface (504e503 Information Successful   
cstm>sel 27
         ^-- Syntax error. --
Expected the selection keyword "device", "path" or "all".

cstm>sel dev 27
cstm>info
     ^-- (Information) is currently disabled. --



Why???

and i try to /sbin/init.d/diagnostic stop  & start still can't work

[ 本帖最后由 gzxmdl 于 2008-6-9 16:27 编辑 ]

论坛徽章:
0
27 [报告]
发表于 2008-06-09 17:02 |只看该作者
osrev=`uname -r|awk -F. '{ print $2 }'`
if [ $osrev -gt 10 ] ;
        then
        if model | grep -qi IA64; then ADBOPT="-o" else ADBOPT="";fi
        HZ=`echo itick_per_tick/D|adb $ADBOPT /stand/vmunix /dev/kmem|grep tic|tail -1|cut -d: -f2`
        else
        HZ=`echo itick_per_tick/D|adb -k /stand/vmunix /dev/kmem|tail -1|cut -f2`
fi
((MHZ=(($HZ+1)/10000)))
echo "CPU Speed:              $MHZ MHz"
echo "Number of CPUs:         `ioscan -k|grep processor|wc -l` "

论坛徽章:
0
28 [报告]
发表于 2008-06-09 17:04 |只看该作者
要看你是什么版本了:11.11的用cstm或者mstm,11.23的可以直接使用machinfo查看

论坛徽章:
0
29 [报告]
发表于 2008-06-09 17:05 |只看该作者

回复 #26 gzxmdl 的帖子

11.23的在cstm里面看不了,要用machinfo

/sbin/init.d/diagnostic stop  & start是在cstm由于修改网络设置后不能工作的时候用的,你的版本应该是11.23的在cstm里面看不到cpu的详细信息的

[ 本帖最后由 ziyoushen2002 于 2008-6-9 17:08 编辑 ]

论坛徽章:
0
30 [报告]
发表于 2008-06-09 22:16 |只看该作者
原帖由 ziyoushen2002 于 2008-6-9 17:05 发表
11.23的在cstm里面看不了,要用machinfo

/sbin/init.d/diagnostic stop  & start是在cstm由于修改网络设置后不能工作的时候用的,你的版本应该是11.23的在cstm里面看不到cpu的详细信息的



确实是11.23的,谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP