Monitoring file access of java processes

Gespeichert in:
Bibliographische Detailangaben
Titel: Monitoring file access of java processes
Patent Number: 9,348,624
Publikationsdatum: May 24, 2016
Appl. No: 12/507970
Application Filed: July 23, 2009
Abstract: A mechanism for monitoring file accesses by a process running in a Virtual Machine. File access information associated with a monitored process selected in a first view in a debugging interface is obtained from a file activity log and displayed as selectable file access events in a second view of the debugging interface, wherein each file access event represents a read or write operation performed on a file at a particular point in time by the monitored process. An initial content of a file associated with the selected file access event and revisions made to the file by the monitored process within a defined period of time is retrieved from the file activity log upon detecting user selection of a file access event in the second view. The revisions are applied to the initial content of the file and displayed in a third view in the debugging interface.
Inventors: Aniszczyk, Chris (Austin, TX, US); King, Jennifer E. (Austin, TX, US); Lauridsen, Christina K. (Austin, TX, US); Peterson, Robert R. (Austin, TX, US); Safabakhsh, Borna (San Jose, CA, US); Ulerich, Rhys D. (Austin, TX, US)
Assignees: International Business Machines Corporation (Armonk, NY, US)
Claim: 1. A computer implemented method for monitoring file accesses of a monitored process, the computer implemented method comprising: responsive to detecting selection of a monitored process in a first view in a debugging interface, obtaining, by a processing unit in a computer, file access information associated with the monitored process from a file activity log; displaying, by the processing unit, the file access information as selectable file access events in a second view of the debugging interface, wherein each file access event represents a read or write operation performed on a file at a particular point in time by the monitored process; responsive to detecting user selection of a file access event in the second view, retrieving, by the processing unit, an initial content of a file associated with the selected file access event from the file activity log; retrieving, by the processing unit, revisions made to the file by the monitored process within a defined period of time from the file activity log; applying, by the processing unit, the revisions made to the file within the period of time to the initial content of the file to form revised file content, wherein the revised file content comprises a state of the file at the particular point in time; and displaying, by the processing unit, the revised file content in a third view in the debugging interface, wherein the selectable file access events in the second view comprise all file access events performed by the monitored process.
Claim: 2. The computer implemented method of claim 1 , further comprising: repeating the retrieving, applying, and displaying each time a user selection of another file access event in the second view is detected.
Claim: 3. The computer implemented method of claim 2 , wherein the another file access event is a file access event that occurred at a later point in time than the previously selected file access event.
Claim: 4. The computer implemented method of claim 2 , wherein the another file access event is a file access event that occurred at an earlier point in time than the previously selected file access event.
Claim: 5. The computer implemented method of claim 1 , wherein the defined period of time comprises a point in time where execution of the monitored process begins to the particular point in time of the file access event.
Claim: 6. The computer implemented method of claim 1 , further comprising: detecting that the monitored process accesses the file; recording an initial content of the file in the file activity log if the monitored process has previously accessed the file; monitoring for and recording each read or write operation and changes made by the read or write operation performed on the file by the monitored process in the file activity log.
Claim: 7. The computer implemented method of claim 6 , wherein recording each read or write operation further comprises recording a path of the file, a point in time the file was accessed by the monitored process, a file access type, and changes to the initial content of the file at the point in time.
Claim: 8. A computer program product for monitoring file accesses of a monitored process, the computer program product comprising: a tangible computer recordable storage device having computer executable program code stored thereon, the computer executable program code for execution by a computer, comprising: computer executable program code for obtaining, in response to detecting selection of a monitored process in a first view in a debugging interface, obtaining file access information associated with the monitored process from a file activity log; computer executable program code for displaying the file access information as selectable file access events in a second view of the debugging interface, wherein each file access event represents a read or write operation performed on a file at a particular point in time by the monitored process; computer executable program code for retrieving, in response to detecting user selection of a file access event in the second view, an initial content of a file associated with the selected file access event from the file activity log; computer executable program code for retrieving revisions made to the file by the monitored process within a defined period of time from the file activity log; computer executable program code for applying the revisions made to the file within the period of time to the initial content of the file to form revised file content, wherein the revised file content comprises a state of the file at the particular point in time; and computer executable program code for displaying the revised file content in a third view in the debugging interface, wherein the selectable file access events in the second view comprise all file access events performed by the monitored process.
Claim: 9. The computer program product of claim 8 , further comprising: computer executable program code for repeating the retrieving, applying, and displaying each time a user selection of another file access event in the second view is detected.
Claim: 10. The computer program product of claim 9 , wherein the another file access event is a file access event that occurred at a later point in time than the previously selected file access event.
Claim: 11. The computer program product of claim 9 , wherein the another file access event is a file access event that occurred at an earlier point in time than the previously selected file access event.
Claim: 12. The computer program product of claim 8 , wherein the defined period of time comprises a point in time where execution of the monitored process begins to the particular point in time of the file access event.
Claim: 13. The computer program product of claim 8 , further comprising: computer executable program code for detecting that the monitored process accesses the file; computer executable program code for recording an initial content of the file in the file activity log if the monitored process has previously accessed the file; computer executable program code for monitoring for and recording each read or write operation and changes made by the read or write operation performed on the file by the monitored process in the file activity log.
Claim: 14. The computer program product of claim 13 , wherein the computer executable program code for recording each read or write operation further comprises recording a path of the file, a point in time the file was accessed by the monitored process, a file access type, and changes to the initial content of the file at the point in time.
Claim: 15. The computer program product of claim 8 , wherein the computer executable program code is stored in a computer readable storage medium in a data processing system, and wherein the computer executable program code is downloaded over a network from a remote data processing system.
Claim: 16. The computer program product of claim 8 , wherein the computer executable program code is stored in a computer readable storage medium in a server data processing system, and wherein the computer executable program code is downloaded over a network from a remote data processing system for use in a computer readable storage medium with the remote system.
Claim: 17. An apparatus, comprising: a bus; a storage device connected to the bus, wherein the storage device contains computer executable code; at least one managed device connected to the bus; a communications unit connected to the bus; and a processing unit connected to the bus, wherein the processing unit executes the computer executable code to obtain, in response to detecting selection of a monitored process in a first view in a debugging interface, file access information associated with the monitored process from a file activity log; display the file access information as selectable file access events in a second view of the debugging interface, wherein each file access event represents a read or write operation performed on a file at a particular point in time by the monitored process; retrieve, in response to detecting user selection of a file access event in the second view, an initial content of a file associated with the selected file access event from the file activity log; retrieve revisions made to the file by the monitored process within a defined period of time from the file activity log; apply the revisions made to the file within the period of time to the initial content of the file to form revised file content, wherein the revised file content comprises a state of the file at the particular point in time; and display the revised file content in a third view in the debugging interface, wherein the selectable file access events in the second view comprise all file access events performed by the monitored process.
Claim: 18. The apparatus of claim 17 , wherein the processing unit further executes the computer executable code to repeat the retrieving, applying, and displaying each time a user selection of another file access event in the second view is detected.
Patent References Cited: 5446874 August 1995 Waclawsky et al.
5867483 February 1999 Ennis, Jr. et al.
6237143 May 2001 Fontana et al.
6826746 November 2004 Evans et al.
7287246 October 2007 Tan et al.
7721265 May 2010 Xu et al.
8041901 October 2011 Snyder
2002/0073398 June 2002 Tinker
2004/0010778 January 2004 Kaler et al.
2004/0054987 March 2004 Sonpar et al.
2005/0216831 September 2005 Guzik et al.
2005/0234909 October 2005 Bade et al.
2005/0278706 December 2005 Garza et al.
2006/0074855 April 2006 Miyamoto et al.
2006/0200807 September 2006 Bates et al.
2007/0038738 February 2007 Iyengar
2007/0113218 May 2007 Nolan et al.
2007/0226172 September 2007 Tajima
2007/0244877 October 2007 Kempka
2007/0250820 October 2007 Edwards et al.
2008/0037435 February 2008 Sankala
2008/0228854 September 2008 Grimault et al.
2009/0182793 July 2009 Love et al.
2010/0082555 April 2010 Ogawa et al.
2011/0145798 June 2011 Taillefer et al.
2011/0258613 October 2011 Bhogal et al.







Other References: U.S. Appl. No. 12/761,390, filed Apr. 15, 2010, Bhogal et al. cited by applicant
Valentin et al., “Requirements for Domain Specific Discrete Event Simulation Environments”; Proceedings of the 2005 Winter Simulation Conference, ACM Digital Library, pp. 654-665, 2005. cited by applicant
Wu et al., “Towards Self-Healing Web Services Composition”; ACM Digital Library; Oct. 2009, pp. 1-5. cited by applicant
Nyfeler et al., “Efficient Operation of a Program on a Computer”; ip.com/ibm TDB; p. 1524, Sep. 1, 1987. cited by applicant
Zhang et al., “Mining Individual Performance Indicators in Collaborative Development Using Software”; 2008 15th Asia-Pacific Software Engineering Conference, DIALOG/INSPEC; Dec. 2008. cited by applicant
Office Action, dated Feb. 1, 2013, regarding U.S. Appl. No. 12/761,390, 20 pages. cited by applicant
Novillo et al., “On-Line Debugging and Performance Monitoring with Barriers,” Proceedings of the 15th International Parallel and Distributed Processing Symposium, Apr. 2001, 8 pages. cited by applicant
Final Office Action, dated Jul. 8, 2013, regarding U.S. Appl. No. 12/761,390, 20 pages. cited by applicant
Assistant Examiner: Roche, John
Primary Examiner: Tsai, Henry
Attorney, Agent or Firm: Yee & Associates, P.C.
Wilhelm, Richard
Dokumentencode: edspgr.09348624
Datenbank: USPTO Patent Grants
Beschreibung
Abstract:A mechanism for monitoring file accesses by a process running in a Virtual Machine. File access information associated with a monitored process selected in a first view in a debugging interface is obtained from a file activity log and displayed as selectable file access events in a second view of the debugging interface, wherein each file access event represents a read or write operation performed on a file at a particular point in time by the monitored process. An initial content of a file associated with the selected file access event and revisions made to the file by the monitored process within a defined period of time is retrieved from the file activity log upon detecting user selection of a file access event in the second view. The revisions are applied to the initial content of the file and displayed in a third view in the debugging interface.