惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
T
Troy Hunt's Blog
P
Proofpoint News Feed
H
Help Net Security
博客园 - 叶小钗
N
Netflix TechBlog - Medium
F
Full Disclosure
Vercel News
Vercel News
C
Cyber Attacks, Cyber Crime and Cyber Security
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
GbyAI
GbyAI
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 【当耐特】
Martin Fowler
Martin Fowler
V
V2EX
Latest news
Latest news
L
LangChain Blog
The Register - Security
The Register - Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
Schneier on Security
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
News and Events Feed by Topic
M
MIT News - Artificial intelligence
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Exploit Database - CXSecurity.com
Microsoft Security Blog
Microsoft Security Blog
S
Secure Thoughts
A
About on SuperTechFans
人人都是产品经理
人人都是产品经理
T
The Blog of Author Tim Ferriss
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Spread Privacy
Spread Privacy
S
Securelist
Forbes - Security
Forbes - Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Last Week in AI
Last Week in AI
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
MyScale Blog
MyScale Blog
G
Google Developers Blog
L
Lohrmann on Cybersecurity
博客园 - Franky
T
Tor Project blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
V
Visual Studio Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
Y
Y Combinator Blog

博客园 - 曹立松

HK-EOST 智慧运维监管终端机介绍 HK-IOST 智慧运维监管终端机介绍 酸梅汤 linux gzip 命令详解 HK2000-如何修改数采IP以及网关等 详细的568A和568B线序 H2000LCDKey键盘操作说明 H2000Config配置数采 用批处理(.BAT)自动设置计算机名IP地址DNS - 曹立松 - 博客园 HK-2000 数采仪系统说明之 7.HK7710 DTU 简单配置说明 HK-2000 数采仪 问题解答 - 曹立松 HK-2000 数采仪系统说明之 6.应用程序更新 Linux 服务器方式 - 曹立松 HK-2000 数采仪系统说明之 5.H2000SService程序调用说明 HK-2000 数采仪系统说明之 3.数采应用程序目录说明 HK-2000 数采仪系统说明之 2.系统启动过程说明 HK-2000 数采仪系统说明之 1.系统启动日志 HK-2000 数采仪 航空头接口定义 HK2000 V2版本 GPRS通讯串口说明 CMWAP和CMNET的区别
HK-2000 数采仪系统说明之 4.系统程序监控功能说明
曹立松 · 2008-10-13 · via 博客园 - 曹立松

[root@(none) /]$ps
  PID  Uid     VmSize Stat Command
    1 root        552 S   init       
    2 root            SW  [keventd]
    3 root            SWN [ksoftirqd_CPU0]
    4 root            SW  [kswapd]
    5 root            SW  [bdflush]
    6 root            SW  [kupdated]
    7 root            SW  [mtdblockd]
    8 root            SW  [khubd]
    9 root            SWN [jffs2_gcd_mtd3]
   51 root       1028 S   ./H2000Collect
   53 root        560 R   ./H2000SADC
   54 root        544 R   ./H2000LCDKey
   55 root        420 S   ./H2000PSMI 1
   57 root        364 S   ./feedWatchDog
   60 root        548 S   syslogd
   62 root        548 S   inetd
   64 root        620 S   -sh
   69 root        536 R   ps
[root@(none) /]$

系统监控程序异常的程序为H2000PSMI,所以监控的程序列表被存储到MonitorList.txt文件中,下面查看MonitorList.txt文件内容。注意该文件格式必须严格按照要求去填写,否则将不能正确监控程序状态。
文件格式说明,文件每一行为一个被监控程序信息,信息分2部分用";"分离,";"前为被监控程序名称,";"后面的为启动该程序的命令。
[root@(none) bject]$cat MonitorList.txt
H2000SADC;./H2000SADC > /dev/null &
H2000Collect;./H2000Collect > /dev/null &
H2000LCDKey;./H2000LCDKey  > /dev/null &
[root@(none) bject]$