Solved

Resource Usage and System Calls

Posted on 2004-08-20
4
150 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

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…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.

757 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

21 Experts available now in Live!

Get 1:1 Help Now