solaris 怎么查看CPU信息!
我想得到类似:Intel(R) Xeon(TM) CPU 3.06GHz 这样的信息,可是在网上找了很久都没能找到,那位高人帮个忙,感激不尽!谢谢!
下面帖一些相关的信息:
[04:08:52] root@ecdialp05-2[165]# uname -a
SunOS ecdialp05-2 5.10 Generic_127111-06 sun4v sparc SUNW,Sun-Fire-T200
[04:08:52] root@ecdialp05-2[167]# psrinfo -v
Status of virtual processor 0 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:49.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 1 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:51.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 2 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:51.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 3 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:51.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 4 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:51.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 5 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:51.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 6 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:51.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 7 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:51.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 8 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:51.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 9 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:51.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 10 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:51.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 11 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:51.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 12 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 13 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 14 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 15 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 16 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 17 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 18 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 19 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 20 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 21 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 22 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 23 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 24 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 25 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 26 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 27 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 28 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 29 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 30 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
Status of virtual processor 31 as of: 09/22/2008 05:13:55
on-line since 01/15/2008 13:03:52.
The sparcv9 processor operates at 1200 MHz,
and has a sparcv9 floating point processor.
[04:08:52] root@ecdialp05-2[168]# prtconf | grep 'Memory'
prtconf: devinfo facility not available
Memory size: 32760 Megabytes
[04:08:52] root@ecdialp05-2[169]# prtdiag -v | more
prtdiag can only be run in the global zone
[解决办法]
/proc/cpuinfo on Solaris
Another quick Solaris trick to write about before I forget about it.
When used to do:
$> cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.00GHz
stepping : 1
cpu MHz : 2992.785
[...]
Instead, on Solaris, use psrinfo(1M)
$> psrinfo -v
Status of virtual processor 0 as of: 09/17/2006 21:45:32
on-line since 08/24/2006 16:16:03.
The i386 processor operates at 1800 MHz,
and has an i387 compatible floating point processor.
Status of virtual processor 1 as of: 09/17/2006 21:45:32
on-line since 08/24/2006 16:16:07.
The i386 processor operates at 1800 MHz,
and has an i387 compatible floating point processor.
[解决办法]
方法之一是:
[irperf@~]prtconf -v
... ...
cpus (driver not attached)
cpu, instance #0 (driver not attached)
Hardware properties:
... ...
name='brand-string' type=string items=1
value='Intel(r) CPU @ 2.66GHz'
... ...