I want to find a large number of machine architecture types. I have hostname of each machine, machines have Debian 4 Linux, SunOS 9, SunOS 10 or Apple Darwin. All are like Unix, but with small differences.
I would like to know: - Architecture (x86, x86_64, ia64, spark, powerpc ...) - Processor type (Intel Pentium, Pentium Pro, Pentium II, Spark, PowerPC, Itanium, Athlon, Core 2 pair, citriks etc.) - Number of processors
Be careful, I need a "type" of the machine, using 'Anam', the stupid approach does not work on the sun, and things like 'i686' When the machine is actually 'x86_64' but operators The system is 32 bits. / Proc / cpuinfo does not work, and things get even more complex because some composers do not have C compiler installed (I'm sure they are all, probably Python or Pearl, do not know).
Thanks in advance !! :)
arch; Uname -a
arch CPU is the standard way to get the name of the set set. Uname -a gets a bunch of stuff about the OS Uname withouth gets OS name.
Comments
Post a Comment