how do we check effectively and maintain kdb process health status and latest table count on the process for Windows OS

huangapple go评论70阅读模式
英文:

how do we check effectively and maintain kdb process health status and latest table count on the process for Windows OS

问题

Note: 这是针对 Windows 操作系统的。

我有一个在 Windows 操作系统上运行的 kdb 数据库。我想以表格形式监控其运行状态。
目标是通过查看表格,可以了解以下信息:

  1. 所有可用主机的列表。
  2. 每个主机的所有可用端口的列表。
  3. 进程是否可用,如果它是停止/繁忙还是正常运行。
  4. 如果进程正在运行,那么该进程上有多少表格。
  5. 表格中的最新数据计数是多少。
  6. 每隔 5-10 分钟更新一次表格,也许可以使用定时器来实现。

目前,我有3个主机:
10.10.1.101
10.10.1.215
10.10.1.303

端口如下:
对于 10.10.1.101,我们有大约 30 个进程系列,从 1000 到 1030。 (10.10.1.101:1000;10.10.1.101:1001;10.10.1.101:1002...10.10.1.101:1030)
其他主机也有相同的系列。

对于一个主机:端口 10.10.1.101:1000,我们有 5-10 个表格。

如何在不使用循环的情况下完成这个任务?

英文:

Note: This is for Windows OS.

I have a kdb plant which runs on windows OS. I want to monitor its health in a table like format.
The goal is just by looking at the table, one can tell

  1. list of all available host
  2. list of all available ports for each host
  3. if the process if available or not, if its down/busy or up.
  4. if the process if up, then how many tables are present on that process.
  5. whats the latest count of data is there in the table.
  6. Keep updating the table evey 5-10 mins, maybe we can use a timer here to update.

for now, I have 3 host.
10.10.1.101
10.10.1.215
10.10.1.303

and the port are,
for 10.10.1.101 , we have about say 30 process series from 1000-1030. (10.10.1.101:1000;10.10.1.101:1001;10.10.1.101:1002...10.10.1.101:1030)
and same series for other host.

and in 1 host:port 10.10.1.101:1000, we have say 5-10 tables.

How do we do it without using loops here?

Note: This is for Windows OS.

答案1

得分: 1

以下是可以有用的资源链接:

英文:

Some links to resources which could be useful:

huangapple
  • 本文由 发表于 2023年4月11日 01:21:23
  • 转载请务必保留本文链接:https://go.coder-hub.com/75979216.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定