php 常驻后台
来源:互联网 发布:外汇数据下载 编辑:程序博客网 时间:2024/05/16 19:37
1、后台运行:
[root@iz2zeiyr83gi07o1puquodz commands]# nohup php statistics.php &
[1] 4087[root@iz2zeiyr83gi07o1puquodz commands]# nohup: ignoring input and appending output to ‘nohup.out’
[root@iz2zeiyr83gi07o1puquodz commands]# ll
total 16
-rw-r--r-- 1 root root 3 Sep 15 23:29 1.bat
-rw------- 1 root root 6065 Sep 18 21:42 nohup.out
-rw-r--r-- 1 root root 1292 Sep 18 21:21 statistics.php
2、查看日志:
[root@iz2zeiyr83gi07o1puquodz commands]# cat nohup.out
3、关闭运行:
[root@iz2zeiyr83gi07o1puquodz commands]# ps
PID TTY TIME CMD
3922 pts/1 00:00:00 bash
4087 pts/1 00:00:00 php
4097 pts/1 00:00:00 ps
[root@iz2zeiyr83gi07o1puquodz commands]# kill 4087
阅读全文
0 0
- php 常驻后台
- php没有实现快捷的 后台常驻的信息?
- service常驻后台
- iOS常驻后台开发
- (五)常驻后台
- ios后台定位服务常驻
- IOS后台常驻,实现后台下载
- 用PHP做常驻SHELL
- 用PHP做常驻SHELL
- 用PHP做常驻SHELL
- Android Service常驻后台 守护程序
- iOS 通过定位获取常驻后台
- iOS 通过定位获取常驻后台
- iOS 通过定位获取常驻后台
- iOS 通过定位获取常驻后台
- android service 常驻后台, 不被清理
- iOS 通过定位获取常驻后台
- android service后台服务生命周期与常驻后台
- Echarts绘制折线图柱状图混合图表练习
- java中的对象游离
- HDU3987:Harry Potter and the Forbidden Forest(最小割边数)
- 彻底卸载Python及安装的Python模块
- Codeforces Round #430 (Div. 2) D. Vitya and Strange Lesson
- php 常驻后台
- Json数据解析
- uboot基础知识
- Oracle SQL性能优化
- 跨域
- 【单调栈 or 分治】51Nod1215[数组的宽度]题解
- node.js中的path;
- 教你如何和使用这款强大的渗透平台-Xerosploit
- SSH学习小记(1)——整合原理