Claims
- 1. A method for determining input/output metrics for a peripheral device coupled to a computer, said computer including a computer operating system incorporating a device driver for said peripheral device, said method comprising the steps of:
providing for intercepting one or more selected calls from said computer operating system to said device driver; providing for initiating a call back to a portion of said operating system to record an occurrence of said one or more selected calls; and providing for passing said one or more selected calls to said device driver.
- 2. The method of claim 1 wherein said one or more selected calls is an access to said peripheral device selected from a group comprising read, write and strategy operations.
- 3. The method of claim 1 further comprising the steps of:
providing for further intercepting one or more selected device calls from said device driver to said computer operating system; providing for further initiating an additional call back to said portion of said operating system to record an occurrence of said one or more selected device calls; and providing for further passing said one or more device calls to said operating system.
- 4. A computer program product comprising:
a computer usable medium having computer readable code embodied therein for determining input/output metrics for a peripheral device coupled to a computer, said computer including a computer operating system incorporating a device driver for said peripheral device, the computer program product comprising:
computer readable program code devices configured to cause a computer to effect intercepting one or more selected calls from said computer operating system to said device driver; computer readable program code devices configured to cause a computer to effect initiating a call back to a portion of said operating system to record an occurrence of said one or more selected calls; and computer readable program code devices configured to cause a computer to effect passing said one or more selected calls to said device driver.
- 5. The computer program product of claim 4 further comprising:
computer readable program code devices configured to cause a computer to effect further intercepting one or more selected device calls from said device driver to said computer operating system; computer readable program code devices configured to cause a computer to effect further initiating an additional call back to said portion of said operating system to record an occurrence of said one or more selected device calls; and computer readable program code devices configured to cause a computer to effect further passing said one or more device calls to said operating system.
- 6. A peripheral device I/O monitor for a computer having an operating system resident thereon with a device statistics presentation mechanism and including a hardware abstraction layer for interfacing to an associated peripheral device and a device statistics presentation mechanism, said peripheral device including a device driver operatively responsive to said hardware abstraction layer of said computer operating system, said device I/O monitor comprising:
a pseudo-device driver operatively interposed between said hardware abstraction layer of said computer operating system and said device driver, said pseudo-device driver presenting corresponding first and second pseudo-device driver hardware abstraction layers, said first pseudo-device driver hardware abstraction layer being coupled to said computer operating system and said second pseudo-device driver hardware abstraction layer being coupled to said device driver.
- 7. The device I/O monitor of claim 6 wherein said computer operating system is a UNIX System V compliant operating system.
- 8. The device I/O monitor of claim 6 wherein said first and second pseudo-device driver hardware abstraction layers are DDI/DKI layers.
- 9. The device I/O monitor of claim 6 wherein said pseudo-device driver functions to intercept one or more selected calls from said computer operating system to said device driver and initiate a call back to said device statistics presentation mechanism through said computer operating system and said first pseudo-device driver hardware abstraction layers to record an occurrence of said one or more selected calls.
- 10. The device I/O monitor of claim 9 wherein said pseudo-device driver further functions to pass said one or more selected calls to said device driver through said second pseudo-device driver hardware abstraction layer.
- 11. The device I/O monitor of claim 10 wherein said one or more selected calls comprise an access to said peripheral device selected from a group comprising read, write and strategy operations.
- 12. The device I/O monitor of claim 9 wherein said pseudo-device driver functions to further intercept one or more selected device calls from said device driver through said second pseudo-device driver hardware abstraction layer to said computer operating system and further initiate an additional call back to said device statistics presentation mechanism through said computer operating system and said first pseudo-device driver hardware abstraction layers to record an occurrence of said one or more selected device calls.
- 13. The device I/O monitor of claim 12 wherein said pseudo-device driver functions to further pass said one or more device calls to said operating system through said computer operating system and said first pseudo-device driver hardware abstraction layers.
RELATED INVENTIONS
[0001] This is a division of co-pending application Ser. No. 08/544,933 filed on Oct. 18, 1995 which is hereby incorporated by reference in its entirety.
Divisions (1)
|
Number |
Date |
Country |
Parent |
08544933 |
Oct 1995 |
US |
Child |
09141491 |
Aug 1998 |
US |