From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078619210407.tru64-unix-managers.marc@archive.invalid> From: Nuria Guizar Grau Date: Wed, 12 Nov 1997 22:32:44 +0000 To: tru64-unix-managers Subject: SUMMARY : Procesor speed X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078619210407 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 /* for getsysinfo() call */ #include /* for sysinfo data */ #include /* for struct rpb */ #include #include 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