Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Who Access Tablename?

1 view
Skip to first unread message

Xuanhai Carmichael

unread,
Jan 15, 2004, 4:28:06 PM1/15/04
to

Is there any way to find out who is accessing a tablename in a
database? Thank you.
Xuanhai
sending to informix-list

Brian Minnick

unread,
Jan 15, 2004, 4:52:49 PM1/15/04
to

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C3DBB1.EAD88AA0
Content-Type: text/plain;
charset="iso-8859-1"


Check who is processing sqls.
onstat -g sql
and note the session ids

Check each of these sessions.
onstat -g ses ses_id

This will show the sql code being processed and the user_id.

------_=_NextPart_001_01C3DBB1.EAD88AA0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.45">
<TITLE>RE: Who Access Tablename?</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=3D2>Check who is processing sqls.</FONT>
<BR><FONT SIZE=3D2>onstat -g sql </FONT>
<BR><FONT SIZE=3D2>and note the session ids</FONT>
</P>

<P><FONT SIZE=3D2>Check each of these sessions.</FONT>
<BR><FONT SIZE=3D2>onstat -g ses ses_id</FONT>
</P>

<P><FONT SIZE=3D2>This will show the sql code being processed and the =
user_id.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Xuanhai Carmichael [<A =
HREF=3D"mailto:xcarm...@puyallup.k12.wa.us">mailto:xcarmichael@puyall=
up.k12.wa.us</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Thursday, January 15, 2004 4:28 PM</FONT>
<BR><FONT SIZE=3D2>To: inform...@iiug.org</FONT>
<BR><FONT SIZE=3D2>Subject: Who Access Tablename?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&nbsp; Is there any way to find out who is accessing =
a tablename in a</FONT>
<BR><FONT SIZE=3D2>database? Thank you.</FONT>
<BR><FONT SIZE=3D2>&nbsp; Xuanhai</FONT>
<BR><FONT SIZE=3D2>sending to informix-list</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C3DBB1.EAD88AA0--
sending to informix-list

Rajib Sarkar

unread,
Jan 15, 2004, 7:30:28 PM1/15/04
to

--0__=88BBE48EDF912A878f9e8a93df938690918c88BBE48EDF912A87
Content-type: multipart/alternative;
Boundary="1__=88BBE48EDF912A878f9e8a93df938690918c88BBE48EDF912A87"

--1__=88BBE48EDF912A878f9e8a93df938690918c88BBE48EDF912A87
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable


Yes, there is a way ..if you use the onaudit tool supplied with the
product. U can select events u want to audit and get the information ei=
ther
in a ASCII file or you can load the ASCII file into the database to hav=
e a
SQL interface.

Please read the Trusted Facility manual for more information

Thanx much,

Rajib Sarkar
Advisory Software Engineer (RAS)
IBM Data Management Group
Ph : (602)-217-2100
Fax: (602)-217-2100
T/L : 667-2100

If we all did the things we are capable of doing, we would literally
astound ourselves. -- T. Edison

=

"Xuanhai Carmichael" =

<xcarmichael@puyallup To: <informix-=
li...@iiug.org>
.k12.wa.us> cc: =

Sent by: Subject: Who Access=
Tablename?
owner-informix-list@i =

iug.org =

=

=

01/15/2004 02:28 PM =

=


Is there any way to find out who is accessing a tablename in a
database? Thank you.
Xuanhai
sending to informix-list

=

--1__=88BBE48EDF912A878f9e8a93df938690918c88BBE48EDF912A87
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline
Content-transfer-encoding: quoted-printable

<html><body>
<p>Yes, there is a way ..if you use the onaudit tool supplied with the =
product. U can select events u want to audit and get the information ei=
ther in a ASCII file or you can load the ASCII file into the database t=
o have a SQL interface.<br>
<br>
Please read the Trusted Facility manual for more information<br>
<br>
Thanx much,<br>
<br>
Rajib Sarkar<br>
Advisory Software Engineer (RAS)<br>
IBM Data Management Group <br>
Ph : (602)-217-2100<br>
Fax: (602)-217-2100<br>
T/L : 667-2100<br>
<br>
If we all did the things we are capable of doing, we would literally as=
tound ourselves. -- T. Edison<br>
<br>
<img src=3D"cid:10__=3D88BBE48EDF912...@us.ibm.com" width=3D=
"16" height=3D"16" alt=3D"Inactive hide details for &quot;Xuanhai Carmi=
chael&quot; &lt;xcarm...@puyallup.k12.wa.us&gt;">&quot;Xuanhai Carmi=
chael&quot; &lt;xcarm...@puyallup.k12.wa.us&gt;<br>
<br>
<br>

<table V5DOTBL=3Dtrue width=3D"100%" border=3D"0" cellspacing=3D"0" cel=
lpadding=3D"0">
<tr valign=3D"top"><td width=3D"1%"><img src=3D"cid:20__=3D88BBE48EDF91=
2A878f9e...@us.ibm.com" border=3D"0" height=3D"1" width=3D"72" al=
t=3D""><br>
</td><td style=3D"background-image:url(cid:30__=3D88BBE48EDF912A878f9e8=
a93d...@us.ibm.com); background-repeat: no-repeat; " width=3D"1%"><img=
src=3D"cid:20__=3D88BBE48EDF912...@us.ibm.com" border=3D"=
0" height=3D"1" width=3D"225" alt=3D""><br>

<ul>
<ul>
<ul>
<ul><b><font size=3D"2">&quot;Xuanhai Carmichael&quot; &lt;xcarmichael@=
puyallup.k12.wa.us&gt;</font></b><br>
<font size=3D"2">Sent by: owner-inf...@iiug.org</font>
<p><font size=3D"2">01/15/2004 02:28 PM</font></ul>
</ul>
</ul>
</ul>
</td><td width=3D"100%"><img src=3D"cid:20__=3D88BBE48EDF912A878f9e8a93=
df...@us.ibm.com" border=3D"0" height=3D"1" width=3D"1" alt=3D""><br>
<font size=3D"1" face=3D"Arial"> </font><br>
<font size=3D"2"> To: </font><font size=3D"2">&lt;inform...@iiug.or=
g&gt;</font><br>
<font size=3D"2"> cc: </font><br>
<font size=3D"2"> Subject: </font><font size=3D"2">Who Access Tablename=
?</font></td></tr>
</table>
<br>
<br>
<tt> &nbsp;Is there any way to find out who is accessing a tablename in=
a<br>
database? Thank you.<br>
&nbsp;Xuanhai<br>
sending to informix-list<br>
</tt>

</body></html>=


--1__=88BBE48EDF912A878f9e8a93df938690918c88BBE48EDF912A87--


--0__=88BBE48EDF912A878f9e8a93df938690918c88BBE48EDF912A87
Content-type: image/gif;
name="graycol.gif"
Content-Disposition: inline; filename="graycol.gif"
Content-ID: <10__=88BBE48EDF912A...@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhEAAQAKECAMzMzAAAAP///wAAACH5BAEAAAIALAAAAAAQABAAAAIXlI+py+0PopwxUbpu
ZRfKZ2zgSJbmSRYAIf4fT3B0aW1pemVkIGJ5IFVsZWFkIFNtYXJ0U2F2ZXIhAAA7

--0__=88BBE48EDF912A878f9e8a93df938690918c88BBE48EDF912A87
Content-type: image/gif;
name="ecblank.gif"
Content-Disposition: inline; filename="ecblank.gif"
Content-ID: <20__=88BBE48EDF912A...@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhEAABAIAAAAAAAP///yH5BAEAAAEALAAAAAAQAAEAAAIEjI8ZBQA7

--0__=88BBE48EDF912A878f9e8a93df938690918c88BBE48EDF912A87
Content-type: image/gif;
name="pic17925.gif"
Content-Disposition: inline; filename="pic17925.gif"
Content-ID: <30__=88BBE48EDF912A...@us.ibm.com>
Content-transfer-encoding: base64

R0lGODlhWABDALP/AAAAAK04Qf79/o+Gm7WuwlNObwoJFCsoSMDAwGFsmIuezf///wAAAAAAAAAA
AAAAACH5BAEAAAgALAAAAABYAEMAQAT/EMlJq704682770RiFMRinqggEUNSHIchG0BCfHhOjAuh
EDeUqTASLCbBhQrhG7xis2j0lssNDopE4jfIJhDaggI8YB1sZeZgLVA9YVCpnGagVjV171aRVrYR
RghXcAGFhoUETwYxcXNyADJ3GlcSKGAwLwllVC1vjIUHBWsFilKQdI8GA5IcpApeJQt8L09lmgkH
LZikoU5wjqcyAMMFrJIDPAKvCFletKSev1HBw8KrxtjZ2tvc3d5VyKtCK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LuBDKFUDE9aQcw
9SA+rjSNf9/M1gxrj6VwDTS0IUSElMzBfsj0NFXR2kwsV1A5IF1grLgLL/r1R40BZEnuBWgmQEyb
jqRwSAt6bqMCOFkvKFN2GPPkUzIm/SCF8z8pVzpbjVnMsy0vOr1hw3SaSRUhpY09v0z0J1FnwzPl
fmh+xl4WtR0zGu24I4KbMQm3lnVu2oNWxI9W/lcyzA+mCKF4DBikxb/+UWtOGRiFP8qEwAayIgIA
Ow==

--0__=88BBE48EDF912A878f9e8a93df938690918c88BBE48EDF912A87--

sending to informix-list

Andy Kent

unread,
Jan 16, 2004, 6:45:06 AM1/16/04
to
(3) Clog up the Newsgroup with piles of HTML and sundry binary.

> 8BBE48EDF912A878f9e8a93df938690918c88BBE48EDF912A87
> Content-type: multpart/alternative;
> Boundary="1__=88BBE48EDF912A878f9e8a93df938690918c88BBE48EDF912A87"
>
> 88BBE48EDF912A878f9e8a93df938690918c88BBE48EDF912A87
> Content-type: etc

<snip>


> AH5BAEAAAgALAAAAABYAEMAQAT/EMlJq704682770RiFMRinqggEUNSHIchG0BCfHhOjAuh
> EDeUqTASLCbBhQrhG7xis2j0lssNDopE4jfIJhDaggI8YB1sZeZgLVA9YVCpnGagVjV171aRVrYR
> RghXcAGFhoUETwYxcXNyADJ3GlcSKGAwLwllVC1vjIUHBWsFilKQdI8GA5IcpApeJQt8L09lmgkH

<snip>

>
> sending to informix-list

0 new messages