Operating System - HP-UX
1753525 Members
5702 Online
108795 Solutions
New Discussion юеВ

Re: RP8400 check No. of CPU and Memory

 
SOLVED
Go to solution
Kenny Lee_8
Frequent Advisor

RP8400 check No. of CPU and Memory

I had two MP into one host, so I cannot find out by glance or SAM for which MP had how many memory or CPU.

I think I need to use cstm for the case, may I know the command to check how many memmory or cpu.
5 REPLIES 5
Suraj K Sankari
Honored Contributor
Solution

Re: RP8400 check No. of CPU and Memory

Hi,
you can get memory and cpu information from /var/adm/syslog/syslog.log

$ grep -i physical /var/adm/syslog/syslog.log
Sep 20 23:30:59 testbox vmunix: physical page size = 4096 bytes, logical page size = 4096 bytes
Sep 20 23:30:59 testbox vmunix: Physical: 16775168 Kbytes, lockable: 12605792 Kbytes, available: 14636948 Kbytes
$ grep -i ncpus /var/adm/syslog/syslog.log
Sep 20 23:33:20 testbox /usr/sbin/nfsd[2925]: nfsd do_one mpctl succeeded: ncpus = 4.

Suraj
Khairy
Esteemed Contributor

Re: RP8400 check No. of CPU and Memory

hi kenny,

to use cstm, you could try the following.

# echo "Map SelAll Information ; wait InfoLog Quit OK" | cstm > /tmp/devicelist

this will pipe the entire output to /tmp/devicelist. It will also show you memory dimm type and config in the server in a long list.

To select one by one. You could do interactively with cstm. Example, let assume your memory is device 30.

1) start cstm
# cstm

2) display all device
cstm > map

3) after view, maybe the memory is item 30. Select it.
cstm > sel dev 30
cstm > information ;wait

4) view it
cstm > infolog

Regards
Steven E. Protter
Exalted Contributor

Re: RP8400 check No. of CPU and Memory

Shalom,

It gets more confusing with some machines due to dual core cpu's showing up as multiple cpu's in top.

mstm
cstm
xstm

These are the tools part of the free online diagnostics package that should be used to check hardware integrity and get a count on memory chips and cpu's.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Kenny Lee_8
Frequent Advisor

Re: RP8400 check No. of CPU and Memory

Yes I find out 0/10 - 0/13 and 2/10 - 2/13 is CPU, but how about the Ram ? how do I know the Ram is 256M Per slot or 1G Per slot?



29 0/10 CPU (5eb) Information Successful
30 0/11 CPU (5eb) Information Successful
31 0/12 CPU (5eb) Information Successful
32 0/13 CPU (5eb) Information Successful

86 2/10 CPU (5eb) Information Successful
87 2/11 CPU (5eb) Information Successful
88 2/12 CPU (5eb) Information Successful
89 2/13 CPU (5eb) Information Successful

1 system system () Information Successful
2 0 Cell (5) 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/1/0 PCI Gigabit Ethernet Link Information Successful
7 0/0/0/2/0 PCI SCSI Interface (10000 Information Successful
8 0/0/0/2/0.6.0 SCSI Disk (HP36.4GST33675 Information Successful
9 0/0/0/2/1 PCI SCSI Interface (10000 Information Successful
10 0/0/0/2/1.2.0 SCSI Disk (HPDVD-ROM) Information Warning
11 0/0/0/3/0 PCI SCSI Interface (10000 Information Successful
12 0/0/0/3/0.6.0 SCSI Disk (HP36.4GST33675 Information Successful
13 0/0/0/3/1 PCI SCSI Interface (10000 Information Successful
14 0/0/1 PCI Bus Adapter (782) Information Successful
15 0/0/2 PCI Bus Adapter (782) Information Successful
16 0/0/4 PCI Bus Adapter (782) Information Successful
17 0/0/6 PCI Bus Adapter (782) Information Successful
18 0/0/8 PCI Bus Adapter (782) Information Successful
19 0/0/8/0/0 PCI Gigabit Ethernet Link Information Successful
20 0/0/10 PCI Bus Adapter (782) Information Successful
21 0/0/10/0/0 PCI Bus Adapter (8086b154 Information Successful
22 0/0/10/0/0/4/0 PCI 4 Port 100BT LAN (101 Information Successful
23 0/0/10/0/0/5/0 PCI 4 Port 100BT LAN (101 Information Successful
24 0/0/10/0/0/6/0 PCI 4 Port 100BT LAN (101 Information Successful
25 0/0/10/0/0/7/0 PCI 4 Port 100BT LAN (101 Information Successful
26 0/0/12 PCI Bus Adapter (782) Information Successful
27 0/0/14 PCI Bus Adapter (782) Information Successful
28 0/5 MEMORY (a1) Information Successful
29 0/10 CPU (5eb) Information Successful
30 0/11 CPU (5eb) Information Successful
31 0/12 CPU (5eb) Information Successful
32 0/13 CPU (5eb) Information Successful
33 2 Cell (5) Information Successful
34 2/0 Bus Adapter (805) Information Successful
35 2/0/0 PCI Bus Adapter (782) Information Successful
36 2/0/0/0/1 RS-232 Interface (103c104 Information Successful
37 2/0/0/1/0 PCI Gigabit Ethernet Link Information Successful
38 2/0/0/2/0 PCI SCSI Interface (10000 Information Successful
39 2/0/0/2/0.6.0 SCSI Disk (HP36.4GST33675
40 2/0/0/2/1 PCI SCSI Interface (10000 Information Successful
41 2/0/0/2/1.2.0 SCSI Disk (HPDVD-ROM) Information Warning
42 2/0/0/3/0 PCI SCSI Interface (10000 Information Successful
43 2/0/0/3/0.6.0 SCSI Disk (HP36.4GST33675 Information Successful
44 2/0/0/3/1 PCI SCSI Interface (10000 Information Successful
45 2/0/0/3/1.3.0 Unknown ()
46 2/0/1 PCI Bus Adapter (783) Information Successful
47 2/0/2 PCI Bus Adapter (783) Information Successful
48 2/0/4 PCI Bus Adapter (783) Information Successful
49 2/0/6 PCI Bus Adapter (783) Information Successful
50 2/0/8 PCI Bus Adapter (783) Information Successful
51 2/0/8/1/0 PCI Gigabit Ethernet Link Information Successful
52 2/0/10 PCI Bus Adapter (783) Information Successful
53 2/0/10/1/0 PCI Bus Adapter (8086b154 Information Successful
54 2/0/10/1/0/4/0 PCI 4 Port 100BT LAN (101 Information Successful
55 2/0/10/1/0/5/0 PCI 4 Port 100BT LAN (101 Information Successful
56 2/0/10/1/0/6/0 PCI 4 Port 100BT LAN (101 Information Successful
57 2/0/10/1/0/7/0 PCI 4 Port 100BT LAN (101 Information Successful
58 2/0/12 PCI Bus Adapter (783) Information Successful
59 2/0/12/1/0 Fibre Channel Interface ( Information Successful
60 2/0/12/1/0.1 Fibre Channel Driver (Mas
61 2/0/12/1/0.1.0.0.0.0 HP EVA GL Lite (HPHSV100)
62 2/0/12/1/0.1.0.255.0 HP EVA GL Lite (HPHSV100)
63 2/0/12/1/0.1.1.0.0.0 HP EVA GL Lite (HPHSV100)
64 2/0/12/1/0.1.1.255.0 HP EVA GL Lite (HPHSV100)
65 2/0/12/1/0.1.11.255. SCSI Tape (HPUltrium) Information Successful
66 2/0/12/1/0.1.11.255. SCSI Tape (HPUltrium) Information Successful
67 2/0/12/1/0.1.11.255. SCSI Device (HPNS)
68 2/0/12/1/0.3 Fibre Channel Driver (Mas
69 2/0/12/1/0.3.0.0.0.0 HP EVA GL Lite (HPHSV100)
70 2/0/12/1/0.3.0.255.0 HP EVA GL Lite (HPHSV100)
71 2/0/12/1/0.3.1.0.0.0 HP EVA GL Lite (HPHSV100)
72 2/0/12/1/0.3.1.255.0 HP EVA GL Lite (HPHSV100)
73 2/0/14 PCI Bus Adapter (783) Information Successful
74 2/0/14/1/0 Fibre Channel Interface ( Information Successful
75 2/0/14/1/0.2 Fibre Channel Driver (Mas
76 2/0/14/1/0.2.0.0.0.0 HP EVA GL Lite (HPHSV100)
77 2/0/14/1/0.2.0.255.0 HP EVA GL Lite (HPHSV100)
78 2/0/14/1/0.2.1.0.0.0 HP EVA GL Lite (HPHSV100)
79 2/0/14/1/0.2.1.255.0 HP EVA GL Lite (HPHSV100)
80 2/0/14/1/0.4 Fibre Channel Driver (Mas
81 2/0/14/1/0.4.0.0.0.0 HP EVA GL Lite (HPHSV100)
82 2/0/14/1/0.4.0.255.0 HP EVA GL Lite (HPHSV100)
83 2/0/14/1/0.4.1.0.0.0 HP EVA GL Lite (HPHSV100)
84 2/0/14/1/0.4.1.255.0 HP EVA GL Lite (HPHSV100)
85 2/5 MEMORY (a1) Information Successful
86 2/10 CPU (5eb) Information Successful
87 2/11 CPU (5eb) Information Successful
88 2/12 CPU (5eb) Information Successful
89 2/13 CPU (5eb) Information Successful
90 255/255/0/0.0 SCSI Disk (HSV100HP) Information Incomplete
91 255/255/0/0.1 SCSI Disk (HSV100HP) Information Incomplete
92 255/255/0/0.2 SCSI Disk (HSV100HP) Information Incomplete
93 255/255/0/0.3 SCSI Disk (HSV100HP) Information Incomplete
94 255/255/0/0.4 SCSI Disk (HSV100HP) Information Incomplete
95 255/255/0/0.5 SCSI Disk (HSV100HP) Information Incomplete
96 255/255/1/0.0 SCSI Disk (HSV100HP) Information Incomplete
97 255/255/1/0.1 SCSI Disk (HSV100HP) Information Incomplete
98 255/255/1/0.2 SCSI Disk (HSV100HP) Information Incomplete
99 255/255/1/0.3 SCSI Disk (HSV100HP) Information Incomplete
100 255/255/1/0.4 SCSI Disk (HSV100HP) Information Incomplete
101 255/255/1/0.5 SCSI Disk (HSV100HP) Information Incomplete
Torsten.
Acclaimed Contributor

Re: RP8400 check No. of CPU and Memory

Run this and post:

# echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm

# echo "selclass qualifier cpu;info;wait;il"|/usr/sbin/cstm

# echo "sel dev 1;info;wait;il"|/usr/sbin/cstm



Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!