“Dr. Chandra, will I dream?” - HAL-9000
You can use /proc/cpuinfo file or use the lscpu command to get info about CPU architecture. It will display information like: Number of CPUs, Threads, Cores, Sockets, etc…
Open a terminal and type the following command:
You cal also just type: lscpu for the same results
If you have taken a look at Windows Task Manager, and wondered what does all this mean. This brief guide should help you understand what these values represent.
The performance information is broken down into four categories:
CPU, Physical Memory, Kernel Memory, and System
CPU (Central Processing Unit) usage represents the percentage of CPU capacity currently being used by Windows and all running applications. This number should be low (< 5%) when you are not actively using your computer.
Physical memory is commonly referred to as RAM (random access memory)
Total—The total physical RAM in your system (in MB.) Divide this number by 1,024 to get the number in gigabytes
Cached—Physical RAM set aside by Windows for cached documents and programs. Cached memory is used to speed up Windows and is the first to be used when available memory hits 0MB
Available—Memory available for immediate use (standby and free memory)
Free—Unused memory available for immediate use
Kernel memory is memory dedicated to the operating system (Windows) and not applications.
Paged—Kernel memory which is mapped to pages of virtual memory (stored on your hard disk drive)
Nonpaged—Kernel memory which resides in physical memory
Handles—A handle is a pointer to a system resource used by an application. If you want to find out what handles a process has open, you can either use Sysinternals Handle or Process Explorer
Threads—A thread is a processor task, executed by a process. Most processes use two or more threads to execute tasks
Processes—This is the total number of processes running, on your PC, by all users
Uptime—The number of days : hours : minutes : seconds you’ve been running your current session
Commit (GB)—The minimum and maximum size (in gigabytes) of your pagefile
So I had been looking for something to give me system stats about memory being used and CPU usage. I have usedthe program ‘top’ over the years, and then today I tested out the program hTop (htop).
Htop is an interactive system-monitor process-viewer written for Linux. It is designed to replace the Unix program top. It shows a frequently updated list of the processes running on a computer, normally ordered by the amount of CPU usage. Unlike ‘top’, Htop provides a full list of processes running, instead of the top resource-consuming processes. Htop uses color and gives visual information about processor, swap and memory status.
To install this in Ubuntu you simply open the command shell and install by typing ‘sudo apt-get install htop’ and then run the program by simply typing ‘htop’. and that does it. Its rich with many options and I am sure you will find some good use by having such a tool
Official Web Site: http://htop.sourceforge.net/
saidar is a curses-based application to display system statistics. Statistics include CPU, processes, load, memory,swap, network I/O and disks I/O along with their free space.
saidar utilizes libstatgrab library. libstatgrab is a library that provides cross platform access to statistics about the system on which it’s run. It’s written in C and presents a selection of useful interfaces which can be used to access key system statistics. The current list of statistics includes CPU usage, memory utilisation, disk usage, process counts, network traffic, disk I/O, and more.
How to Install Saidar in ubuntu
sudo apt-get install saidar
This will complete the installation
saidar [-d delay] [-v] [-h]
If you want to use this application you can just type the following command
Hyper-Threading is a technology included by Intel first in their Netburst line of parts. Hyper-Threaded processors present their individual processing cores to the system as if they are two processing cores. To use Intel’s parlance, that means that each physical core appears in the operating system as two logical cores. While the OS can distinguish between a system that has two logical cores (i.e. a single physical core with Hyper-Threading enabled) and two physical cores, applications cannot. It is up the the OS’s scheduler to choose if it wishes to use logical cores in the same manner as physical cores