Code:
/sbin/service postgresql status
start/stop/status
or try
/etc/init.d/postgresql status
-------------btw-----------
1 Set a password for the system postgres user by typing:
sudo passwd postgres
Give the password for sudo, then enter a new password for the postgres administrator
2 Login as the system postgres user by typing su postgres and giving the password.
3 You must now create a database using the command createdb [dbname] .
4 Add any users who are to have access to the database by using createuser .
5 Log in as the user you just added (or get that user to log in!) and test that you now have access by typing psql -l