Microsoft KB Archive/172710: Difference between revisions
(importing KB archive) |
m (Text replacement - """ to """) |
||
(One intermediate revision by the same user not shown) | |||
Line 56: | Line 56: | ||
To function properly, OH requires that an option internal to the Windows NT kernel be enabled. This option maintains a linked list of all objects by object type. If OH detects that this option is not set, OH sets it and sends a message that the user must restart the computer before the option will take effect. After restarting, OH can give useful results.<br /> | To function properly, OH requires that an option internal to the Windows NT kernel be enabled. This option maintains a linked list of all objects by object type. If OH detects that this option is not set, OH sets it and sends a message that the user must restart the computer before the option will take effect. After restarting, OH can give useful results.<br /> | ||
<br /> | <br /> | ||
This linked list costs 8 bytes of overhead for each object. If desired, this option can later be disabled with Gflags.exe (in the Windows NT 4.0 Resource Kit) by clearing the check box for | This linked list costs 8 bytes of overhead for each object. If desired, this option can later be disabled with Gflags.exe (in the Windows NT 4.0 Resource Kit) by clearing the check box for" Maintain a list of objects for each type" in the Global Flags window, then restarting the system.<br /> | ||
<br /> | <br /> | ||
The most convenient way to use OH is to have it pipe the data to a text file. At the command prompt type: | The most convenient way to use OH is to have it pipe the data to a text file. At the command prompt type: | ||
<div class="indent"> | <div class="indent"> | ||
'''Oh | '''Oh >***.txt''' {where *** is the name you provide}<br /> | ||
Latest revision as of 11:06, 21 July 2020
Article ID: 172710
Article Last Modified on 11/1/2006
APPLIES TO
- Microsoft Windows NT Workstation 4.0 Developer Edition
- Microsoft Windows NT Server 4.0 Standard Edition
This article was previously published under Q172710
SUMMARY
This article discusses the OH monitoring tool OH (Oh.exe) that is included in the Microsoft Windows NT Server 4.0 Resource Kit Supplement Two. The OH utility can help monitor which files, registry keys, and directories are in use by certain services at any given time.
MORE INFORMATION
This command-line tool shows the handles of all open windows. Alternatively, you can constrain the OH display to show only information relating to a particular process, object type, or object name. This feature is useful when a sharing violation occurs because you can find the process that has a file open at the time of violation.
To function properly, OH requires that an option internal to the Windows NT kernel be enabled. This option maintains a linked list of all objects by object type. If OH detects that this option is not set, OH sets it and sends a message that the user must restart the computer before the option will take effect. After restarting, OH can give useful results.
This linked list costs 8 bytes of overhead for each object. If desired, this option can later be disabled with Gflags.exe (in the Windows NT 4.0 Resource Kit) by clearing the check box for" Maintain a list of objects for each type" in the Global Flags window, then restarting the system.
The most convenient way to use OH is to have it pipe the data to a text file. At the command prompt type:
Oh >***.txt {where *** is the name you provide}
To view the data, open the file with Notepad.
REFERENCES
For additional information about the OH utility, type the following line at a command prompt type, and then press ENTER:
Use OH /?
Keywords: kbinfo kbtool KB172710