Packetwatch.net

Get CPU information



Last modified: October 19, 2016

Contents
1 - Summary
2 - Apple
3 - FreeBSD
4 - Linux
5 - OpenBSD
6 - Solaris
7 - VMware
8 - Windows


1 - Summary

This guide will show you scripts that display CPU information. This has been
tested in FreeBSD, Linux, OpenBSD, Solaris and Windows.


2 - Apple

Here is a script that displays the CPU model, hyper-threading support, physical
CPU's, cores per CPU, threads per CPU and logical CPU's. This has been tested
in Apple OS X.

Shell script: script output
3 - FreeBSD Here is a script that displays the CPU model, hyper-threading support, physical CPU's, cores per CPU, threads per CPU and logical CPU's. This has been tested in FreeBSD and FreeNAS on the i386 and amd64 platforms. Shell script: script output 4 - Linux Here is a script that displays the CPU model, hyper-threading support, physical CPU's, cores per CPU, threads per CPU and logical CPU's. This has been tested in CentOS, Mythbuntu, Red Hat Enterprise Linux and Ubuntu on the i386 and amd64 platforms. Shell script: script output 5 - OpenBSD Here is a script that displays the CPU model, hyper-threading support, physical CPU's, cores per CPU, threads per CPU and logical CPU's. This has been tested in OpenBSD on the i386 and amd64 platforms. Shell script: script output
6 - Solaris Here is a script that displays the CPU model, physical CPU's and cores per CPU. This has been tested in Solaris 9 on the SPARC platform. Shell script: script output
7 - VMware Here is a script that displays the CPU model, hyper-threading support, physical CPU's, cores per CPU, threads per CPU and logical CPU's. This has been tested in VMware ESXi on the amd64 platform. Shell script: script output
8 - Windows Here is a script that displays the CPU model, hyper-threading support, physical CPU's, cores per CPU, threads per CPU and logical CPU's. Some of the utilities are from Cygwin, http://www.cygwin.com/. This has been tested in Windows XP, 2003, 2008, 2008 R2 and 2012 R2 on the x86 and x64 platforms. Batch script: script output

Last modified: Thu Jan 1 00:00:00 1970 UTC
Packetwatch Research 2002-2017.