资讯专栏INFORMATION COLUMN

PTQL (Process Table Query Language)

philadelphia / 3795人阅读

摘要:翻译进程表查询语言提供一种称作进程表查询语言机制来识别进程所有的操作系统都给正在运行的进程赋予一个特有的进程但是因为进程是个随机数字所以进程重启的时候这个进程很可能改变则使用进程属性来长时间识别一个进程

PTQL (Process Table Query Language)
Hyperic SIGAR provides a mechanism to identify processes called Process Table Query Language. All operating systems assign a unique id (PID) to each running process. However, the PID is a random number that may also change at any point in time when a process is restarted. PTQL uses process attributes that will persist over time to identify a process.

翻译:
PTQL (进程表查询语言)
Hyperic SIGAR 提供一种称作进程表查询语言机制来识别进程. 所有的操作系统都给正在运行的进程赋予一个特有的进程ID, 但是因为进程ID 是个随机数字所以进程重启的时候这个进程ID很可能改变. PTQL 则使用进程属性来长时间识别一个进程.

PTQL Syntax

PTQL Queries must be in the following format:

Class.Attribute.operator=value

Enclose the query in quotes if it contains any spaces. For example:

sigar> ps "Exe.Name.ct=Program Files"

Where:

Class is the name of the Sigar class minus the Proc prefix.

Attribute is an attribute of the given Class, index into an array or key in a Map class.

operator is one of the following for String values:
eq - Equal to value
ne - Not Equal to value
ew - Ends with value
sw - Starts with value
ct - Contains value (substring)
re - Regular expression value matches
operator is one of the following for numeric values:
eq - Equal to value
ne - Not Equal to value
gt - Greater than value
ge - Greater than or equal value
lt - Less than value
le - Less than or equal value

note: Multiple queries must delimited by a comma.

https://support.hyperic.com/display/SIGAR/PTQL

文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。

转载请注明本文地址:https://www.ucloud.cn/yun/7561.html

相关文章

  • 开源C扩展轻量级PHP数据库ORM框架ycdatabase : 构建稳定的PHP数据库连接池

    摘要:安全能通过参数绑定的方式解决注入的问题。强大便捷的函数,支持所有数据库操作。中文文档男性女性身高可选可选 ycdatabase github: https://github.com/caohao-php... Catalogue Instruction Requirement Create test table Compire ycdatabase in linux Start yc...

    hzx 评论0 收藏0
  • 开源C扩展轻量级PHP数据库ORM框架ycdatabase : 构建稳定的PHP数据库连接池

    摘要:安全能通过参数绑定的方式解决注入的问题。强大便捷的函数,支持所有数据库操作。中文文档男性女性身高可选可选 ycdatabase github: https://github.com/caohao-php... Catalogue Instruction Requirement Create test table Compire ycdatabase in linux Start yc...

    Sleepy 评论0 收藏0
  • 开源C扩展轻量级PHP数据库ORM框架ycdatabase : 构建稳定的PHP数据库连接池

    摘要:安全能通过参数绑定的方式解决注入的问题。强大便捷的函数,支持所有数据库操作。中文文档男性女性身高可选可选 ycdatabase github: https://github.com/caohao-php... Catalogue Instruction Requirement Create test table Compire ycdatabase in linux Start yc...

    XFLY 评论0 收藏0
  • MySQL数据库管理(一)

    摘要:在经济管理的日常工作中,常常需要把某些相关的数据放进这样的仓库,并根据管理的需要进行相应的处理。数据分类结构化数据能够用数据或统一的结构加以表示,我们称之为结构化数据,如数字符号。传统的关系数据模型行数据,存储于数据库,可用二维表结构表示。 博文参考 http://www.178linux.com/79462 http://iceyao.blog.51cto.com/9426658/1...

    lmxdawn 评论0 收藏0
  • MySQL数据库管理(一)

    摘要:在经济管理的日常工作中,常常需要把某些相关的数据放进这样的仓库,并根据管理的需要进行相应的处理。数据分类结构化数据能够用数据或统一的结构加以表示,我们称之为结构化数据,如数字符号。传统的关系数据模型行数据,存储于数据库,可用二维表结构表示。 博文参考 http://www.178linux.com/79462 http://iceyao.blog.51cto.com/9426658/1...

    Carson 评论0 收藏0

发表评论

0条评论

最新活动
阅读需要支付1元查看
<