hi, i need some information of the CPU and bytes sent and received by
my network interfaces. on linux i can find that on /proc/ files, but on
solaris i have no idea where to find that. can anyone help me?
thanx.
|
|
0
|
|
|
|
Reply
|
bazoalto (10)
|
8/20/2005 2:57:54 PM |
|
havis wrote:
> hi, i need some information of the CPU and bytes sent and received by
> my network interfaces. on linux i can find that on /proc/ files, but on
> solaris i have no idea where to find that. can anyone help me?
isainfo(1), psrinfo(1M) & kstat(1M).
And there is a small Java apps to browse the kstat hierarchy there:
http://www.petertribble.co.uk/Solaris/jkstat.html
Laurent
|
|
0
|
|
|
|
Reply
|
Laurent
|
8/20/2005 3:13:03 PM
|
|
havis wrote:
> hi, i need some information of the CPU and bytes sent and received by
> my network interfaces. on linux i can find that on /proc/ files, but on
> solaris i have no idea where to find that. can anyone help me?
>
> thanx.
Check the isalist and prsinfo commands, they should give you
all the information you might need about the processor(s) on your
system.
Examples:
$ isalist -v
sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld
sparcv7 sparc
$ psrinfo -v
Status of processor 0 as of: 12/13/00 14:47:41
Processor has been on-line since 11/05/00 13:26:42.
The sparcv9 processor operates at 450 MHz, and has a
sparcv9 floating-point processor.
Status of processor 2 as of: 12/13/00 14:47:41
Processor has been on-line since 11/05/00 13:26:43.
The sparcv9 processor operates at 450 MHz, and has a
sparcv9 floating-point processor.
--
Alessandro Selli
http://alessandro.route-add.net
AVVERTENZA: i messaggi inviati a "trappola" non mi arriveranno.
WARNING: messages sent to "trappola" will never reach me.
|
|
0
|
|
|
|
Reply
|
Alessandro
|
8/20/2005 8:19:48 PM
|
|
where can i find the size of the cache memory of the CPU?
|
|
0
|
|
|
|
Reply
|
havis
|
8/22/2005 5:36:30 PM
|
|
havis wrote:
> where can i find the size of the cache memory of the CPU?
>
# prtdiag -v
System Configuration: Sun Microsystems sun4u SUNW,Sun-Blade-1000
(UltraSPARC-III+)
System clock frequency: 150 MHZ
Memory size: 4GB
====================================CPUs====================================
E$ CPU CPU
CPU Freq Size Implementation Mask Status
Location
--- -------- ---------- --------------------- ----- ------
0 900 MHz 8MB SUNW,UltraSPARC-III+ 2.3 on-line
^
^
|
| |
|
|
0
|
|
|
|
Reply
|
Martin
|
8/22/2005 5:48:35 PM
|
|
havis wrote:
> where can i find the size of the cache memory of the CPU?
>
# prtdiag -v
System Configuration: Sun Microsystems sun4u SUNW,Sun-Blade-1000
(UltraSPARC-III+)
System clock frequency: 150 MHZ
Memory size: 4GB
====================================CPUs====================================
E$ CPU CPU
CPU Freq Size Implementation Mask Status
Location
--- -------- ---------- --------------------- ----- ------
0 900 MHz 8MB SUNW,UltraSPARC-III+ 2.3 on-line
^
^
|
| |
|
|
0
|
|
|
|
Reply
|
Martin
|
8/22/2005 5:49:00 PM
|
|
havis wrote:
> where can i find the size of the cache memory of the CPU?
>
prtdiag
--
Chris
|
|
0
|
|
|
|
Reply
|
Chris
|
8/22/2005 5:54:24 PM
|
|
On 22/8/05 6:54, in article
430a114c$0$6471$cc9e4d1f@news-text.dial.pipex.com, "Chris Lawson"
<email_address@email_address.not> wrote:
> havis wrote:
>
>> where can i find the size of the cache memory of the CPU?
>>
>
> prtdiag
# uname -sr
SunOS 5.10
# prtdiag -v
prtdiag: not implemented on i86pc
:-(
Cheers,
Chris
|
|
0
|
|
|
|
Reply
|
Chris
|
8/22/2005 5:59:23 PM
|
|
Chris Ridd wrote:
> On 22/8/05 6:54, in article
> 430a114c$0$6471$cc9e4d1f@news-text.dial.pipex.com, "Chris Lawson"
> <email_address@email_address.not> wrote:
>
>
>>havis wrote:
>>
>>
>>>where can i find the size of the cache memory of the CPU?
>>>
>>
>>prtdiag
>
>
> # uname -sr
> SunOS 5.10
> # prtdiag -v
> prtdiag: not implemented on i86pc
>
> :-(
>
> Cheers,
>
> Chris
>
That's probably because it gets it's info from OBP so that probably
means prtpicl won't work either. :-(
--
Chris
|
|
0
|
|
|
|
Reply
|
Chris
|
8/22/2005 6:15:29 PM
|
|
havis wrote:
> where can i find the size of the cache memory of the CPU?
>
If all else fails look in the source code for http://www.memtest86.com
as this seems to work out the cache.
--
Chris
|
|
0
|
|
|
|
Reply
|
Chris
|
8/22/2005 6:23:56 PM
|
|
On 22/8/05 7:15, in article
430a163d$0$6470$cc9e4d1f@news-text.dial.pipex.com, "Chris Lawson"
<email_address@email_address.not> wrote:
> That's probably because it gets it's info from OBP so that probably
Probably.
> means prtpicl won't work either. :-(
Actually, that *does* work. For each of the 4 virtual CPUs (this is on a
dual CPU box with hyperthreading on) it prints something like this:
:name cpus
cpu (cpu, 56000004a3)
:StateBegin Fri Aug 19 16:12:54 2005
:FPUType i387 compatible
:ProcessorType i386
:State on-line
:ID 0
:device_type cpu
:reg 0
:cpu-mhz 2992
:vendor-id GenuineIntel
:family 15
:cpu-model 4
:stepping-id 1
:type 0
:ext-family 0
:chunks 16
:apic-id 0
:chip# 0
:cpuid-features -1075053569
:cpuid-features-ecx 25629
:brand-string Intel(r) Xeon(tm) CPU 3.00GHz
:itlb-4K-2M-4M-associativity 0
:itlb-4K-2M-4M-size 64
:dtlb-4K-4M-associativity 0
:dtlb-4K-4M-size 64
:itrace-cache-associativity 8
:itrace-cache-size 12288
:sectored-l2-cache-associativity 8
:sectored-l2-cache-line-size 64
:sectored-l2-cache-size 1048576
:devfs-path /cpus/cpu
:binding-name cpu
:instance 0
:_class cpu
:name cpu
I think each CPU has 1 MB of L2 cache, so the ":sectored-l2-cache-size" line
looks like the right value.
Cheers,
Chris
|
|
0
|
|
|
|
Reply
|
Chris
|
8/22/2005 6:54:53 PM
|
|
Chris Ridd wrote:
> I think each CPU has 1 MB of L2 cache, so the ":sectored-l2-cache-size" line
> looks like the right value.
Ahhh, nice, thanks!
But is that a new Solaris 10 feature?
On a Solaris 9 / Celeron box, I get:
[snip]
:brand-string Intel(R) Celeron(R) CPU 2.00GHz
:itrace-cache-associativity 8
:itrace-cache-size 12288
:sectored-dcache-associativity 4
:sectored-dcache-line-size 64
:sectored-dcache-size 8192
[snip]
While I'm not sure of the size of the cache, I think it'd be more than 8KB.
On a Solaris 10 / Athlon box, I get the correct value.
Laurent
|
|
0
|
|
|
|
Reply
|
Laurent
|
8/22/2005 8:29:48 PM
|
|
|
11 Replies
334 Views
(page loaded in 8.33 seconds)
Similiar Articles: CPU info - comp.unix.solarishi, i need some information of the CPU and bytes sent and received by my network interfaces. on linux i can find that on /proc/ files, but on solaris ... Intel ready to launch Nehalem-EX server processors - comp ...CPU info - comp.unix.solaris Intel ready to launch Nehalem-EX server processors - comp ... Each processor incorporates eight cores, and can be used in multi-socket ... CPU board serial number - comp.unix.solarisHi, is there a way to find out serial number of CPU board on Solaris? It seems that SEEPROM on CPU board may contain this information. However, I don... IBM 6x86MX PR166... info? - comp.lang.asm.x86CPU info - comp.unix.solaris IBM 6x86MX PR166... info? - comp.lang.asm.x86 CPU info - comp.unix.solaris IBM 6x86MX PR166... info? - comp.lang.asm.x86 Note that compiled ... CPU for xPC-Target - comp.soft-sys.matlabHi everybody, I am searching for the fastest CPU for xPC-Target 4.1 If my information is right, this version of xPC-Target is not able to use more... Determining the CPU frequency - comp.unix.bsd.netbsd.misc ...Hi all, NetBSD 2.0 How do you determine the cpu frequency on NetBSD? On FreeBSD I see hw.clockrate. This doesn't appear to exist on NetBSD 2.0. I... CPU core temp display on Solaris 10? - comp.unix.solaris ...Hi, Is there a way to display CPU core temps on Solaris 10 x64? Thanks, Norman ... Get CPU usage and temperature - comp.os.ms-windows.programmer ...Hello, How I can get percentage of CPU usage and temperature of every single core of my quad core? With GetSystemInfo API I can get only the n... Measuring CPU Idle time - comp.unix.programmerHi group, How can I measure the CPU idle time ? Does it make sense to measure it per process ? Can anyone tell me how to do it programatically using... it is possible to disable a cpu from the ok prompt? - comp.unix ...Been looking at my boot prompt info and I am trying to figure out if there's a way to turn off a cpu from the ok prompt or not. Any ideas? Thanks, J... How to find out which instruction sets (mmx/sse/etc.) are used ...The processor information encoded with the instructions is known to have been quite buggy when this feature was introduced - 32-bit instructions marked as "8086", for ... How can I programmatically monitor CPU load - comp.os.ms-windows ...Like is done in 'windows task manager' \ preformance. I want to add a section i my existing code that gets and records current CPU load. I believe... CPU temperature monitoring in C++? - comp.programmingHi, There isn't much helpful articles on the net and i wonder how i can create very simple application which monitors "CPU" temp. I know the best way... Collect Server Inventory Information - comp.unix.solaris ...(i.e. getting the CPU Ecache side from prtdiag output..) Could anyone suggest a better way to get those info (i.e. have structured output for awk, perl, sed to process... CPUID and number of cores - comp.lang.asm.x86It is written in "Intel Processor Identification and the CPUID Instruction" that: "The BIOS will use this function to determine the number of cores ... CPUID - System & hardware benchmark, monitoring, reportingSystem & hardware benchmark, monitoring, reporting ... What is CPU-Z. CPU-Z is a freeware that gathers information on some of the main devices of your system. CPU-INFO.COM, x86 Processor info you need to know!When the 386 was launched in 1985 it was certainly not faster than the latest 286's. But Intel designed many new features into the CPU. 7/24/2012 6:39:51 PM
|