Unix Technical Forum

missing processes in /usr/ucb/ps output compared to the output from/usr/bin/ps

This is a discussion on missing processes in /usr/ucb/ps output compared to the output from/usr/bin/ps within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Hi All, On OS Platform: sunos-5.9-sparc, I run the following commands (under root) and I see some processes are ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-23-2008, 10:46 AM
SonydreamZ
 
Posts: n/a
Default missing processes in /usr/ucb/ps output compared to the output from/usr/bin/ps

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-23-2008, 10:46 AM
usenetpersongerryt@gmail.com
 
Posts: n/a
Default Re: missing processes in /usr/ucb/ps output compared to the outputfrom /usr/bin/ps

On Jun 20, 3:08 pm, SonydreamZ <sune...@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..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-23-2008, 10:46 AM
SonydreamZ
 
Posts: n/a
Default Re: missing processes in /usr/ucb/ps output compared to the outputfrom /usr/bin/ps

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...@gmail.com wrote:
> On Jun 20, 3:08 pm, SonydreamZ <sune...@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..


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-23-2008, 10:46 AM
Richard B. Gilbert
 
Posts: n/a
Default Re: missing processes in /usr/ucb/ps output compared to the outputfrom /usr/bin/ps

SonydreamZ wrote:
> 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


The first is the Berkeley (BSD) version. The second is the System V
version.

Comparing the man pages for both might help enhance your understanding
of the differences and similarities.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-23-2008, 10:46 AM
usenetpersongerryt@gmail.com
 
Posts: n/a
Default Re: missing processes in /usr/ucb/ps output compared to the outputfrom /usr/bin/ps

On Jun 20, 5:16 pm, SonydreamZ <sune...@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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:57 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com