Finding the Last Item in DSTrace Live

0 Likes
over 14 years ago

Problem



When tracing anything in DSTrace via iMonitor, for example an Identity Manager driver problem of the like, often you will use the DSTrace Live option.



There is an odd side effect of DSTrace Live: when you double-click it, you will get the last few seconds of trace, in a shortened form. If you go to the DSTrace History link and click the last DSTrace item, you would expect to see the entire Dstrace history for the last 2-meg file, but the link is actually to:



https://serverIp.Address:8009/nds/trace/live 


which does not really help.



Solution



If you go to the second last item in the history list, you will see a URL like this:



https://serverIp.Address/nds/trace/history?file=trace110.htm 



Note the last part of the URL, the "?file=trace110.html". It turns out the file we need to get at is the next number in sequence. Therefore, in this case it's this URL:



https://serverIp.Address/nds/trace/history?file=trace111.htm 



When you replace "110" with "111", you get the last trace file, not just the last second or so that DSTrace Live is currently showing.

Labels:

How To-Best Practice
Comment List
Anonymous
Related Discussions
Recommended