A simple command

Stephen Liu satimis at yahoo.com
Sat Nov 11 03:07:53 UTC 2006


Hi folks,

ubuntu-6.06-LAMP-server-amd64

Instead of running;
$ sudo /etc/init.d/mysql status
$ sudo /etc/init.d/apache2 status
$ sudo /etc/init.d/postfix
etc. respectively.

to find out whether they are running. Is there a simple command to list
the current status of all them collectively.

$ ps aux
lists all prcocesses which is not an ideal command for my application.

At boot the text scrolling displays all of them.  After working a while
I expect to find out their current status.

TIA


B.R.
satimis




More information about the ubuntu-users mailing list