From: SonydreamZ on
Hi All,

On OS Platform: sunos-5.9-sparc, I run the following commands
(under root) and I see some processes are not listed in the output of /
usr/ucb/ps.


/usr/ucb/ps -auxlwwwwwwwwww

/usr/bin/ps -ef


Is there any difference in above commands?

Regards,
Suneel
From: usenetpersongerryt on
On Jun 20, 3:08 pm, SonydreamZ <sune...(a)gmail.com> wrote:
>
> On OS Platform: sunos-5.9-sparc, I run the following commands
> (under root) and I see some processes are not listed in the output of /
Processes named....?
You dont think that might MATTER??

> usr/ucb/ps.
> /usr/ucb/ps -auxlwwwwwwwwww
> /usr/bin/ps -ef
> Is there any difference in above commands?

Ones a hacked version of ps and one isnt...?
I get the same # of processes here.

Better goto to Sun's fingerprint database and check those binaries..
From: SonydreamZ on
I am trying to see if my oracle "tnslsnr" process running or not by
using the above command. I see "tnslsnr" in the output of /usr/bin/ps
but I do not see "tnslsnr" in the output from /usr/ucb/ps -
auxlwwwwwwwwww.

So is there any difference between thses commands?

Thanks,
Suneel

On Jun 20, 4:11 pm, usenetpersonger...(a)gmail.com wrote:
> On Jun 20, 3:08 pm, SonydreamZ <sune...(a)gmail.com> wrote:
>
> > On OS Platform:      sunos-5.9-sparc, I run the following commands
> > (under root) and I see some processes are not listed in the output of /
>
> Processes named....?
> You dont think that might MATTER??
>
> > usr/ucb/ps.
> > /usr/ucb/ps -auxlwwwwwwwwww
> > /usr/bin/ps -ef
> > Is there any difference in above commands?
>
> Ones a hacked version of ps and one isnt...?
> I get the same # of processes here.
>
> Better goto to Sun's fingerprint database and check those binaries..

From: usenetpersongerryt on
On Jun 20, 5:16 pm, SonydreamZ <sune...(a)gmail.com> wrote:
> I am trying to see if my oracle "tnslsnr" process running or not by
> using the above command.
I recall there is an Oracle command to tell you that.
At least on 10g EE. You dont need ps for that.
> I see "tnslsnr" in the output of /usr/bin/ps
> but I do not see "tnslsnr" in the output from /usr/ucb/ps -
> auxlwwwwwwwwww.
> So is there any difference between thses commands?

Well if you cant spell maybe you cant read ?? I dunno (sp.)
Like I said - on my system there is no difference. Both report
exactly the same number of processes. Even with all those "w"'s
Theres nothing special about tnslsnr. Unless maybe ucb ps with those
args push you way past 80 characters maybe.

Pipe the output of both commands to wc -l
It should be the same number.