473,651 Members | 2,861 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

db2pd API

hi all

I'm trying to make the application which use a db2pd facility.

so, I am looking for db2pd api.

where can i find db2pd api ?

thanks for advance.
Feb 19 '08 #1
7 3243
andyw wrote:
I'm trying to make the application which use a db2pd facility.
so, I am looking for db2pd api.
where can i find db2pd api ?
Some of the db2pd capabilities can be access through SQL. Take a look at
the "administra tive routines and views" section in the InfoCenter.

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Feb 19 '08 #2
On 2¿ù19ÀÏ, ¿ÀÀü10½Ã51ºÐ, Serge Rielau <srie...@ca.ibm .comwrote:
andyw wrote:
I'm trying to make the application which use a db2pd facility.
so, I am looking for db2pd api.
where can i find db2pd api ?

Some of the db2pd capabilities can be access through SQL. Take a look at
the "administra tive routines and views" section in the InfoCenter.

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
thanks for your advice.

I checked "administra tive routines and views" out.

but, i got two problem.

1. "administra tive routines and views" looks like only for DB2 9.x. my
application using db2pd capacility should support DB2 8.x ~ 9.x

2. db2pd should access memory of DB2, so no overload DB2. but
accessing through SQL should overload DB2.

Feb 19 '08 #3
andyw wrote:
1. "administra tive routines and views" looks like only for DB2 9.x. my
application using db2pd capacility should support DB2 8.x ~ 9.x
The number of functions was indeed increased in DB2 9/9.5.
Many of them do exist in DB2 8.2 however, even if they ra enot grouped
as such in the InformationCent er.
2. db2pd should access memory of DB2, so no overload DB2. but
accessing through SQL should overload DB2.
Overload is such a strong word.
Would you mind telling us what yuou are trying to achieve?
Do you represent a tools vendor? If so, are you an IBM Partner?
You would not be the first partner getting acccess to APIs not part of
the InformationCent er. Just ask...

BTW, itGain parses db2pd output.

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Feb 19 '08 #4
On Feb 19, 5:33*am, Serge Rielau <srie...@ca.ibm .comwrote:
andyw wrote:
1. "administra tive routines and views" looks like only for DB2 9.x. my
application using db2pd capacility should support DB2 8.x ~ 9.x

The number of functions was indeed increased in DB2 9/9.5.
Many of them do exist in DB2 8.2 however, even if they ra enot grouped
as such in the InformationCent er.
2. db2pd should access memory of DB2, so no overload DB2. but
accessing through SQL should overload DB2.

Overload is such a strong word.
Would you mind telling us what yuou are trying to achieve?
Do you represent a tools vendor? If so, are you an IBM Partner?
You would not be the first partner getting acccess to APIs not part of
the InformationCent er. Just ask...

BTW, itGain parses db2pd output.

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab
Yes I know IBM really supports DB2 well
Feb 19 '08 #5
Udo
Yes I know IBM really supports DB2 well

Hey - We are not IBM ! :-)

Regards
Udo

--
Speedgain for DB2 - The DB2 Monitor
http://www.itgain.de/en/produkte/speedgain.html

Feb 19 '08 #6
Udo
Do you represent a tools vendor? If so, are you an IBM Partner?
You would not be the first partner getting acccess to APIs not part of
the InformationCent er. Just ask...
Serge,

we already met one of the db2pd guys and he refused to provide an API.
The current db2pd implementation is a big monolith. It interprets the
shared memory itself.
Regards
Udo

--
Speedgain for DB2 - The DB2 Monitor
http://www.itgain.de/en/produkte/speedgain.html
Feb 19 '08 #7
anyway - there IS a file : libdb2pdapi.a
but I can't find any docs for it...
may be its used "internally " by db2pd ?
And parsing the output is currently the only method (which I know)
Feb 20 '08 #8

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

Similar topics

1
2971
by: Private Pyle | last post by:
I have a question about db2pd. When using the -activestatements the column -EffISO is the effective isolation level. The value in this column is an integer, not something easy like UR, CS, RS, or RR. The documentation update doesn't tell me what the translation is, can some please shed some light on this? Thanks!
14
23815
by: kenfar | last post by:
I'd like our daily quality & policy testing framework to also test if our databases are activated. However, I haven't found a good way to do this yet - every approach has issues: 1. get snapshot for database on - I can't tell if the database is activated - or if it is inactivated by has a connection 2. list active databases - same as above 3. activate database and check return code - but I don't necessarily
1
2888
by: BAS | last post by:
Guys, Assume i have taken the db2pd -locks output and there i have seen lockesculations like this +898 0x42D14020 37 000E28090028A5020000000052 Row .NS W
2
3492
by: interz12 | last post by:
Hi, Does anyone know of a tool that gives a bit more readable info out of the db2pd tool when executing Locktest? I'm thinking of something that will show the type of lock and which tables by name rather than by ids etc. thanks! A
14
7053
by: Konstantin Andreev | last post by:
Hello there. 1) According to documentation, setting CATALOGCACHE_SZ = -1 means CATALOGCACHE_SZ = (MAXAPPLS*4) But MAXAPPLS is set to AUTOMATIC, this means "no limit" or "no value". Again, according to documentation, CATALOGCACHE_SZ is allocated "when the database is initialized". Hence, I'm interesting, which value is really allocated instead of illusion (<no limit>*4). "get db cfg" command does not help here, because literally...
5
4348
by: Jeroen van den Broek | last post by:
db2 8.1 fp13 on Linux for zSeries (64-bit) Every invocation of db2pd except for the "-version" and "-osinfo" options gives following message: ======================================= Database Partition 0 -- Database FOO_DB -- Active Changing data structure forced command termination. =======================================
2
2441
by: James | last post by:
In output of comand "db2pd -d <dbname-tcbstats index", what's the meaning of IID=0? Please advise. Thanks so much. James
7
2444
by: db2admin | last post by:
hello, where can i see what optimization level a certain sql has used ? is there any snapshot, event monitor, query patroller information which can be used to see that ? regards, db2admin
5
3412
by: Shree | last post by:
Anybody with similar experience? Thx U Shree.
0
8277
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8803
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8700
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8465
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7298
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5612
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4144
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4285
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2701
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.