Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Anonymous_User Absent Member.
Absent Member.
411 views

DSTRACE.DLM output


Can anyone tell me if it is possible to get the DSTRACE screen up on
Windows (Server 2008 R2)? I work with IDM and no dstrace leaves me
blind.

I can access iMonitor, but would really like to be able to access the
live trace and see activity as and when it happens, but when I open
NDSconsole and start dstrace I get the "Interactive Services Detection"
popup that will let me see the trace screen in a separate desktop but
will not let me see it on the same desktop as the one I am using to
work. I have found Microsoft TIDS that will help me suppress the
message but I really want to actually see the screen redirected to my
current session. I found an old archived thread about this
(https://forums.netiq.com/archive/index.php/t-32187.html) which
helpfully references bug 478671 and suggests it will be fixed in eDir
8.8.6, but I cannot find any other details about that bug (and cannot
see an option in bugzilla to enter a specific bug number) and my eDir
version is much newer (20701.48).

I am sure I have either failed dismally to search the right term or have
missed some obvious step somewhere, but for the sake of my sanity any
pointers would be greatly appreciated.
Cheers,
Eddie


--
ETFKNOVL
------------------------------------------------------------------------
ETFKNOVL's Profile: https://forums.netiq.com/member.php?userid=3938
View this thread: https://forums.netiq.com/showthread.php?t=48175

Labels (1)
0 Likes
6 Replies
Anonymous_User Absent Member.
Absent Member.

Re: DSTRACE.DLM output

IDM traces via ndstrace (or the windows equivalent) are not reliable
because of buffering that can cause lines to be lost, not to mention
sub-optimal formatting of data and the likelihood of having multiple
things interleaved (other trace flags, or just multiple drivers' output in
the same file, making traces nearly impossible to interpret reliably).

The right way to do this is to trace from the driver object to a
driver-specific file. On most platforms you would already have 'tail' or
'less' which can follow the file in realtime, but on your platform you'll
need to download and add that kind of basic utility. I'd personally use
cygwin since it gives you a full Linux shell with hundreds of commands. I
have also seen people use 'baretail' or 'tail32', both which can do this task.

Good luck.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: DSTRACE.DLM output


Thanks for the prompt reply and sound advice.
I will set it up as suggested and tail the files (I already have a
PowerShell script that mimics tail).

Cheers,
Eddie


--
ETFKNOVL
------------------------------------------------------------------------
ETFKNOVL's Profile: https://forums.netiq.com/member.php?userid=3938
View this thread: https://forums.netiq.com/showthread.php?t=48175

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: DSTRACE.DLM output

On Mon, 15 Jul 2013 02:54:02 +0000, ETFKNOVL wrote:

> I can access iMonitor, but would really like to be able to access the
> live trace and see activity as and when it happens, but when I open
> NDSconsole and start dstrace I get the "Interactive Services Detection"
> popup that will let me see the trace screen in a separate desktop but
> will not let me see it on the same desktop as the one I am using to
> work.


Further to ab's advice, the dstrace and other NDSconsole utilities need
to be run from the system console - not from a terminal server session.
You *must* be on the console to see the windows created for the tool.

(Unless something's changed in the last couple of years to change that,
that is.)

Jim
--
Jim Henderson, CNA6, CDE, CNI, LPIC-1, CLA10, CLP10
Novell/SUSE/NetIQ Knowledge Partner
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: DSTRACE.DLM output

On 15.07.2013 06:08, Jim Henderson wrote:
> Further to ab's advice, the dstrace and other NDSconsole utilities need
> to be run from the system console - not from a terminal server session.
> You *must* be on the console to see the windows created for the tool.
>
> (Unless something's changed in the last couple of years to change that,
> that is.)


This *has* changed somewhat on Windows 2008 and higher, the console
switch for terminal services remote desktop client has been depreciated.

Session 0 (previously the console session) is reserved for services and
if you are an admin, the OS will prompt you when something interactive
is launched on session 0 (like dstrace) that you might want to view.

So, in general, you don't *have* to be on the console any more - but you
need to click through the "Interactive Services Detection" popup.

see: http://support.microsoft.com/kb/947723 for more details.


--
----------------------------------------------------------------------
Alex McHugh
NetIQ Knowledge Partner http://forums.netiq.com

Please post questions in the forums. No support is provided via email.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: DSTRACE.DLM output

On Mon, 15 Jul 2013 07:43:34 +0000, Alex McHugh wrote:

> This *has* changed somewhat on Windows 2008 and higher, the console
> switch for terminal services remote desktop client has been depreciated.
>
> Session 0 (previously the console session) is reserved for services and
> if you are an admin, the OS will prompt you when something interactive
> is launched on session 0 (like dstrace) that you might want to view.
>
> So, in general, you don't *have* to be on the console any more - but you
> need to click through the "Interactive Services Detection" popup.
>
> see: http://support.microsoft.com/kb/947723 for more details.


That's good to know, Alex - thanks for that info. 🙂 (Now you mention
it, I do remember hearing something about the changes in terminal
services in server 2008).

Jim

--
Jim Henderson, CNA6, CDE, CNI, LPIC-1, CLA10, CLP10
Novell/SUSE/NetIQ Knowledge Partner
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: DSTRACE.DLM output

On Mon, 15 Jul 2013 02:54:02 +0000, ETFKNOVL wrote:

> Can anyone tell me if it is possible to get the DSTRACE screen up on
> Windows (Server 2008 R2)? I work with IDM and no dstrace leaves me
> blind.


Yes, you can, but you have to be on console 0, or whatever they're
calling it now. But, you'd be better off using an engine trace to file,
because dstrace can be overwhelmed by the level of traffic generated by
IDM and can then miss parts of the trace.


--
--------------------------------------------------------------------------
David Gersic dgersic_@_niu.edu
Knowledge Partner http://forums.netiq.com

Please post questions in the forums. No support provided via email.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.