1)memcached 的几个指令:-p监听的端口-l连接的IP地址, 默认是本机-d start启动memcached服务-d restart重起memcached服务-d stop|shutdown关闭正在运行的memcached服务-d install安装memcached服务-d unin....
分类:
Web程序 时间:
2015-02-03 20:54:25
阅读次数:
128
一、RHEL6和RHEL7的服务控制方式不同RHEL6中使用:serviceXXXstart|stop|restart|reloadRHEL7中使用:systemctlstart|stop|restart|reloadXXXX二、查看系统服务查看系统中的后缀为service服务:[root@clz~]#systemctllist-unit-files--type=service后缀为target的服务集,包含了..
分类:
系统相关 时间:
2015-02-03 15:22:39
阅读次数:
175
启动Httpd服务:service httpd start停止Httpd服务:service httpd stop重启Httpd服务:service httpd restart关闭httpd所有进程(包括僵死进程):killall httpd -9其他命令后续更新。PS:各位大神有知道其他比较常见的...
分类:
系统相关 时间:
2015-02-02 17:43:27
阅读次数:
192
1.用豌豆荚连接手机和电脑,在esclipse里面真机debug时出错console显示: The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse. ...
分类:
其他好文 时间:
2015-02-02 00:35:17
阅读次数:
502
今天在调试程序时,sem_timedwait居然返回了一个Interrupted system call,错误码为EINTR。系统中断这东西我一向只闻其名,不见其"人",不想今天遇上了,脑中一片空白,赶紧上网恶补一下。 系统中断,要从慢系统调用(slow system call)说起,请参考h...
分类:
其他好文 时间:
2015-01-31 19:18:44
阅读次数:
257
在搭建LVS+Keepalived高可用负载均衡环境的过程中,使用VirtualBox复制了两个Centos的环境,并且选中了“重新初始化网卡”的选项,但是在启动这两个复制的Centos环境的时候,发现网卡eth0没有启动,执行:service network restart 命令,报错:devic...
分类:
其他好文 时间:
2015-01-30 15:16:37
阅读次数:
225
之前在linux的crontab中添加自定义的任务——定时执行指定脚本,一直失败,后来终于解决了,记录一下以免再忘。
1. 确认crond服务已启动
有些linux系统是cron,比如CentOS,功能与crond相同
service crond restart
service crond status
正常应显示: crond start/running, process xxx...
分类:
系统相关 时间:
2015-01-29 15:56:31
阅读次数:
452
1, 命令行调试
run 执行脚本,在第一行暂停
restart 重新执行脚本
cont, c 继续执行,直到遇到下一个断点
next, n 单步执行
step, s 单步执行并进入函数
out, o 从函数中步出
setBreakpoint(), sb() 在当前行设置断点
setBreakpoint(‘f()’), sb(...) 在函数f的第一行设置断点
setBreakp...
分类:
Web程序 时间:
2015-01-29 12:50:23
阅读次数:
202
问题描述:The?connection?to?adb?is?down,?and?a?severe?error?has?occured.You?must?restart?adb?and?Eclipse. 解决方法: 在cmd中进入adb的根目录,键入adb?kill-server,然后键入adb?-star...
分类:
移动开发 时间:
2015-01-27 13:39:17
阅读次数:
133
参考:http://blog.csdn.net/xluren/article/details/38986667执行service network restart后出现如下错误FAILED:Bringing up interface eth0: Device eth0 does not seem to...
分类:
其他好文 时间:
2015-01-24 00:17:50
阅读次数:
157