Wednesday, March 19, 2008

LINUX ps aux command.

LIST all the programs running on my linux computer.
(( ps aux ))
$ ps aux

~~~~~~~~~~~~~~~~~~~~~~~~~~~

To the extend of checking the ?target? processes, let say ?fluxbox?, we do this,
$ ps aux | grep fluxbox
With that, the lines with keyword ?fluxbox? will be grepped. But, the first line of ps which use to display the field caption will be lost.

~~~~~~~~~~~~~~~~~~~~~~~~~~~ As long as you know the exactly what you want, you can use the command line as bellow:
CODE:

$ ps u -C icewm
$ ps u -C opera
$ ps u -C firefox
$ ps u -C emelfm

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
((( some more targeted apps.))
$ ps u -C icewm,gmplayer,mplaye,opera,firefox,beaver,nano,bash
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Alsp try:

$ ps axu
NOW you know what apps are using up all your ram.
$ killall firefox     " to free up your computers ram."
MORE LINUX TIPS and short cuts to follow. learn a few tip about the linux history comman

linked here Linux history command tips


2008march

No comments: