linux hardware info cli code example
Example 1: linux command to show memory hardware
# cpu information
$ cat /proc/cpuinfo
# memory information
$ cat /proc/meminfo
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