11-05-2008
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am new to Unix. I have an application which i need to monitor it for the available system time. If the system is down, i need to send an email notifying the downtime. Can someone provide a sample code or shell script to perform the above activity.
Thanks (3 Replies)
Discussion started by: borncrazy
3 Replies
2. Programming
Hi all,
I am looking for api to get me system monitoring statictics every 5 minutes.
I am looking at the following statistics:
1. System CPU Usage
2. Process CPU Usage
3. Process Memory Usage
4. I/O Usage for a certain disk.
5. Process I/O bytes/sec utilization.
I have seen very... (4 Replies)
Discussion started by: uiqbal
4 Replies
3. Infrastructure Monitoring
hi,
i serarch monitoring and alert system.
when HDD and services are down. Send email and sms alert to me and help desk.
but i don't find any program.
Can you help me ?
Thanks. (1 Reply)
Discussion started by: oulutas
1 Replies
4. Infrastructure Monitoring
Hi,
I am relatively new to Unix. Today I have attended an interview and they asked me below questions
(a)How do you monitor Unix system?
(b)How do you know every thing is working fine?
(c)How do you know if there are any bottle necks?
(d)How do you know if any process is hanging and draining... (5 Replies)
Discussion started by: krdblc
5 Replies
5. AIX
I can get my AIX servers to show up in SCOM but I'm struggling with running personal scripts and have the result of these scripts show up in SCOM.
I'm currently using BigBrother and I've written some scripts for BB. I would like to convert these scripts to something that can be used in SCOM.
... (0 Replies)
Discussion started by: petervg
0 Replies
6. Shell Programming and Scripting
Hi,
Does anyone have an example system monitoring script to monitor drives, memory, etc. Need a good example.
Cheers
Walnutpony (4 Replies)
Discussion started by: walnutpony123
4 Replies
7. Linux
Hi all,
I'm looking for the best tool to monitor the Linux system. I've found a lot of interesting tools searching the web but I didn't find one which can do all the requirments (like a one in all tool). I would prefer it to include a command line interface also.
Thank you,
Andreea (0 Replies)
Discussion started by: andreea9322
0 Replies
8. Infrastructure Monitoring
Hi all,
I'm looking for the best tool to monitor the Linux system. I've found a lot of interesting tools searching the web but I didn't find one which can do all the requirments (like a one in all tool). I would prefer it to include a command line interface also.
Thank you,
Andreea (1 Reply)
Discussion started by: andreea9322
1 Replies
clock(3C) clock(3C)
NAME
clock() - report CPU time used
SYNOPSIS
DESCRIPTION
returns the amount of CPU time (in microseconds) used since the first call to The time reported is the sum of the user and system times of
the calling process and its terminated child processes for which it has executed , or (see wait(2) , system(3S), and popen(3S)). To deter-
mine the time in seconds, the value returned by should be divided by the value of the macro
The resolution of the clock varies, depending on the hardware and on software configuration.
If the processor time used is not available or its value cannot be represented, the function returns the value
WARNINGS
The value returned by is defined in microseconds for compatibility with systems that have CPU clocks with much higher resolution. Because
of this, the value returned wraps around after accumulating only 4295 seconds of CPU time (about 72 minutes).
DEPENDENCIES
The default clock resolution is 10 milliseconds.
SEE ALSO
times(2), wait(2), system(3S), thread_safety(5).
STANDARDS CONFORMANCE
clock(3C)