title: Get DIMM & CPU Socket Information
body: <p>I want to get number of RAM slot (DIMM) and CPU socket of a PC in Linux.</p>
  
  <p>In Linux, there's a command <code>dmidecode</code> but this command must run with <code>sudo</code>/root permissions.</p>
  
  <p>Anyone can tell me another solution to get DIMM &amp; CPU socket without using <code>sudo</code>/root permissions.</p>