Linux PS command sort by memory use

Do you want to the ps command sort with memory use.below is the command
smartproteam@smartpro:~$ ps aux –sort:rss
output :
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
mysql     5712  0.0  1.6 127768 17256 ?        Sl   Sep13   0:17 /usr/sbin/mysql
90171    13744  0.3  1.7  30228 17636 ?        S    19:51   0:05 gedit
90171    22557  0.0  …

Reseting or recovering mysql root password

We can recover MySQL database server password with the following 5 steps:
1: Stop (stop) the MySQL server process.
2: Run (start) the server or the MySQL daemon (mysqld) with option-skip-grant-tables so it will not display the password prompt.
3: Sign (login via mysql tool) to the MySQL server as root user.
4: Enter …

x11 forwarding on ssh

To enable  x11 forwarding on shh.you need to run below steps.
set DISPLAY env variable
e.g. export DISPLAY=:0.0
turn on X11Forwarding in /etc/ssh/ssh_config
use ssh -X server
programs on the ssh server send X window messages to a proxy (e.g. localhost:10.0), which forwards them through ssh to the X server on the ssh client

xterm windows using single graphical console window

Using cluster ssh you run xterm windows using single graphical windows.
cssh : Cluster administration tool
administration console and an xterm to all specified hosts.  Any text typed into the administration console is replicated to all windows.
to install on ubuntu run below command
smartproteam@smartpro $ sudo apt-get install clusterssh
example :
$ cssh user1@hostname1 user2@ …

CRUX 2.6 released with Firefox 3.5.2

CRUX is a lightweight, i686-optimized Linux distribution targeted at experienced Linux users. The primary focus of this distribution is keep it simple, which is reflected in a straightforward tar.gz-based package system, BSD-style initscripts, and a relatively small collection of trimmed packages. The secondary focus is utilization of new Linux features …