Chinaunix首页 | 论坛 | 博客
  • 博客访问: 875491
  • 博文数量: 204
  • 博客积分: 2433
  • 博客等级: 大尉
  • 技术积分: 2205
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-05 13:32
文章分类

全部博文(204)

分类: LINUX

2011-04-05 20:24:03

echo $?回传值的意思:
  • 0 program is running or service is OK
  • 1 program is dead and /var/run pid file exists
  • 2 program is dead and /var/lock lock file exists
  • 3 program is not running
  • 4 program or service status is unknown
  • 5-99 reserved for future LSB use
  • 100-149 reserved for distribution use
  • 150-199 reserved for application use
  • 200-254 reserved

阅读(2335) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~