Patent ID: 7117501

Claim:
A method for tracking a state of one or more input/output (I/O) channels associated with an application by the application itself, the method comprising the steps of: storing, by an operating system kernel, one or more selected elements of the state of at least a portion of the one or more I/O channels associated with the application in a memory which is shared exclusively by the application and the operating system kernel, when the one or more elements are available to the operating system kernel; acquiring, by the application, at least a portion of the stored elements through one or more read operations of the shared memory without the need for performing at least one of context switching and data copying between the application and the operating system kernel; and assessing, by the application, one or more of the acquired elements to determine the state of the one or more I/O channels corresponding thereto; wherein the application does not perform network traffic monitoring operations.