Mtop (MySQL Monitoring Tool) mtop screen Mtop is a little perl utility that shows in real time statistics of your MySQL server. It allows you to quickly identify problems related to mysql poor performance, using an interface similar to the normal ‘top’ command. If you are using Debian then the installation is trivial as mtop…
Gnu Screen Tip: Password Protect Session
1. Screen into the server and go into command mode C-a : 2. type “password” and hit enter, screen will then prompt for you to set a password for the session. You will have to type it in twice. You can have screen do this simply by placing the word ‘password’ at the bottom of…
NERDtree
The NERD tree allows you to explore your filesystem and to open files and directories. It presents the filesystem to you in the form of a tree which you manipulate with the keyboard and/or mouse. It also allows you to perform simple filesystem operations. Download NerdTree Here. Install Unzip the archive into your ~/.vim directory….
Keep a command out of your history
Tip: Keep a command out of your history October 13, 2009, 3:43 pm terminal.png If you want an easy way to keep commands out of your ~/.bash_history, do the following: put this in your .bashrc: export HISTCONTROL=ignorespace then in a new bash session when you type in a command, if you put a space before…
/etc/sysconfig/iptables-config in RHEL/CentOS
Most of you know that you need to save your iptables changes using service iptables save before rebooting on Redhat, or else you’lllose all your rules. I brought up the setting IPTABLES_SAVE_ON_STOP to “yes” in /etc/sysconfig/iptables-config. There’s some pretty cool settings in there . Read on for details. The file /etc/sysconfig/iptables-config provides a place to…
Error: “Your platform is not thread-safe” on REL5/Centos5
If you are ever building packacges under RedHat Enterprise Linux or Centos and you get the error “Your platform is not thread-safe”, Make sure you have the following packacges installed along with the prerequsites. gcc-c++ libstdc++-devel redhat-rpm-config Hope this saves someone a few hours of pulling out hair
RPM Commands
rpm -ivh package.rpm install a rpm package rpm -ivh –nodeps package.rpm install a rpm package ignoring dependencies requests rpm -U package.rpm upgrade a rpm package without changing configuration files rpm -F package.rpm upgrade a rpm package only if it is already installed rpm -e package_name.rpm remove a rpm package rpm -qa show all rpm packages…
ps examples
To see every process on the system using standard syntax: ps -e ps -ef ps -eF ps -ely To see every process on the system using BSD syntax: ps ax ps axu To print a process tree: ps -ejH ps axjf To get info about threads: ps -eLf ps axms To get security info: ps…
-
Recent Posts
-
Archives
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- October 2020
- September 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- August 2019
- June 2019
- March 2019
- February 2019
- January 2019
- November 2018
- August 2018
- July 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- October 2017
- June 2017
- December 2016
- October 2016
- September 2016
- August 2016
- June 2016
- May 2016
- March 2016
- February 2016
- September 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- March 2009
-
Meta