473,803 Members | 3,424 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to invoke db2top in batch mode

4 New Member
I have installed db2top on solaris 10 and i trying to run db2top in batch mode. I tried with following option for batch mode:

db2top -d UBIS -u db2das -p db2das -i 3 -b l -X -o db2top.xml -m 10

But still this utility runs in interactive mode.

could someone suggest me how can i run db2top in batch mode.

Best Regards,
Deepak Sansaniwal
Jul 7 '08 #1
1 4570
niladri123
8 New Member
please read the following details [from the manual]

db2top can be run in replay mode, which means it can be
run against a saved copy of the raw binary snapshot data.
In order to do so, db2top must be run first in data collector
mode, either in batch mode by running db2top from
the command line with the [−C] switch, or by activating/
deactivating data collection from an interactive session
by pressing C. This will create a file
<db2snap−<Machi ne> in the current directory. Afterwards,
db2top can be ran against <db2snap−<Machi ne> by using the
[−f <db2snap−<Machi ne> arguments. db2top does not need to
attach to DB2 in replay mode, which makes convenient to do
remote monitoring. The stream will only contain the lock
information if the −x option has been used at collection
time.
Jul 7 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

12
3507
by: Moosebumps | last post by:
So, after reading some messages about os.system, and looking at the popen stuff and trying it a bit, I still have not found a way to keep a command window open for several commands (on Windows 2000/XP), while seeing the normal output in a command window. All I want to do is do what a batch file does, but I want to actually have functions and associative arrays and all the other niceties of python. What's the deal with that? I thought...
5
2055
by: Tyler Hudson | last post by:
After reading Erland Sommarskog's most enlightening articles on SQL Server 2000's error handling capabilities (http://www.sommarskog.se/error-handling-I.html and http://www.sommarskog.se/error-handling-II.html) I have a question regarding batch cancellation caused by a client. Because a batch cancel request from a client does not cause a rollback, is there any danger of the commands that were executed in the batch before the client...
2
5538
by: Kishore | last post by:
Hi, I have a small console application written in c# that takes two arguments. I am using System.Diagnostics.Process.Start("cmdApp.exe", arguments) to start the application from another .net application. But I am unable to start the console application using this method. When I write a batch file (app.Bat) like: cmdApp.exe %1 %2
3
1413
by: Joseph Farmer | last post by:
I want to invoke the ASP.NET compiler in a batch job (part of a debugging build process). I want to build the ASP.NET assembly from my aspx files. I'm not talking about the "code" assembly which is built when I run/build my application which is built from my .cs files. I am after the one which ASP.NET generates when a page is requested. I want to be able to create the ASP.NET assembly on demand from a batch job - any ideas how I can do this...
12
5149
by: Selva Chinnasamy | last post by:
Hi I am using batch commands against Ms-Access and getting an error Message "Characters found after end of SQL statement." String Here is my sql Dim str_screens As String = "Select * from Screens Order by ScreenName;Select * from Functions" How can I fix this problem. Any help is greatly appreciated. Selva
0
1731
by: ee_stevek | last post by:
hi guys, here is my problem: i have to maintain a web vb.net application developped some times ago. The application was developped on Windows2000 SP3 with Visual Studio 2003 (7.1). and the application was running on windows 2000 SP3 with the usual IIS. Right now i need to make it work, on a Windows 2003 SP1 server (but i need the keep the dev environment on VisualStudio 2003). this app need to run some batch file, unfortunately for me,...
0
1265
by: RajeevSekar | last post by:
Hi Experts, I am trying to invoke a batch(reside in my local machine) file from asp.net using System.diagnostics.process.start("path\filename") method, it is working fine, but when i try to invoke a batch file reside in my server machine through the same System.diagnostics.process("path\filename") method, the system throws "The system cannot find the file specified " Exception can anyone help me to invoke batch file in remote machine
16
2751
by: Richard Maher | last post by:
Hi, I have this Applet-hosted Socket connection to my server and in an ONevent/function I am retrieving all these lovely rows from the server and inserting them into the Select-List. (The on screen appearance of the Select List grows for the first 5 rows then the scroll bar appears if there's more). So far so good. . . The problem is that none of the rows I'm inserting appear on the screen until I have RETURNed from my function; so If...
7
7485
by: Okonita via DBMonster.com | last post by:
Hi all I will like to use DB2TOP for monitoring but have no idea how to install it on my machines - both windows and linux. My environment is DB2v8.1 fixpk 16 (windows and Linux) and a DB2v9.5 on a linux server. I have looked for db2top in the windows bin directory and could not find it. I downloaded DB2TOP but find no installation guide or how to activate instruction.
0
9566
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
10555
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
10317
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
10300
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
10069
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6844
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
5503
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
5636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.