11-15-2010
Using Solaris D-trace. This tool for debugging is ideal for resolving problems like bottleneck and if you want to know what is going on in the system Dtrace is ideal for that job
8 More Discussions You Might Find Interesting
1. Programming
HI,
I am getting the error :
ErrCode:-2 Message:Application Initialisation function Err Params:Could not Load SO/DLL
Nothing specific is coming, just the above error.
Can anyone tell me how to debug this error.
Thanks. (3 Replies)
Discussion started by: amol_helwatkar
3 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I am using ingres in perl
select count(*) rec from user_tables where table_name = 'abc';
I want to use the alias variable 'rec' and check the value if >0 insert values else create table.
How can I do this without using hash variables in perl.
Kindly help me in this regard.
Much... (1 Reply)
Discussion started by: karthickrn
1 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I need to take a dump of a table and load into excel and send as an attachment and for this am using a Perl script.
I know the usual way of doing this by writing all the fields next to 'select' query and similarly writing into an excel as shown below ... (3 Replies)
Discussion started by: karthickrn
3 Replies
4. UNIX for Advanced & Expert Users
Hi
i'm working with mpi programs every thing ok
but i need after i compile the mpi to calc the area of the rectangle for example (not my program)
accept two arguments from the command line:
mpirun -n 4 myprog 24 100
here 24 and 100 two arguments i'll pass them to the program
how can... (1 Reply)
Discussion started by: Scotch
1 Replies
5. UNIX for Advanced & Expert Users
Hi experts,
Please help me on the below:
how to write a shell script to search and delete files on windows server.
-script runs on unix box
-it should search for specific files on windows server and delete them periodically. (1 Reply)
Discussion started by: chpradeepch
1 Replies
6. Shell Programming and Scripting
I have a log file of 60 MB with 20k records which contains data like below.
this contains some data so removed
2891358271000020, 2012-12-02 23:16:17 , 2012-12-02 23:16:17 ,
378015123, 2012-12-02 23:16:19 , 2012-12-02 23:16:19 , (15 Replies)
Discussion started by: mirwasim
15 Replies
7. IP Networking
I'm searching to learn linux coding for a month but no clear about the where to start . Right now i'm in networking but not much interested in this maintenance jobs . I'm looking to create my own product in wireless network and also having idea about gadget that can be useful for students . But i... (1 Reply)
Discussion started by: Cholasivam
1 Replies
8. Shell Programming and Scripting
Hello All,
I recently encountered this difficulty in processing a File.
Input File has millions of records with fields like below
ID1,ID2,DATE,FLAG,VAL
123,432,0604,1,-0.5
123,432,0604,22,0.5
123,433,0604,1,-0.54
123,433,0604,22,6.77
123,543,0605,22,0.94
To put this simply, I will have... (8 Replies)
Discussion started by: PikK45
8 Replies
TRPT(8C) TRPT(8C)
NAME
trpt - transliterate protocol trace
SYNOPSIS
trpt [ -a ] [ -s ] [ -t ] [ -f ] [ -j ] [ -p hex-address ] [ system [ core ] ]
DESCRIPTION
Trpt interrogates the buffer of TCP trace records created when a socket is marked for "debugging" (see setsockopt(2)), and prints a read-
able description of these records. When no options are supplied, trpt prints all the trace records found in the system grouped according
to TCP connection protocol control block (PCB). The following options may be used to alter this behavior.
-a in addition to the normal output, print the values of the source and destination addresses for each packet recorded.
-s in addition to the normal output, print a detailed description of the packet sequencing information.
-t in addition to the normal output, print the values for all timers at each point in the trace.
-f follow the trace as it occurs, waiting a short time for additional records each time the end of the log is reached.
-j just give a list of the protocol control block addresses for which there are trace records.
-p show only trace records associated with the protocol control block, the address of which follows.
The recommended use of trpt is as follows. Isolate the problem and enable debugging on the socket(s) involved in the connection. Find the
address of the protocol control blocks associated with the sockets using the -A option to netstat(1). Then run trpt with the -p option,
supplying the associated protocol control block addresses. The -f option can be used to follow the trace log once the trace is located.
If there are many sockets using the debugging option, the -j option may be useful in checking to see if any trace records are present for
the socket in question. The
If debugging is being performed on a system or core file other than the default, the last two arguments may be used to supplant the
defaults.
FILES
/vmunix
/dev/kmem
SEE ALSO
setsockopt(2), netstat(1), trsp(8C)
DIAGNOSTICS
``no namelist'' when the system image doesn't contain the proper symbols to find the trace buffer; others which should be self explanatory.
BUGS
Should also print the data for each input or output, but this is not saved in the race record.
The output format is inscrutable and should be described here.
4.2 Berkeley Distribution May 26, 1986 TRPT(8C)