← Linux// SCRIPTS
Memory & Performance
How to check CPU information in Linux
Check the CPU model, socket, core, and thread counts, and NUMA layout with lscpu and /proc/cpuinfo.
How to use vmstat to monitor performance in Linux
Watch CPU, memory, swap, and I/O together with vmstat, and read the key columns for run queue, blocked processes, and I/O wait.
How to check HugePages configuration in Linux
Check HugePages allocation and use from /proc/meminfo and sysctl, the memory setting that matters for an Oracle Database SGA.
How to check memory and swap usage in Linux
Check RAM and swap usage with free -h and /proc/meminfo, and read the available column for what applications can really use.
How to check the memory usage of a process in Linux
Check a process resident and virtual memory with ps, and its detailed memory map with pmap.
How to find which processes are using swap in Linux
Find which processes are consuming swap by reading VmSwap from /proc/*/status, ranked highest first.