How to find number of CPU in system


 
Thread Tools Search this Thread
Operating Systems HP-UX How to find number of CPU in system
# 1  
Old 08-01-2011
How to find number of CPU in system

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


Thanks

Last edited by radoulov; 08-01-2011 at 01:02 PM.. Reason: Code tags.
# 2  
Old 08-01-2011
What system are you talking about? The commands generally vary depending on the unix/linux flavor.
# 3  
Old 08-01-2011
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
# 4  
Old 08-01-2011
See if machinfo is what your are looking for.

Also check man ioscan and sasmgr
# 5  
Old 08-01-2011
1 - for cpu count
Code:
# /usr/sbin/ioscan -kf | grep processor | wc -l

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

2 - Memory
Code:
$/usr/sbin/swapinfo -tm

3- HDD
Code:
$/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
# 6  
Old 09-10-2011
Java

How to check Hardware RAID, i mean any command?


BR,
Prasanth
# 7  
Old 09-12-2011
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Number of CPU & Number of Core

root:/> # lscfg -vp|grep -c -E 'proc.*Processor' 8 root:/> # lscfg -vpl sysplanar0 | grep -i way 8 WAY PROC CUOD : 8 WAY PROC CUOD : 8 WAY PROC CUOD : 8 WAY PROC CUOD : 8 WAY PROC CUOD : 8 WAY PROC CUOD : I have this output and need to know how... (3 Replies)
Discussion started by: Daniel Gate
3 Replies

2. Shell Programming and Scripting

Number of CPU'S in UNIX box

Hi, How to find number of CPU'S in unix box. And usage of the total no of CPU'S. (7 Replies)
Discussion started by: sam1226
7 Replies

3. Shell Programming and Scripting

what would a script include to find CPU's %system time high and user time high?

Hi , I am trying to :wall: my head while scripting ..I am really new to this stuff , never did it before :( . how to find cpu's system high time and user time high in a script?? thanks , help would be appreciated ! :) (9 Replies)
Discussion started by: sushwey
9 Replies

4. Shell Programming and Scripting

Find the user with less number of files in the system

Good morning everybody, I'm using Minix and I want to find the user with less number of files in the system I have tried this solution: #! /bin/sh indice=0 listaCut=$(cut -f 3 -d : /etc/passwd) for USER in $listaCut; do cont=0 listaFind=$(find / -user "${USER}" -type -f) ... (4 Replies)
Discussion started by: Guccio
4 Replies

5. Red Hat

Number of CPU in LINUX server

I want to find number of CPU and number NIC card in Linux server. I have below content in /proc/cpuinfo. I have from processor 0 - 15. It means, i have 15 similar entries in that file. How many CPU we have on this server? also how do find how many NIC card on this? processor : 0... (5 Replies)
Discussion started by: govindts
5 Replies

6. Red Hat

Number of CPU in linux server

I am using linux server.. how do i see number of CPU's in the server? TOP command is not providing result.. Any help is highly appreciated. (8 Replies)
Discussion started by: govindts
8 Replies

7. Solaris

Number of CPU

Hi Experts, with the help of which command we can see the Number of cpu in a solaris solaris5.10.Also how we know the total disk & free disk space size in this system. Kind regards ---------- Post updated at 12:25 PM ---------- Previous update was at 12:25 PM ---------- Command... (10 Replies)
Discussion started by: rafiassam
10 Replies

8. Solaris

Multi CPU Solaris system shows 100% CPU usage.

Hello Friends, On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization. ========================================================================= $ prstat -a ... (4 Replies)
Discussion started by: mahive
4 Replies

9. Solaris

[help] how to get serial number of cpu or other hardware

hi experts, hi all, need help, how to get serial number of cpu or other hardware using command? does anybody know using what syntax? thank you wu (8 Replies)
Discussion started by: bucci
8 Replies

10. Solaris

number of cpu's

How can I tell how many cpu's are on a solaris 9 sunfire? (3 Replies)
Discussion started by: csaunders
3 Replies
Login or Register to Ask a Question