Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: how I can find Processor serial number or (Processor ID) ?

by TOD (Friar)
on Apr 18, 2008 at 12:41 UTC ( [id://681477]=note: print w/replies, xml ) Need Help??


in reply to how I can find Processor serial number or (Processor ID) ?

or even shorter on a *nix box:
perl -e 'open PROC, "/proc/cpuinfo"; my @cpu = <PROC>; close PROC; pri +nt join("", @cpu)'
--------------------------------
masses are the opiate for religion.

Replies are listed 'Best First'.
Re^2: how I can find Processor serial number or (Processor ID) ?
by walto (Pilgrim) on Apr 18, 2008 at 15:47 UTC
     /proc/cpuinfo
    will not return the serial number of the system.
    If you do not need this information it would be an easy approach without additional resources. (provided it is a *nix system):
     my @systeminfo = `cat /proc/cpuinfo`;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://681477]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2024-04-24 14:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found