473,395 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

List applications and Client login ID

When I right click on a database in Control Center and choose 'Applications'
I get listed alle the applications connected at the moment, and among other
things I get to know the 'Client login ID'. For some reason I want to have
this information written to a file, but this is not possible from the GUI. I
try 'list application show detail' but the information about Client login ID
is not included there.

Is there a simple way to get that information so that I can write that to a
file?

Regards
Odd Bjørn A
ErgoGroup AS, Oslo, Norway
May 19 '06 #1
2 1756
Check out the snapshot table functions. We use SQL like the following.
Output could be directed to a file pretty easily...Here's an example:
SELECT a.Agent_ID
, a.Appl_Name
, a.DB_Name
, a.Auth_ID
, a.Execution_ID
FROM TABLE(SYSPROC.SNAPSHOT_APPL_INFO(CURRENT SERVER,-1)) as a
inner join TABLE(SYSPROC.SNAPSHOT_STATEMENT(CURRENT SERVER,-1)) as
b
on a.agent_id = b.agent_id
Good luck!

Pete H

May 19 '06 #2
Thank you! Just what I was looking for.

Regards
Odd Bjørn

"peteh" <ph******@intellicare.com> wrote in message
news:11*********************@g10g2000cwb.googlegro ups.com...
Check out the snapshot table functions. We use SQL like the following.
Output could be directed to a file pretty easily...Here's an example:
SELECT a.Agent_ID
, a.Appl_Name
, a.DB_Name
, a.Auth_ID
, a.Execution_ID
FROM TABLE(SYSPROC.SNAPSHOT_APPL_INFO(CURRENT SERVER,-1)) as a
inner join TABLE(SYSPROC.SNAPSHOT_STATEMENT(CURRENT SERVER,-1)) as
b
on a.agent_id = b.agent_id
Good luck!

Pete H

May 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ken Wigle | last post by:
All, I am trying to add some .net applications I wrote to a virtual directory underneath the sharepoint services web site. I am having some problems and wondering if a) this is possible and/or...
1
by: _andrea.l | last post by:
In my office I have a lots of application. In every application we have a login and a pw. It is orrible! How to deal the login at all application by a central "thing" that let you to use one...
3
by: BobTheDatabaseBoy | last post by:
.... got: win2K, v8.1.6 login to win2K is to the network: user; bob13, domain; foo it's a win2K domain. i then login to my local db as db2admin. LIST APPLICATIONS fails with security error. ...
1
by: JC | last post by:
I have several applications that use forms authentication and they are currently setup to use a single login page. Everything works fine under v1.0 of the framework and everything works fine if I...
7
by: David Brewster | last post by:
Hi everyone. I've been working with VB6 for a while now, I'm feeling pretty damn confortable with it, but find myself wondering about VB.NET and web applications. So I thought I'd get my feet wet....
1
by: Tod Birdsall, MCSD for .NET | last post by:
Hi All, I have two ASP.NET applications which I am trying to have share forms authentication. But I am running into problems. App A is an ASP.NET 2.0 Beta 2 application. App B is an ASP.NET...
3
by: cucubird | last post by:
Hi, I have develop a web application using java and jsp. In my web application, there are links to several other web applications. I aim to achieve the "backend login" of the applications that are...
11
by: Joseph Geretz | last post by:
I've been looking at two approaches for the maintenance of Session state for a Web Service application. One approach uses the old familiar Session object which I've used in the past for Web...
2
by: Bill Fallon | last post by:
I have a VS2005 VB.Net windows form application deployed to a share drive. The windows explorer security permissions for this application (.exe) file is set for Everyone with List Folder/Read Data...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.