FW: Cannot find process

Dirk Moolman DirkM
Tue Oct 17 06:16:04 PDT 2006


-----Original Message-----
From: linux-users-bounces at linux-sxs.org
[mailto:linux-users-bounces at linux-sxs.org] On Behalf Of Vu Pham
Sent: 13 October 2006 04:57 PM
To: Linux tips and tricks
Subject: RE: FW: Cannot find process

On Fri, 2006-10-13 at 16:31 +0200, Dirk Moolman wrote:
> >> When we start the process (it does not run in the background), and
> open
> >> another session, and do a "ps -ef | grep <processname>", the
process
> >> does not show.
> >
> >Did you login as root? Only root can see everything.
> 
> 
> Yes, I normally work as the root user (though it is probably not the
> best practise)
> I do this as root - I sometimes write crons that will check if
processes
> are running, and if not, start them.    We migrated from Solaris to
> Linux, and on Solaris this worked fine, but now the ps -ef does not
work
> properly on our SLES9 system.
> 


>Have you tried other options like ps -aux ?
>I had similar problem on an old Redhat box.



Nope, this one also doesn't work.  So far all the ps options I tried,
fail to show the process I am trying to find.

Example: 

Let's say the script is called run.sh
I then open a ssh session (using putty), and run ./run.sh

I open another ssh session, and so a "ps -ef | grep run"
... but it doesn't find anything



Disclaimer: http://196.33.167.70/disclaimer





More information about the Linux-users mailing list