How to find number of CPU in system

$ uname -a
HP-UX chd007d B.11.23 U 9000/800 3154283600 unlimited-user license

Thanks

What system are you talking about? The commands generally vary depending on the unix/linux flavor.

I am using Unix-Hp

and also i want to know how to find out the following

no of CPU
RAM
hard disk
raid details
processor

Thanks

See if machinfo is what your are looking for.

Also check man ioscan and sasmgr

1 - for cpu count

# /usr/sbin/ioscan -kf | grep processor | wc -l

or

# /usr/sbin/ioscan -C processor | grep processor | wc -l

2 - Memory

$/usr/sbin/swapinfo -tm

3- HDD

$/usr/sbin/ioscan -fnC disk

4- for raid it depends if the server has raid controller or not
for HP-UX with LVM supports
1 ) Mirroring RAID 1
2 ) Striping RAID 0
3 ) Striping + Mirroring ( 0 + 1 ) with PVGS that is with PVG strict & distributed striping LVM polict ( -S g -D y)
Note : RAID 5 & RAID Mirroring + striping are supported on VXVM only

How to check Hardware RAID, i mean any command?

BR,
Prasanth

Hello,

Please do not ask new questions in existing threads. Unless you have new information to a particular problem, please create a new thread in the appropriate forum.
Since you have opened a thread on this subject, bumping up posts or double posting is not permitted also in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.
Also, please search the forums first, as it might be that someone has already posted an answer for a similar problem.

Best regards,
The UNIX and Linux Forums

About RAID details, it depends all on what hardware you have installed...
If you are on a SAN, your poor box has no idea how are configured the LUNs he sees...
Unless your syslog.log file is truncated (rotatelog?) you find how much physical memory is installed by looking in the file:

ant:/etc $ grep  Phys /var/adm/syslog/syslog.log    
Sep  6 11:08:51 2A:ant vmunix:     Physical: 8388608 Kbytes, lockable: 6465116 Kbytes, available: 7426976 Kbytes

You could look at stm utilities and print_manifest...