Linux Find Out CPU Architecture Information

How do I find out my CPU architecture information under Linux operating systems?

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
NUMA nodes

Continue reading “Linux Find Out CPU Architecture Information”

Moving Files Between Linux Systems With SCP

This article is about how to move files between servers using the scp (secure copy) command. To show how it works, I will move files from my HDD to a virtual machine running on VirtualBox. There is Linux Mint 11 installed on both drives.
This tutorial comes without warranty of any kind. I do not guarantee that this will work for you.

1 Preliminary Note

Using scp you can not only move files to and between virtual machines like I will do, but move them to any server on the world as well. You only have to know that server’s IP adress and the passwords needed to access it.

Continue reading “Moving Files Between Linux Systems With SCP”

Installing Nagios core on RHEL / CENTOS 5.x – RHEL / CentOS 6.x Fedora 15/16/17/18/19/20

What is Nagios

An enterprise-class monitoring and alerting solution that provides organizations with extended insight of their IT infrastructure before problems affect critical business processes.

Requirements

We require following things for Installing Nagios:
These are Just Pre-requisites. We need them to other things work …

1. Apache and PhP (php is optional)
2. gcc, glib, glibc-common, gd and gd-devel

Continue reading “Installing Nagios core on RHEL / CENTOS 5.x – RHEL / CentOS 6.x Fedora 15/16/17/18/19/20”

HTop – CPU, Memory & Process Monitoring Utility in Linux by Qasim Mehmood

Htop

Htop is a text-mode, interactive process viewer for Linux run via console/ssh, and to install htop on Linux is a pretty simple task. Among other things, htop allows you the following:

  • Quickly view key performance statistics such as CPU(multi-core layout), Memory and Swap usage Details.
  • Scroll the process list vertically and horizontally to see all processes and complete command lines.
  • Kill processes by selection rather than entering process number, use mouse to select list items.
  • PuTTY (the Telnet and SSH client) can be used for the interface at client.

How to install Htop

You can easily install htop on CentOS 6.x using yum, but first you need to install the rpmforge package repository applicable to your architecture 32bit or 64bit (if already not installed) by using the following commands:

Install RPM for CentOS 6.x

32-BIT

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
rpm -Uhv rpmforge-release*.rf.i386.rpm

64BIT

wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

rpm -Uhv rpmforge-release*.rf.x86_64.rpm

Once the repository is installed, all you need to do to install htop in CentOS is run the following:

yum install htop

Now run the following command at command prompt or in PuTTy to start htop processes viewer.

htop

After the installation of Htop, you can view the manual and other utilities of Htop, with the following commands.

[qasim@server ]# man htop                                           To view manual of htop, having complete details.

[qasim@server ]#htop -h                                                 To view different options/plug-ins.

[qasim@server ]#htop -u username                            To view the active user’s currently running processes information.

[qasim@server ]#htop -u qasim                                    To view the qasim’s currently running processes information.

[qasim@server ]#htop -u root                                       To view the root’s currently running processes information

 

Virtual Box Machine Settings Urdu CBT by Babar Zahoor

Virtual Box Machine Settings

Virtual Box Machine Settings Urdu CBT by Babar Zahoor