发明名称 Dynamic monitoring of command line queries
摘要 A method for dynamic monitoring of command line queries. The method includes receiving a command that includes a query and one or more parameters, mapping the command to a system resource, monitoring for a state change event pertaining to the system resource or a terminal event until a detection of the terminal event, and retrieving one or more characteristics of the system resource in response to detecting the state change event pertaining to the system resource. The system resource has a plurality of characteristics, each characteristic having a name and a value. A state change event corresponds to a change in one or more characteristics of a system resource.
申请公布号 US9323621(B2) 申请公布日期 2016.04.26
申请号 US201414199776 申请日期 2014.03.06
申请人 International Business Machines Corporation 发明人 Anderson Dale H.;Crawford Joshua J.;Jennas, II Paul A.;Peipelman Jason L.;Ward Matthew J.
分类号 G06F3/00;G06F9/44;G06F9/46;G06F13/00;G06F11/14;G06F17/30 主分类号 G06F3/00
代理机构 Kunzler Law Group 代理人 Kunzler Law Group
主权项 1. A computer program product comprising computer readable code stored on a non-transitory computer readable storage medium, the computer program product configured to: receive a command at a command line interface, the command comprising a query and one or more parameters, wherein the one or more parameters comprise a boolean condition; map the command to a system resource during execution of the command by the command line interface, the system resource having a plurality of characteristics, wherein each characteristic of the plurality of characteristics comprises a name and value; monitor for a state change event pertaining to the system resource or a terminal event during execution of the command by the command line interface, the state change event corresponding to a change in the value of one or more characteristics of the plurality of characteristics; retrieve the one or more characteristics of the plurality of characteristics in response to detecting the state change event and display the one or more characteristics of the plurality of characteristics in the command line interface; determine whether the one or more characteristics satisfy the boolean condition; generate a terminal event in response to determining that the one or more characteristics satisfy the boolean condition, wherein the terminal event stops execution of the command; and cease monitoring for a state change event pertaining to the system resource in response to detecting the terminal event by stopping execution of the command in the command line interface.
地址 Armonk NY US