Solved

Resource Usage and System Calls

Posted on 2004-08-20
4
151 Views
Last Modified: 2010-04-15
Hi All,

what are the system calls to get System Resource usage in a c/c++ program...like:
1. execution time
2. CPU Usage
3. Memory Usage
etc...

...Menaka
0
Comment
Question by:menakaindrani
4 Comments
 
LVL 23

Accepted Solution

by:
brettmjohnson earned 50 total points
ID: 11854903
Check out getrusage()
0
 
LVL 7

Expert Comment

by:aib_42
ID: 11857261
This is system dependant. Please tell us about your operating system and programming environment.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
posix semaphore deadlock 13 114
how to find a data that is pure string   or not in vb.net ? 9 103
Convert image to byte array 8 189
Socket Programming (Unix) 8 119
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now