* SUMMARY : Procesor speed
@ 1997-11-12 22:32 Nuria Guizar Grau
0 siblings, 0 replies; only message in thread
From: Nuria Guizar Grau @ 1997-11-12 22:32 UTC (permalink / raw)
To: tru64-unix-managers
Thanks to all who responded, especially to:
* Randy M. Hayman, Mohammed Ali, Paul Kitwin, Richard L Jackson Jr, Ed
Murphy, Claude Charest, Sean McInerney, George Guethlein,
alan@nabeth.cxo.dec.com, Matthew Lucius, Dave Cherkus, Mike D Cross,
Isidoro Sepe, Karen Byrd
There are a lot of solutions to this question. Here are some of them:
1.- Compile the following and execute:
#include <sys/sysinfo.h> /* for getsysinfo() call */
#include <machine/hal_sysinfo.h> /* for sysinfo data */
#include <machine/rpb.h> /* for struct rpb */
#include <stdio.h>
#include <mach.h>
main()
{
long int status;
struct rpb rpb_buff;
if( 0 <= (status = getsysinfo( GSI_GET_HWRPB, &rpb_buff,
sizeof(rpb_buff))))
fprintf(stdout, "CPU Frequency: \t\t%u Hz\n\n",
rpb_buff.rpb_counter);
}
2.- uerf -R full |more
3.- /usr/sbin/psrinfo -v
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-11-12 22:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-12 22:32 SUMMARY : Procesor speed Nuria Guizar Grau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox