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 Mike Lewis 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
Sep 6, 2001
22
0
0
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

Part and Inventory Search

Sponsor

Back
Top