Tag: Swap

Get Device Information

Get Device Information

Get All Hardware Devices lspci Get Drives Info fdisk -l Get HDD Partitions Info df -h Get CPU Info cat /proc/cpuinfo Get Filesystems Info cat /proc/filesystems Configuration Info Sytem Configuration system-config-network system-config-display system-config-packages system-config-... Show …
Swap Management

Swap Management

Get swap mcedit /proc/swaps swapon -s Gem all memory (swap, RAM) /proc/meminfo Show logical volums mcedit /etc/fstab Create Swap File Create swap file 1 GB dd if=/dev/zero of=/swapfile bs=1024 count=1048576 Prepare the swap file using …