Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Some trace file to track timings of a process Post 303029731 by saraperu on Thursday 31st of January 2019 09:32:23 AM
Old 01-31-2019
Some trace file to track timings of a process

I will initiate a process from Server1 and the flow is as follow

Code:
Server1 --> Web server --> Application server --> DB Server

Note all seperate unix servers.

Now I need to put a trace for that process to track the timings from each server.

Like the below trace should be there:

Code:
Server1(09:00:00) --> Web Server(09:00:03) --> Application Server (9:00:05) -->DB Server (9:00:59)
Server1(09:02:30) <-- Web Server(09:02:03) <-- Application Server (9:01:05) <-- DB Server (9:01:03)

With this I can understand in performance bottleneck layer.

Please help.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Track Sftp process

Hi, I am using sftp in my bash script. I wanted to know whether if there is any way that we can track whether sftp has been successful or not.. Does sftp return any codes? Thanks in adv (9 Replies)
Discussion started by: borncrazy
9 Replies

2. Linux

how to trace iowait to a certain process

Hi all, Under top command you could see some iowait output. Is any way to locate which process(s) is causing the high percentage of iowait? 17:48:39 up 19 days, 18:54, 3 users, load average: 3.24, 3.14, 3.17 392 processes: 389 sleeping, 1 running, 2 zombie, 0 stopped CPU states: cpu user... (3 Replies)
Discussion started by: will_mike
3 Replies

3. AIX

Trace the process responsible for locking filesystem ?

Hi, Sometimes when I want to unmount some filesystem I get "The requested resource is busy." error. In such a case I try to find and kill process that uses that filesystem. I do that on random. Is there a right way to find whitch prosesses use filesystem resource at given time ? thanks... (1 Reply)
Discussion started by: vilius
1 Replies

4. Solaris

Help to trace process consuming more space

Hi all, We have a server having much processes running. It is very difficuilt to trace the exact consuming more memory. Howerver, it shows CPU usage in sequence but how memory? Tried working with TOP command. Please let me know if something not clear. Thanks, Deepak (5 Replies)
Discussion started by: naw_deepak
5 Replies

5. Shell Programming and Scripting

how to track a log file of one process and mail that logfile to a group?

Hi Friendz, I have 14 DB load scripts say 1,2,3....14. I want a script to call each script automatically, and after completion of every script, it needs to track the logfile and mail that log file to a group.and again it should run the next script in sequence 1,2,3...14 Please help me,need... (1 Reply)
Discussion started by: shirdi
1 Replies

6. UNIX for Advanced & Expert Users

How to trace an AIX Process?

Hello, I execute an application on my Unix AIX Server and that one crashes after reading some files. These files are very big (80 Mbytes), the application is a CVS Repository. I have found with a comparaison on a Solaris Server that there are system limitations on my AIX Server in the... (2 Replies)
Discussion started by: steiner
2 Replies

7. AIX

How to trace cpu/memory usage for a process

I don't know when the process will start and end, I need write a script to trace it's cpu/memory usage when it is runing. How to write this script? (2 Replies)
Discussion started by: rainbow_bean
2 Replies

8. Shell Programming and Scripting

Script to monitor a process and track status in a file

i have a scenario where i need a script that monitors a process "Monitor" based on process id... there can be any number of instances of this running... i start this across 4 servers in NFS. Now i need a file which has the process ids of the process that are currently in execution at any... (9 Replies)
Discussion started by: niteesh_!7
9 Replies

9. Linux

Trace an extinct process

Hi gurus, Just wanted to know if there is any way to trace the PID of a process that has already completed it's job and exited. My tomcat server was found in a hung state and we restarted it. Now we have found that someone has ran a kill -9 "pid" and wanted to know if it is the PID of tomcat.... (1 Reply)
Discussion started by: Hari_Ganesh
1 Replies

10. UNIX for Advanced & Expert Users

Trace Process performance Using PID

Hi, i want to track a process using its PID in SOLARIS. i have a code in C++ , which memory is increasing steeply increasing every 20 days, from the code i couldn't see any memory leak. is there any way in UNIX where with the help of PID i can trace the Process usage evry hour. ... (3 Replies)
Discussion started by: senkerth
3 Replies
asmigrate(1m)						    Application Server Utility						     asmigrate(1m)

NAME
asmigrate - automates migration of J2EE applications from other J2EE platforms to Sun Java System Application Server SYNOPSIS
asmigrate [-h | --help] [-v | --version] [(-c |--commandline) | (-u --ui) ] [-q | --quiet] [-d | --debug][-s | --sourcedirectory source_directory] [-S | --sourceserver source_application_server] [-t | --targetdirectory target_directory] [-T | --targetserver tar- get_application_server] [-n | --scan-native-apis-only ] [-p | --scan-packages package_list] [-j | --java2db create-tables=true, drop- tables=true, db-vendor-name=dbVendorName] [-m | --migrate-cmp comment-pk-modifiers=true, overwrite-conflicting-accessors=true] [-f | --file-filter all-files=true, html-files=true, java-files=true, jsp-files=true, xml-files=true, archive-files=true] [-a | --append-logs ][operands] Use the asmigrate utility to analyze your J2EE application and translate vendor specific settings to Sun JavaTMTM System Application Server specific settings making the application deployable on Sun's J2EE products. The following table identifies the supported J2EE product migrations: +--------------------------+--------------------------------+ | Source J2EE Platform | Destination J2EE Platform | +--------------------------+--------------------------------+ |WebSphere Application |Sun ONE Application Server 6.5 | |Server 4.0 | | | | | |WebLogic Application | | |Server 5.1 | | +--------------------------+--------------------------------+ |WebLogic Application |Sun ONE Application Server 7 | |Server 5.1, 6.0, 6.1 | | | | | |WebSphere Application | | |Server 4.0 | | | | | |JavaTMTM 2 Platform | | |Enterprise Edition 1.3 | | | | | |Sun ONE Application | | |Server 6.x | | | | | |Sun ONE Web Server 6.0 | | | | | |JBoss Application Server | | |3.0 | | | | | |Tomcat Web Server 4.1.12 | | +--------------------------+--------------------------------+ |WebLogic Application |JavaTMTM 2 Platform, Enterprise | |Server 5.1, 6.0, 6.1 |Edition 1.4 Application Server | | | | |WebSphere Application | | |Server 4.0 | | | | | |JavaTMTM 2 Platform | | |Enterprise Edition | | |1.3/1.4 | | | | | |Sun ONE Application | | |Server 6.x | | | | | |Sun ONE Web Server 6.0 | | | | | |JBoss Application Server | | |3.0 | | | | | |Tomcat Web Server 4.1.12 | | +--------------------------+--------------------------------+ |WebLogic Application |Sun JavaTMTM System Application | |Server 5.1, 6.0, 6.1 |Server Platform Edition 8 | | | | |WebSphere Application | | |Server 4.0 | | | | | |JavTMTMa 2 Platform | | |Enterprise Edition | | |1.3/1.4 | | | | | |Sun ONE Application | | |Server 6.x | | | | | |Sun ONE Web Server 6.0 | | | | | |JBoss Application Server | | |3.0 | | | | | |JBoss Application Server | | |3.2 | | | | | |Tomcat Web Server 4.1.12 | | +--------------------------+--------------------------------+ OPTIONS
-h --help displays the arguments for launching the MigrationTool. -v --version displays the version of the MigrationTool. -u --ui invokes the tool in user interface mode. -c --commandline invokes the tool in command-line mode. -q --quiet launches the tool in quiet mode. -d --debug launches the tool in debug mode. -s --sourcedirectory identifes the directory where the source code to migrate or scan is present. -S --sourceserver identifes the source application server of the applications to be migrated. Possible servers include: o wl51: WebLogic Application Server 5.1 o wl60: WebLogic Application Server 6.0 o wl61: WebLogic Application Server 6.1 o as65: Sun ONE Application Server 6.5 o as70: Sun ONE Application Server 7.0 o ws40: WebSphere Application Server 4.0 o ri13: JavaTMTM 2 Platform Enterprise Edition 1.3 o ri14: JavaTMTM 2 Platform Enterprise Edition 1.3 o s1ws: Sun ONE Web Server o jb30: JBoss Application Server 3.0 o tc41: Tomcat Application Server 4.1 -t --targetdirectory target or output directory where the migrated application should be placed. -T --targetserver target application server to which the application is to be migrated. -n --scan-native-apis-onlscans the source code only for the presence of application server specific proprietary APIs. -p --scan-packages comma-separated list of Java packages to scan. -j --java2db bypasses the creation of the sun-cmp-mapping.xml file. Instead, introduces the option argument into the sun-ejb- jar.xml file. Option arguments are: o create-tables: if set to true (default), creates tables at deploy. If set to false tables are not created. o drop-tables: if set to true (default), tables are dropped at undeploy. If set to false tables are not dropped. o db-vendor-name: name of the database vendor for the application to be migrated. Supported vendor names include: Oracle, Sybase, DB2, Generic SQL92, PointBase, MSSQL. -m --migrate-cmp migrates 1.1 compliant CMPs, if any, to 2.0. Option arguments are: o overwrite-conflicting-accessors: if set to true (default), conflicting accessors are overwritten. If set to false, conflicting accessors are not overwritten. o comment-pk-modifiers: if set to true (default), setters of primary key are commented. If set to false, setters of primary key are not commented. -f --file-filter selects the type of files to migrate. Option arguments are: o all-files: if specified and set to true (default), migrates all types of files. o html-files: if specified and set to true (default), migrates HTML files. o java-files: if specified and set to true (default), migrates Java files. o jsp-files: if specified and set to true (default), migrates JSP type files. o archive-files: if specified and set to true (default), migrates jar/ear/war/rar file types. -a --append-logs if specified, appends the logging to the existing or previous logs without overwriting them. If not specified, previous logs are overwritten. operands identifes the archive file (jar/ear/war/rar) to be migrated. SEE ALSO
asupgrade(1M) J2EE 1.4 SDK March 2004 asmigrate(1m)
All times are GMT -4. The time now is 01:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy