Thanks Ken. Forgive my inadequacies, as i'm very new
on here. Also installed Linux ( SUSE ) only a few days
ago.
I did as you suggested and it gave me this result:
newton@linux:~> ps auxw|grep postmaster|grep -v grep
newton@linux:~> su
Password:
linux:/home/newton # ps auxw!grep postmaster!grep -v
grep
bash: !grep: event not found
linux:/home/newton # exit
exit
newton@linux:~> ps auxw|grep postmaster|grep -v grep
newton@linux:~> cd /usr
newton@linux:/usr> cd share
newton@linux:/usr/share> cd pgsql
newton@linux:/usr/share/pgsql> ps auxw|grep
postmaster|grep -v grep
newton@linux:/usr/share/pgsql> su
Password:
linux:/usr/share/pgsql # ps auxw|grep postmaster|grep
-v grep
linux:/usr/share/pgsql # ...
linux:/usr # ..
linux:/ # ps auxw|grep postmaster|grep -v grep
linux:/ # exit
exit
newton@linux:/usr/share/pgsql> ps auxw|grep
postmaster|grep -v grep
newton@linux:/usr/share/pgsql> ...
newton@linux:/usr> ..
newton@linux:/> ps auxw|grep postmaster|grep -v grep
newton@linux:/> su
Password:
linux:/ # ps auxw|grep postmaster|grep -v grep
linux:/ # cd home
linux:/home # cd newton
linux:/home/newton # ps auxw|grep postmaster|grep -v
grep
linux:/home/newton #
....................................
Not sure what the interpretation is for the above.
Thanks,
Newton
--- Ken Schneider
-----Original Message----- From: Eyinagho Newton
To: suse-linux-e@suse.com Cc: paka@wahoo.no-ip.org Date: Mon, 30 Aug 2004 04:04:02 -0700 (PDT) Subject: Re: [SLE] Installing PostgreSQL in a Linux Environment Hey Patrick,
I did it as you said and it gave the underlisted result:
First, no need to reply to the list and Patrick as that causes him to get two copies of your reply. Please only reply to the list unless asked otherwise.
The way to use ps with grep so that you don't see the grep command used is:
ps auxw|grep postmaster|grep -v grep
Try that and you will find that postgresql is -not- running.
Ken
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail