Skip to content

Instantly share code, notes, and snippets.

@powellnathanj
Created February 28, 2018 00:13
Show Gist options
  • Save powellnathanj/3855c6d093b3a001701f25499f868c04 to your computer and use it in GitHub Desktop.
Save powellnathanj/3855c6d093b3a001701f25499f868c04 to your computer and use it in GitHub Desktop.
[root@cabbage ~]# free -m
total used free shared buff/cache available
Mem: 3936 282 1151 1 2503 3237
Swap: 4067 0 4067
[root@cabbage ~]# cat /proc/cpuinfo | grep model\ name | head -n 1
model name : Intel(R) Atom(TM) CPU D2550 @ 1.86GHz
[root@cabbage ~]# cat /proc/cpuinfo | grep model\ name | wc -l
4
[root@cabbage ~]# fdisk -l /dev/sda
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xf5099013
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2099199 2097152 1G 83 Linux
/dev/sda2 2099200 976773119 974673920 464.8G 8e Linux LVM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment