Skip to content

Instantly share code, notes, and snippets.

@cookie-ag
Last active December 8, 2017 08:57
Show Gist options
  • Save cookie-ag/c9f0577519a78a45f85ae8684f35f4f6 to your computer and use it in GitHub Desktop.
Save cookie-ag/c9f0577519a78a45f85ae8684f35f4f6 to your computer and use it in GitHub Desktop.
Linux System Resources (RedHAT)
- Processor - Processor field can be used to determine the total number of available processor cores. On systems that have one processor core, only a "processor 0" is present.
- physical id - Firmware assigned integer uniquely identifying a CPU socket / slot.
- siblings - Displays the total number of sibling CPUs on the same physical CPU on architectures that use hyper-threading
- core id - The unique ID of a given core on a physical CPU
- cpu cores - The total number of cores in the CPU
- cpu family — Authoritatively identifies the type of processor in the system. For an Intel-based system, place the number in front of "86" to determine the value. This is particularly helpful for those attempting to identify the architecture of an older system such as a 586, 486, or 386. Because some RPM packages are compiled for each of these particular architectures, this value is useful to determine which packages to install.
- model name — Displays the common name of the processor, including its project name
- cpu MHz — Shows the clock frequency in megahertz for the processor to the three decimal places
- cache size — Displays the amount of cache available to the processor
- flags — Defines a number of different qualities about the processor, such as the presence of a floating point unit (FPU) and the ability to process MMX instructions.
# Processor Model name
cat /proc/cpuinfo | grep 'model name' | uniq
# Total physical processor sockets in your machine
grep 'physical id' /proc/cpuinfo | sort | uniq | wc -l
# Total RAM
cat /proc/meminfo | grep MemTotal
# Total Disk space
# Disk Usage
df -h
# Model of GPU
/sbin/lspci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment