title: Mac OS X equivalent header file for `sysinfo.h` in Linux
body: <p>Is there any Mac OS X equivalent header file for <code>sysinfo.h</code> in Linux. I am porting code from Linux to Mac but the structure <code>struct sysinfo</code> is not found. </p>
  
  <p>Edit: ==More info==
  In Linux platform I use a Header file <code>&lt;sys/sysinfo.h&gt;</code> which is not found in Mac.
  By including the header in Linux I perform following operation:
  <code>struct sysinfo s;</code>
  <code>sysinfo(&amp;s);</code></p>
  
  <p>Which in result give me some system related info.
  Now as I porting my project from Linux to Mac I want to know is there any similar functionality serve by Mac.</p>
  
  <p>Please help.</p>
  
  <p>Thanks in advance.</p>