Tag Archives: Redhat

How to get CPU Info of a Linux Machine

This worked with me in Redhat and Ubuntu-based distros: “less /proc/cpuinfo” you can get the number of processors easily if you don’t want to read a lot of text: “less /proc/cpuinfo | grep processor”processor : 0processor : 1processor : 2processor : … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

How to change hostname in Redhat & Oracle Linux

As user “root” “vi /etc/sysconfig/network”, change HOSTNAME value to the new hostname “hostname NEW_HOST_NAME” to change it for the current sessions “vi /etc/hosts”, change the old value to point to the new hostname “service network restart” to restart the networking … Continue reading

Posted in Linux | Tagged , , , , | 2 Comments

Configure Ganglia Data Monitoring Agent (gmond) to send data to multiple Data Collection Agents (gmetad)

Edit the “/etc/gmond.conf” file, and just copy the udp_send_channel section, one copy for every host, e.g. udp_send_channel { host = 10.11.x.x port = 8649 ttl = 1 } udp_send_channel { host = 10.11.x.y port = 8649 ttl = 1 } … Continue reading

Posted in Unix | Tagged , , , , | Leave a comment

Force install Oracle 10g Client on Redhat 5

Source: http://publib.boulder.ibm.com/infocenter/director/v6r1x/index.jsp?topic=/director.tbs_6.1/fqm0_r_tbs_oracle_10gR2_client_will_not_install.html

Posted in Linux | Tagged , , , | Leave a comment

Change display resolution in Redhat 5 or Oracle Enterprise Linux 5

Edit your “/etc/X11/xorg.conf” file, add the “Modes” part under subsection “Display” where the first mode – which is 1024×768 in the example below – will be the default one: Section “Screen”        Identifier “Screen0”        Device  … Continue reading

Tagged , , , | 2 Comments