Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

times.h(3head) [opensolaris man page]

times.h(3HEAD)							      Headers							    times.h(3HEAD)

NAME
times.h, times - file access and modification times structure SYNOPSIS
#include <sys/times.h> DESCRIPTION
The <sys/times.h> header defines the structure tms, which is returned by times() and includes the following members: clock_t tms_utime /* user CPU time */ clock_t tms_stime /* system CPU time */ clock_t tms_cutime /* user CPU time of terminated child processes */ clock_t tms_cstime /* system CPU time of terminated child processes */ The clock_t type is defined as described in <sys/types.h>. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
times(2), types.h(3HEAD), attributes(5), standards(5) SunOS 5.11 10 Sep 2004 times.h(3HEAD)

Check Out this Related Man Page

times.h(3HEAD)							      Headers							    times.h(3HEAD)

NAME
times.h, times - file access and modification times structure SYNOPSIS
#include <sys/times.h> DESCRIPTION
The <sys/times.h> header defines the structure tms, which is returned by times() and includes the following members: clock_t tms_utime /* user CPU time */ clock_t tms_stime /* system CPU time */ clock_t tms_cutime /* user CPU time of terminated child processes */ clock_t tms_cstime /* system CPU time of terminated child processes */ The clock_t type is defined as described in <sys/types.h>. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
times(2), types.h(3HEAD), attributes(5), standards(5) SunOS 5.10 10 Sep 2004 times.h(3HEAD)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

kswapd

Could someone please explain in detail what kswapd is exactly. and why it might take up large amounts of CPU memory at times. (1 Reply)
Discussion started by: cubs0729
1 Replies

2. HP-UX

how to calculate CPU time under HP-UX

Hi, I am loking for a c++ function that calculate CPU time under HP-UX Thank you (1 Reply)
Discussion started by: limame
1 Replies

3. AIX

how would you know your server was rebooted 3 times or 5 times

Is there such location or command to know how many times did you reboot your server in that particular day?in AIX. (3 Replies)
Discussion started by: kenshinhimura
3 Replies

4. Red Hat

filtering the recursive ids in a file

i have a file which contains the data as below, 789990 789990 789990 789990 334989 334989 789990 -- here the no 789990 is repeated 5 times and 334989 is 2 times. i want the output to be, 789990 334989 i.e only one entry of the repeated nos. (4 Replies)
Discussion started by: saravanen
4 Replies

5. Solaris

Infinite for loop is taking too much CPU usage %

Hi All, I wrote one simple for loop shell script which prints number..but this loop is infinite...but its taking lot of CPU (15.7) %. if i am using sleep cmd then cpu usage become 0.4 %. Is there anyway to reduce this CPU usage without using sleep cmd? i dont want 2 use sleep cmd... (7 Replies)
Discussion started by: pa.chidhambaram
7 Replies

6. UNIX for Dummies Questions & Answers

Need tune my command occupying 90% CPU

Can some body tune the below command, its occupyinh more than 90% of CPU some times. tail -n 1000 /logs/trace.log | awk 'BEGIN{OOM = 0; ScE = 0; NaE = 0; Jms = 0} /OutOfMemoryException/{OOM = 1} /StaleConnectionException/{ScE = 1} /NamingException/{NaE = 1} /JmsTimeOutException/{Jms = 1}... (17 Replies)
Discussion started by: senthil.ak
17 Replies

7. UNIX for Advanced & Expert Users

CPU utilization by processes

OS is HP Number of CPU available is 4 I am running 8 multiple parallel application processes. I observed that the application is NOT able to occupy maximum CPU. Out of 4, 2 of them are used by 89% and 11% respectively. Where as other two are always sitting idle. Can anyone please comment... (3 Replies)
Discussion started by: sbiswas
3 Replies

8. Shell Programming and Scripting

Bash scripting

Try to imagine a flag: nnnnx nnnxx nnxxx nxxxx now imagine how it will output: 4 times the "n"and 1 times "x" 3 times "n"and" 2 times" x " .. etc. .. rhombus is the same only instead of "n" is there gap "and " x "is a few times to form the correct shape Can you help... (3 Replies)
Discussion started by: krcek12
3 Replies

9. UNIX for Advanced & Expert Users

CPU utilization between 2 processes at an instant

I have a scenario where 2 applications(sever,deploy) are running in parallel....Now in a span of 1hr i want to know exact %CPU(user CPU) these are using. For example: for a snap shot of 1 hr say 10 am to 11 am i need the CPU utilization as below Total CPU=100 -->User... (1 Reply)
Discussion started by: niteesh_!7
1 Replies

10. UNIX for Advanced & Expert Users

how to quit or exit from WMToggle

I want directly to move from WMToggle to bash, which command to type? Now I need to type 3 times, :q! etc. any help? its very annoying to time something 3 times continuously :( (1 Reply)
Discussion started by: c_lady
1 Replies

11. What is on Your Mind?

Welcome in these 1337 times

Have you noticed that the Unix time right now starts with the combination "1337"? 1337 times indeed. ;-)) bakunin (10 Replies)
Discussion started by: bakunin
10 Replies

12. HP-UX

CPU Usage

Hi Experts, We encountered problem in one of the production system where some processes were taking higher CPU and after some time it came back to normal.. From system prespective, is there any way to check why processes took more cpu during that particular period. (16 Replies)
Discussion started by: sai_2507
16 Replies

13. UNIX for Dummies Questions & Answers

How to copy set of lines n times?

I have a file with following data A B C I would like to print like this n times(For eg:n times) A B C A B C A B C A B C A (3 Replies)
Discussion started by: nsuresh316
3 Replies

14. UNIX for Dummies Questions & Answers

CPU and Memory Statistics Collection Across Many Servers

Hello geeks once again, many thanks for help in times past, you guys are awesome! But am here again, but now this is way heavy for me. Find below for my challenge: *** I need to collect CPU & RAM stats across 26 servers. *** I don't have the luxury of deploying an NMS, if I had it would... (3 Replies)
Discussion started by: infinitydon
3 Replies

15. Red Hat

CPU and Cores information

Hi all. I have a question about linux command to find number of CPU and Core. I usually use the command dmidecode -t processor to find cpu and core numbers . On this machine with Red Hat 4. 0 when I try to insert the command is returned the error -bash: dmidecode: command not found I try to... (8 Replies)
Discussion started by: piccolinomax
8 Replies