Re: Determine clock speed

From: Dragan Cvetkovic (me_at_privacy.net)
Date: 01/28/05


Date: Fri, 28 Jan 2005 16:13:37 -0500

Josh Lessard <NOjlessardSPAM@rogers.com> writes:

> How can I determine, in software, the clock speed in MHz of the SPARC
> machine I'm using? Is there a system call/C function I can use to find
> this information?

You can use 'psrinfo -v' to print it. You can also use 'kstat -m cpu_info'
command or use kstat() programmable interface to get the info. There are
probably some other ways as well.

Dragan

-- 
Dragan Cvetkovic, 
To be or not to be is true. G. Boole      No it isn't.  L. E. J. Brouwer
!!! Sender/From address is bogus. Use reply-to one !!!


Relevant Pages

  • Re: ndd on x86
    ... >>i try to use this command on a x86 machine but will not work. ... >network devices under Solaris on Intel isn't supported within the ... However you can use the kstat command to get the same data: ...
    (comp.unix.solaris)
  • Re: Interface in not RUNNING state
    ... Hi Managers, ... Thanks for your response, ... kstat -p ce ... Thanks all and Kalyan Manchikanti the gave me the command to go here. ...
    (SunManagers)
  • Re: checksum error
    ... "kstat -m bge" do not give niformation about number of checksum error. ... i can make copy in this post of the result of command if you want. ...
    (comp.unix.solaris)