Sponsored Content
Full Discussion: Processor
Top Forums UNIX for Dummies Questions & Answers Processor Post 2965 by cubchubby on Tuesday 12th of June 2001 08:26:30 PM
Old 06-12-2001
Hi...try $grep clock /var/adm/messages the
number after clock is the clock speed.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

checking no of processor

Is there any other command to check no of processor rather than prtconf -v, prtdiag -v, banner (on boot PROM) (3 Replies)
Discussion started by: abi
3 Replies

2. AIX

Intel Processor

hello World I Hope to know Why AIX don't Run under INTEL Processor ?? If Any Project Is expected to make AiX to run Under INTEL Processor ??? Thank you ALL (3 Replies)
Discussion started by: mktahar
3 Replies

3. Shell Programming and Scripting

How to get Processor Id

Hi Everyone I am new to unix. I ahve few quries that i would like to post. Is there any way by which i get the unique processor Id. Actually i am unable to find any logic and method to get access to Processor Id. Is it possible to get it. I read it on Intel site that the new processor do no... (1 Reply)
Discussion started by: atul.saxena
1 Replies

4. AIX

LPAR processor/virtual processor settings

Question is on setting of Physical and Virtual processors for LPARs to make proper use of virtualization capabilities. Environment is a 8-way p570 with 4 LPARs. lparVIO1 and lparVIO2: AIX 5300-04-01 Mode/Type= Shared-SMT/Capped Minimum Processors= 0.10 Desired Processors= 0.50 Maximum... (1 Reply)
Discussion started by: guttew
1 Replies

5. AIX

Processor and processor core

Guys... Hows it going??? I have been going through the hardware spec of IBM system p systems.. and here i am confused for IBM Power 520 Express it says Processor cores: One, two or four 64-bit 4.2 GHz POWER6 with AltiVec™ SIMD and Hardware Decimal Floating-Point acceleration ... (1 Reply)
Discussion started by: balaji_prk
1 Replies

6. UNIX for Dummies Questions & Answers

Processor bits

Hi friends pls let me know how to find sun processor is 32 bits or 64 bits through command line. thanks (2 Replies)
Discussion started by: anuragbirje
2 Replies

7. UNIX for Dummies Questions & Answers

Processor id/name

How to find out whether the system has multiple processors. In multiprocessor system how to get their names or ids How to send command to a particular processor ( can we use rsh) (6 Replies)
Discussion started by: anjum
6 Replies

8. Shell Programming and Scripting

Processor and Its speed

Hi I need a command to know how many processors are available and what is their speed in UNIX. Thanks (2 Replies)
Discussion started by: diksha2207
2 Replies

9. Shell Programming and Scripting

m4 processor (how to use)

hi, what plugins i need to install to run m4 processor in bash shell. Also, what is the file extension for m4 processor ( like .cc in c ). Thanks (1 Reply)
Discussion started by: Learnerabc
1 Replies

10. UNIX for Dummies Questions & Answers

Help for processor

hello Admins, how to find number of processor in unix machine. (2 Replies)
Discussion started by: vipinkumarr89
2 Replies
clock(3)						     Library Functions Manual							  clock(3)

NAME
clock - Reports CPU time used LIBRARY
Standard C Library (libc.so, libc.a) SYNOPSIS
#include <time.h> clock_t clock (void); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: clock(): XPG4, XPG4-UNIX Refer to the standards(5) reference page for more information about industry standards and associated tags. DESCRIPTION
The clock() function reports the amount of processor time used by the calling process and each of its terminated child processes for which a wait function has been executed. When a child process does not wait for its children, its child-process times are not included in its times. RETURN VALUES
The clock() function returns the amount of processor time (in microseconds) used since the first call to clock(). To convert the time to seconds, divide it by CLOCKS_PER_SEC (which is defined to be 1,000,000 in <time.h>). If the processor time used is not available or its value cannot be represented, the clock() function returns (clock_t)-1. RELATED INFORMATION
Functions: ctime(3), getrusage(2), times(3), wait(2) Standards: standards(5) delim off clock(3)
All times are GMT -4. The time now is 01:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy