473,386 Members | 1,775 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,386 software developers and data experts.

Truss output - semget analysis

Guys,

I'm trying to determine if the application is issuing semget() calls
and fails. Hence I issued the command
truss -d -o truss.log db2 "connect to dbname"

Inside the truss.log file, the following lines are listed
0.1427 access("/IBMdb2/home/db2rtcl/sqllib/profile.env", 0) Err#2
ENOENT
0.1430 open("/IBMdb2/home/db2rtcl/sqllib/profile.env", O_RDONLY) Err#2
ENOENT
0.1432 lstat("/IBMdb2/home/db2rtcl/sqllib/.ftok", 0xFFBEEF34) Err#2
ENOENT
0.1434 semget(-2, 1, 0) = 3473440
0.1436 semop(3473440, 0xFE3A5CE8, 1) = 0
0.1437 shmget(-2, 0, 0) = 1204957224
0.1438 shmat(1204957224, 0, SHM_RND) = 0xFD400000
0.1441 semop(3473440, 0xFE3A5CEE, 1) = 0

But I dont know whether semget has succeeded or failed. Your help is
greatly appreciated. (I have posted this in Solaris group however I
would like to post in main DB2 group as well)

Thanks,
db2udbgirl.

Mar 30 '06 #1
3 2484
I forgot to give the environment related info. I just have a db2
runtime client on a Solaris box

$ db2level
DB21085I Instance "db2rtcl" uses "32" bits and DB2 code release
"SQL08023"
with level identifier "03040106".
Informational tokens are "DB2 v8.1.0.96", "s050811", "U803921", and
FixPak
"10".
Product is installed at "/opt/IBM/db2/V8.1".

Thanks,
db2udbgirl.

Mar 30 '06 #2
I guess if the semget returns a number the semaphore is made and semop
is success when it returns a zero .
0.1434 semget(-2, 1, 0) = 3473440
0.1436 semop(3473440, 0xFE3A5CE8, 1) = 0
I am wondering in what context you need this information.

Mar 31 '06 #3
I got a poor performance from a DB2 Client which is on Solaris box.
When googled I found this technote
http://www-1.ibm.com/support/docview...=utf-8&lang=en
So I would like to check whether it is applicable in my case. And
apparently it worked in my case.

Thanks,
db2udbgirl.

Mar 31 '06 #4

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

Similar topics

0
by: Martin | last post by:
Sorry to cut all you (2600 odd) users and beta testers off so abruptly on the 1/1/04. Due to popular demand I have relented and put these free (V1.0) analysis programs back online for download....
6
by: c676228 | last post by:
Hi everyone, I wrote a store procedure that fetch one row data in the database based on the parameter value I entered. After I created the store procedure, the store procedure code looks like...
1
by: v.maggs | last post by:
Folks, I have two tables, and , both containing a field with the same name, . This field defines the primary/foreign key relationship between the two tables. It's the primary key for . I am...
3
by: MatsL | last post by:
Hi, This is seriously driving me crazy, could anyone explain to me why neither of these doesn't produce XHTML compliant output (it is being called in Render() btw): output.WriteLine("<img...
4
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
Hi; When my ASP.NET app is running on IIS, where does the Console.Out.WriteLine("hi there"); output go? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com
2
by: jdbartlett | last post by:
I'm trying to capture output from a command line utility (XMLSec), but only get an empty result. If I call the script from the command line, I see XMLSec's output, but I can't seem to capture it!...
8
by: Rami | last post by:
Hi, I'm looking for ANTLR input file with C++ grammar which is configured for C# output. Does anybody know where can I find it?
6
by: =?Utf-8?B?R3JlZw==?= | last post by:
I am using the following command to output my results to the Output window (for testing things out). Console.WriteLine ("Output") I'd like to clear the Output window of any previous output. I...
2
by: Ken Fine | last post by:
I have a question about ASP.NET output caching. I want to use screen scraping as a temporary hack to pull in some complex Classic ASP-rendered content into some ASP.NET pages: protected String...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.