RE: Linux ps command

  • From: "Rudy Zung" <Rudy.Zung@xxxxxxx>
  • To: <ntilbury@xxxxxxxxxxxx>, <charlottejanehammond@xxxxxxxxx>, "ORACLE-L" <oracle-l@xxxxxxxxxxxxx>
  • Date: Fri, 19 Nov 2004 08:28:00 -0800

ps auxw
(works on ps version 2.0.13 on RedHat)

...Rudy

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx =
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On
Behalf Of Nick Tilbury @ Northampton
Sent: Friday, November 19, 2004 9:31 AM
To: 'charlottejanehammond@xxxxxxxxx'; ORACLE-L
Subject: RE: Linux ps command


My admin's last suggestion (I promise) :-

export PS_PERSONALITY=3Dsun
export CMD_ENV=3Dsun

then run the usual SunOS commands "ps -ef | grep ora"

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of Charlotte Hammond
Sent: 19 November 2004 14:08
To: ORACLE-L
Subject: RE: Linux ps command


Thanks, but sorry, no - this returns "[oracle]" again:
=20
charlotte@quatermass:~> ps alx | grep ora
0   700  3589     1  15   0 14520 1864 schedu S    ?          0:00
/opt/oracle/product/9.2.0/bin/tnslsnr LISTENER -inherit
0   700 27446     1  15   0 284392 7912 schedu S   ?          0:00 =
[oracle]
0   700 27448     1  15   0 284736 7904 schedu S   ?          0:00 =
[oracle]
0   700 27450     1  15   0 287848 9236 schedu S   ?          0:00 =
[oracle]
0   700 27452     1  15   0 283744 7276 schedu S   ?          0:00 =
[oracle]
0   700 27454     1  15   0 283744 16932 schedu S  ?          0:00 =
[oracle]
0   700 27456     1  15   0 283716 10056 schedu S  ?          0:00 =
[oracle]
0   700 27458     1  15   0 283692 9388 schedu S   ?          0:00 =
[oracle]
0   700 27460     1  15   0 287788 6556 schedu S   ?          0:00 =
[oracle]
0   700 27462     1  15   0 287860 6792 schedu S   ?          0:00 =
[oracle]
0   700 27465     1  15   0 283664 5980 schedu S   ?          0:00 =
[oracle]
0   700 27467     1  15   0 283664 5984 schedu S   ?          0:00 =
[oracle]
0   700 27469     1  15   0 283664 5984 schedu S   ?          0:00 =
[oracle]
0   700 27471     1  15   0 283664 6004 schedu S   ?          0:00 =
[oracle]
0   700 27474     1  15   0 283676 6584 schedu S   ?          0:00 =
[oracle]
0   700 27476     1  15   0 283676 6472 schedu S   ?          0:00 =
[oracle]
0   702 27770 27747  20   0  3544  568 pipe_w S    pts/0      0:00 grep =
ora
=20
- Charlotte
=20
=20
"Stephane Faroult"  wrote:
Try =20
    ps alx
Regards,=20
Stephane Faroult=20
RoughSea Ltd=20
http://www.roughsea.com=20


"Nick Tilbury @ Northampton" <ntilbury@xxxxxxxxxxxx> wrote:
I cannot take credit (or blame !) for this one, it comes from our Unix
admin.
See if it give you want you require.

try ps auxc

a =3D all processes on a terminal, including other users
u =3D display user-oriented format
x =3D select processes without controlling ttys
c =3D display true command name

Nick

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx]On Behalf Of Charlotte Hammond
Sent: 19 November 2004 11:31
To: ORACLE-L
Subject: Linux ps command


Hi List,

If I run "ps" on Solaris or on SuSE Linux 7.2 I see the Oracle =
background
processes under the command heading containing the SID, eg. =
"ora_smon_MYSID"
or "oracleMYSID (LOCAL=3DNO)". If I do the same under SuSE Linux 8.2 I =
just
get "[oracle]", no process name and no SID.

I know I can cross-reference process id's with V$PROCESS but it's a lot
easier if this information is already in ps. Is there some way to get =
SuSE
8.2 to behave like 7.2 (or Solaris) in this regard?

Thanks
- Charlotte


---------------------------------
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!=20

--
//www.freelists.org/webpage/oracle-l


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
This message is intended solely for the use of the individual or
organisation to whom it is addressed. It may contain privileged or
confidential information. If you have received this message in error, =
please
notify the originator immediately. If you are not the intended =
recipient,
you should not use, copy, alter, or disclose the contents of this =
message.
All information or opinions expressed in this message and/or any =
attachments
are those of the author and are not necessarily those of VarTecTelecom
Europe Ltd or its affiliates. VarTec Telecom Europe Ltd accepts no
responsibility for loss or damage arising from its use, including damage
from virus.=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D


        =09
---------------------------------
Do you Yahoo!?
 Meet the all-new My Yahoo! - Try it today!=20

--
//www.freelists.org/webpage/oracle-l


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
This message is intended solely for the use of the individual or =
organisation
to whom it is addressed.  It may contain privileged or confidential
information.  If you have received this message in error, please notify =
the
originator immediately.  If you are not the intended recipient, you =
should
not use, copy, alter, or disclose the contents of this message.  All
information or opinions expressed in this message and/or any attachments =
are
those of the author and are not necessarily those of VarTecTelecom =
Europe Ltd
or its affiliates. VarTec Telecom Europe Ltd accepts no responsibility =
for
loss or damage arising from its use, including damage from virus.=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D

--
//www.freelists.org/webpage/oracle-l
--
//www.freelists.org/webpage/oracle-l

Other related posts: