Number of CPU


 
Thread Tools Search this Thread
Operating Systems Solaris Number of CPU
# 8  
Old 12-12-2009
Tools Thanks Mr Rizzo

I got all the answers from the documents.One little confusion regarding the command df -h.when i run this command on my solaris system it gave me filesystem,size used ,avail etc .There are so many filesystem like /backup,/dev,/oracle ,/.SUNWnativ/libetc.So my confusion is that how i count the total disk size?should i add all the filesystem s space ..please advice.Thanks
Regards
# 9  
Old 12-15-2009
From df -h you get info about all the file system which are mounted and there space utilization, which include lot of virtual file system which do not occupy disk space as they are into memory. So if your requirement is to find the disk size then best option is executing #format <disk> and the 2nd slice of disk represent the whole disk, there you can get your actual disk size.
# 10  
Old 12-15-2009
For disks having a partition table, "fdisk -G" can be used instead:
eg:
Code:
# fdisk -G /dev/rdsk/c7d0p0
* Physical geometry for device /dev/rdsk/c7d0p0
* PCYL     NCYL     ACYL     BCYL     NHEAD NSECT SECSIZ
  14593    14593    0        0        255   63    512

14593 * 255 * 63 * 512 ~= 120 GB

Alternatively, for both sparc and x86:
Code:
$ iostat -En
c7d0             Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 
Model: SAMSUNG HM120JC Revision:  Serial No: S0A0J10L724239  Size: 120,03GB <120033607680 bytes>
...

# 11  
Old 12-15-2009
A few days before a saw sticky CPU info command.
Code:
smbios -t SMB_TYPE_PROCESSOR

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. HP-UX

How to find number of CPU in system

$ uname -a HP-UX chd007d B.11.23 U 9000/800 3154283600 unlimited-user license Thanks (7 Replies)
Discussion started by: Maddy123
7 Replies

4. 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

5. 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

6. UNIX for Dummies Questions & Answers

Display just CPU run queue number (Nothing Else)

Im using the vmstat command to display the CPU run queue, but i want to put that into a program so is there a way to just display the number under the r? Thanks, (1 Reply)
Discussion started by: RAFC_99
1 Replies

7. 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

8. Solaris

CPU Usage to Number of CPUs - relationship

I have an E15K running at 60% CPU usage on 16 CPUs. I need to get rid of 6 CPUs, which is 38%. Does that mean my CPU usage will go up to 98%? I suspect the relationship between CPU numbers and usage is a bit more complicated. Can anyone give me any guidance on this please? TIA (0 Replies)
Discussion started by: disturbed_uk
0 Replies

9. 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

10. UNIX for Advanced & Expert Users

CPU Part Number from the command line (Solaris 8)

How Could I get the CPU Part Number from the Solaris command prompt? (Solaris 8 E4500 Server) Thanks in advance. Hugo (2 Replies)
Discussion started by: hugo_perez
2 Replies
Login or Register to Ask a Question