Unix Technical Forum

active users

This is a discussion on active users within the DB2 forums, part of the Database Server Software category; --> Hi all, How can I list active users connected to database server in MS-DOS shell environment. Is there any ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 04:42 AM
tuarek
 
Posts: n/a
Default active users

Hi all,

How can I list active users connected to database server in MS-DOS
shell environment. Is there any specific CLP command for this? We are
running DB2 ver 8.1.6.

Thanks in advance.

Mehmet

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 04:42 AM
Ian
 
Posts: n/a
Default Re: active users

tuarek wrote:
> Hi all,
>
> How can I list active users connected to database server in MS-DOS
> shell environment. Is there any specific CLP command for this? We are
> running DB2 ver 8.1.6.
>


You have to have the DB2 CLP enabled (i.e. by starting the a DB2 Command
Window), but the command is "db2 list applications"

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 04:42 AM
tuarek
 
Posts: n/a
Default Re: active users

Hi Ian,

I initialized the CLP by issuing db2cmd command. When I entered "db2
list applications", it complained with

SQL1096N The command is not valid for this node type.

Regards,

Mehmet

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 04:42 AM
tuarek
 
Posts: n/a
Default Re: active users

Nevermind. When Issued the command on the server, It gave me the list.

Thanks Ian.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-27-2008, 04:43 AM
Gert van der Kooij
 
Posts: n/a
Default Re: active users

In article <1124895479.612821.6170@g43g2000cwa.googlegroups.c om>,
tuarek (mbaserdem@gmail.com) says...
> Nevermind. When Issued the command on the server, It gave me the list.
>
> Thanks Ian.
>
>


You can run it at the client also after attaching to a remote
instance (or with V8 after connecting to the database.)
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 05:29 AM.


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