• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 160
  • Last Modified:

Resource Usage and System Calls

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
menakaindrani
Asked:
menakaindrani
1 Solution
 
brettmjohnsonCommented:
Check out getrusage()
0
 
aib_42Commented:
This is system dependant. Please tell us about your operating system and programming environment.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now