为轮询设备创建测试守护程序 [英] Creating a test daemon for polling devices

查看:54
本文介绍了为轮询设备创建测试守护程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个测试守护进程来轮询3个设备状态。你能否指出一些有用的文件或一些简单的例子来创建一个具有进入和退出标准的恶魔。



我尝试过:



我试过:

导入守护进程



方法但没有得到正确的文件

Hi, I am trying to create a test daemon for polling 3 devices states. Could you please point some useful documents or some simple example to create a demon with entry and exit criteria.

What I have tried:

I have tried :
import daemon

method but not getting proper documents

推荐答案

请参阅 python-daemon 2.1.1:Python包索引 [ ^ ]。将来请详细说明您尝试过的内容以及问题所在。
See python-daemon 2.1.1 : Python Package Index[^]. In future please give proper details of what you have tried and what the problem is.


这篇关于为轮询设备创建测试守护程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆