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

推荐订阅源

H
Hackread – Cybersecurity News, Data Breaches, AI and More
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
V2EX
T
The Blog of Author Tim Ferriss
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
雷峰网
雷峰网
爱范儿
爱范儿
GbyAI
GbyAI
H
Help Net Security
I
InfoQ
罗磊的独立博客
酷 壳 – CoolShell
酷 壳 – CoolShell
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
人人都是产品经理
人人都是产品经理
J
Java Code Geeks
Microsoft Security Blog
Microsoft Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
N
Netflix TechBlog - Medium
Last Week in AI
Last Week in AI
宝玉的分享
宝玉的分享
云风的 BLOG
云风的 BLOG
Project Zero
Project Zero
P
Privacy & Cybersecurity Law Blog
A
Arctic Wolf
Know Your Adversary
Know Your Adversary
G
Google Developers Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tor Project blog
V
Vulnerabilities – Threatpost
Y
Y Combinator Blog
WordPress大学
WordPress大学
V
Visual Studio Blog
博客园_首页
G
GRAHAM CLULEY
K
Kaspersky official blog
T
Tailwind CSS Blog
T
Threat Research - Cisco Blogs
博客园 - Franky
D
Docker
Security Latest
Security Latest
I
Intezer
有赞技术团队
有赞技术团队
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 【当耐特】
B
Blog RSS Feed
T
The Exploit Database - CXSecurity.com
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

博客园 - 曹立松

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]$