Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Determining memory available

Status
Not open for further replies.

fireblade

Programmer
Joined
Sep 6, 2001
Messages
22
Location
US
Is there a C or C++ function that returns the amount of memory (real and swap) in Unix/Linux ? I know that 'xosview'
and 'top' can determine this information but I cannot track down the relevant source code.
 
Status
Not open for further replies.

Similar threads

Replies
7
Views
664
  • Locked
  • Question Question
Replies
1
Views
294
Replies
7
Views
503
  • Locked
  • Question Question
Replies
5
Views
427

Part and Inventory Search

Sponsor

Back
Top