谁在使用DB2? [英] Who's using DB2?

查看:71
本文介绍了谁在使用DB2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我在Solaris9中安装了DB2 v8服务器。实例db2inst1是一个

服务器实例,并作为客户端连接到另一个远程

服务器。


今天我注意到了2 DB2进程(db2fm)正在使用50%的CPU资源,我怎么知道谁在使用DB2?


非常感谢。
db2inst1命令窗口中的

解决方案

尝试:

db2 list应用程序


Phil Sherman

Tony写道:


大家好,


我有DB2 v8 Solaris9中安装的服务器。实例db2inst1是一个

服务器实例,并作为客户端连接到另一个远程

服务器。


今天我注意到了2 DB2进程(db2fm)正在使用50%的CPU资源,我怎么知道谁在使用DB2?


非常感谢。


2月7日上午10:27,Phil Sherman< psher ... @ ameritech.netwrote:

来自db2inst1命令窗口的
尝试:

db2 list applications


Phil Sherman



感谢Phil的回复。我运行命令,它显示

消息: SQL1032N没有发出启动数据库管理器命令。

SQLSTATE = 57019"


我停止了实例(db2stop),进程(db2fm)仍然使用50%

CPU。所以我认为一些应用程序可能正在使用客户端来连接到另一个DB2服务器。


但我现在的问题是,为什么DB2客户端可以使用这么多CPU

资源?我怎么知道谁在使用客户端或者哪些
应用程序正在使用客户端?


Tony写道:


2月7日上午10:27,Phil Sherman< psher ... @ ameritech.netwrote:


>从db2inst1命令窗口尝试:
db2 list applications

Phil Sherman



感谢Phil的回复。我运行命令,它显示

消息: SQL1032N没有发出启动数据库管理器命令。

SQLSTATE = 57019"


我停止了实例(db2stop),进程(db2fm)仍然使用50%

CPU。所以我认为一些应用程序可能正在使用客户端来连接到另一个DB2服务器。


但我现在的问题是,为什么DB2客户端可以使用这么多CPU

资源?我如何知道谁在使用客户端或者哪些
应用程序正在使用客户端?



每当我看到round时CPU号码我怀疑进程失控。我

假设这是一个双向或四向盒子?如果DB2甚至没有启动那么

它是一个打开和关闭的情况迫使它们关闭。


干杯

Serge

-

Serge Rielau

DB2解决方案开发

IBM多伦多实验室


Hi All,

I have DB2 v8 server installed in Solaris9. The instance db2inst1 is a
server instance and as a client to connect to the other remote
server.

Today I notice 2 DB2 processes(db2fm) are using 50% CPU resource, how
can I know who is using the DB2?

Thanks a lot.

解决方案

from a db2inst1 command window try:
db2 list applications

Phil Sherman
Tony wrote:

Hi All,

I have DB2 v8 server installed in Solaris9. The instance db2inst1 is a
server instance and as a client to connect to the other remote
server.

Today I notice 2 DB2 processes(db2fm) are using 50% CPU resource, how
can I know who is using the DB2?

Thanks a lot.


On Feb 7, 10:27 am, Phil Sherman <psher...@ameritech.netwrote:

from a db2inst1 command window try:
db2 list applications

Phil Sherman

Thanks Phil for your reply. I run the command and it shows the
message :" SQL1032N No start database manager command was issued.
SQLSTATE=57019"

I stoped the instance(db2stop) and the processes(db2fm) still use 50%
CPU. So I think some applications maight be using the client to
connect to the other DB2 server.

But my questions now are, why the DB2 client can using so much CPU
resources? how can I know who is using the client or which
applications are using the client?


Tony wrote:

On Feb 7, 10:27 am, Phil Sherman <psher...@ameritech.netwrote:

>from a db2inst1 command window try:
db2 list applications

Phil Sherman

Thanks Phil for your reply. I run the command and it shows the
message :" SQL1032N No start database manager command was issued.
SQLSTATE=57019"

I stoped the instance(db2stop) and the processes(db2fm) still use 50%
CPU. So I think some applications maight be using the client to
connect to the other DB2 server.

But my questions now are, why the DB2 client can using so much CPU
resources? how can I know who is using the client or which
applications are using the client?

Whenever I see "round" CPU numbers I suspect runaway processes. I
suppose this is a 2-way or 4 way box? If DB2 isn''t even started then
it''s an open and shut case force them off.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab


这篇关于谁在使用DB2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆