Hi Parul
i logged with same user 'oracle' from two terminal. see in both session id
is different, and you can trace with session id (SID) all command that user
has run.
terminal 1
-----------------
SVRMGR> connect internal
Connected.
SVRMGR> !
[S8174:/var] ps -j
PID PGID SID TTY TIME CMD
24953 24953 24953 pts/2 0:00 ksh
22849 22773 24953 pts/2 0:00 sh
22773 22773 24953 pts/2 0:00 svrmgrl
22850 22850 24953 pts/2 0:00 ksh
[S8174:/var]
[S8174:/var] who am i
oracle pts/2 Oct 7 04:24 (149.178.200.20)
[S8174:/var]
terminal 1
-----------------
Oracle Server Manager Release 3.1.7.0.0 - Production
Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
With the Partitioning option
JServer Release 8.1.7.4.0 - Production
SVRMGR> connect internal
Connected.
SVRMGR> !
[S8174:/d001/oracle] ps -j
PID PGID SID TTY TIME CMD
22662 22662 22406 pts/3 0:00 ksh
22661 22647 22406 pts/3 0:00 sh
22647 22647 22406 pts/3 0:00 svrmgrl
22406 22406 22406 pts/3 0:00 ksh
[S8174:/d001/oracle] who am i
oracle pts/3 Oct 7 06:48 (149.178.200.20)
[S8174:/d001/oracle]
Thanks,
Mahesh
-----Original Message-----
From: Parul Patel
[mailto:oracledba-ezmlmshield-x93537311.[Email address protected]
Sent: Wednesday, October 06, 2004 8:21 PM
To: LazyDBA Discussion
Subject: HOw to identify Unix process owned by a user
Hi All,
Is there any way to find out the processes that i as a user have
specifically initiated .
I have logged into Unix os as abc/abc user.
and have issued some unix commands.Like
ps -wef
ls
sqlplus username/passwd
.
.
.
.
.
.
Another user also has logged in using same username and password i.e
abc/abc
and also issues the same command
sqlplus username/password
ps -wef
ls
.
.
.
How do i identify/differentiate wat commands i have issued and what all
commands other has issued when both of us has logged in as same user.
Any idea would e of great help
TIA
-Parul
--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these
terms:http://www.lazydba.com/legal.html
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************
Oracle LazyDBA home page