system information in linux code example

Example 1: linux command to show memory hardware

$ cat /proc/version
Linux version 3.11.0-12-generic (buildd@allspice) (gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu7) ) #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013

Example 2: linux command to show memory hardware

$ pydf
Filesystem Size Used Avail Use%          Mounted on
/dev/sda6   96G  23G   68G 24.4 [#.....] /
/dev/sda8  195G 138G   47G 70.6 [####..] /media/13f35f59-f023-4d98-b06f-9dfaebefd6c1
/dev/sda5   98G  28G   69G 29.2 [##....] /media/4668484A68483B47