how to get processor Id in UNIX

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how to get processor Id in UNIX
# 1  
Old 12-11-2001
how to get processor Id in UNIX

Hello readers
how to get the processor id in UNIX environment?
how to get the network card Id in UNIX ?
# 2  
Old 12-11-2001
I'm not sure what you mean exactly. But whatever it is that you mean, the answer is almost certainly going to vary from system to system.

First, processor id. Do you mean what kind of processor? There is the uname command which is mandated by standards to be everywhere. And "uname -m" is going to give so kind of useful information everywhere (I would be interested to hear of any exceptions). On HP-UX, I get "9000/859" as one example. But with SunOS, I get "sun4u", which sun calls the "platform". Sun has a utility /usr/platform/`uname -m`/sbin/prtdiag that can give more info. HP has a "model" command that can also give more info.

Now for network card id. Do you mean the mac address? On sun it's "ifconfig -a" and on HP it's "lanscan". If you mean the tcp/ip address, then on both systems it's "netstat -in".
# 3  
Old 12-11-2001
Try `dmesg | grep -i "cpu"`

On my OpenBSD 2.9 x86 system I get:

/home/someUser $ dmesg | grep -i "cpu"
cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 401 MHz

On a BSDI 2.1 x86 machine I get:

$ dmesg | grep -i "cpu"
cpu = Pentium II 167 HydraSTARS (model 5, ID 650, features 183f9ff, delay 8252)

That oughta give you some of the information that you are looking for.
# 4  
Old 12-11-2001
linux: cat /proc/cpuinfo

On linux systems with proc filesystem:

linux# cat cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 5
model : 8
model name : AMD-K6(tm) 3D processor
stepping : 12
cpu MHz : 501.150
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 sep mtrr pge mmx 3dnow
bogomips : 999.42
Hope this is useful.....
# 5  
Old 12-13-2001

you can get processor information in solaris environment

from /usr/platform/<platform name>/sbin/prtdiag command

where platform name is the `uname -m` output that is sun4u in my server.
in HPUX try TOP command

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help for processor

hello Admins, how to find number of processor in unix machine. (2 Replies)
Discussion started by: vipinkumarr89
2 Replies

2. UNIX for Dummies Questions & Answers

Processor id/name

How to find out whether the system has multiple processors. In multiprocessor system how to get their names or ids How to send command to a particular processor ( can we use rsh) (6 Replies)
Discussion started by: anjum
6 Replies

3. AIX

Processor and processor core

Guys... Hows it going??? I have been going through the hardware spec of IBM system p systems.. and here i am confused for IBM Power 520 Express it says Processor cores: One, two or four 64-bit 4.2 GHz POWER6 with AltiVec™ SIMD and Hardware Decimal Floating-Point acceleration ... (1 Reply)
Discussion started by: balaji_prk
1 Replies

4. AIX

LPAR processor/virtual processor settings

Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities. Environment is a 8-way p570 with 4 LPARs. lparVIO1 and lparVIO2: AIX 5300-04-01 Mode/Type= Shared-SMT/Capped Minimum Processors= 0.10 Desired Processors= 0.50 Maximum... (1 Reply)
Discussion started by: guttew
1 Replies

5. UNIX for Dummies Questions & Answers

installing unix on a amd athlon processor

I just need a simple answer on if installing unix on a pc using an AMD processor instead of Intel is going to be a problem. Thank you one and all. (3 Replies)
Discussion started by: frznmeatcicle
3 Replies

6. UNIX Desktop Questions & Answers

Where can I find a Unix OS that will run on a 386 processor?

Hey, can anyone recommend a URL (or website) where I can download a basic (or old) UNIX OS that will run on an ancient laptop that has a 386 processor, 4MB of RAM and a 40MB harddrive? Your help and suggestions are much appreciated! :confused: (4 Replies)
Discussion started by: methudrez
4 Replies

7. UNIX for Dummies Questions & Answers

To find processor speed & memory in HP Unix 10.2

I have a D series HP server with HP UNIX 10.20 as the OS. How will I obtain the processor speed and memory of the machine. I have 'root' privileges. (4 Replies)
Discussion started by: augustinep
4 Replies

8. UNIX for Dummies Questions & Answers

How can I see the processor usage in Unix??

Could anybody tell me which command I should use to see how many percentage or something from the processor is used by various programs? Thanx in Advance! Erik:D (4 Replies)
Discussion started by: Erik Rooijmans
4 Replies

9. UNIX for Dummies Questions & Answers

UNIX and Processor

What kind of processors can Free BSD run on? (1 Reply)
Discussion started by: Heathbo
1 Replies

10. UNIX for Dummies Questions & Answers

Unix & Processor compatibility

subject is self explanitory... can i install Unix on a system w/ and AMD processor (1 Reply)
Discussion started by: goliath3021
1 Replies
Login or Register to Ask a Question