1.安装vnc-server vncviewer2.执行vncserver
输入密码3.执行vncserver -kill :1 杀死1号屏幕4.修改/root/.vnc/xstartup unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc 去掉以上两...
分类:
其他好文 时间:
2014-05-31 14:08:08
阅读次数:
409
使用 ps 命令查看 目标进程的 pid,比如说是 1200,然后kill -3 1200在
/data/anr/traces.txt 中就能找到 进程 1200 中各线程的stack trace
分类:
移动开发 时间:
2014-05-31 13:47:40
阅读次数:
434
一、进程1、进程属性:a)进程状态b)父子关系c)优先级关系0-139用户优先级,数字越小优先级越高;0-99:内核调整的100-139:用户可控制nice值:-20-19100-139普通用户仅能够调大自己的进程的Nice值;2、进程优先级a)衡量面对不同的算法时,程序的性能如何,O标准(坐标轴表示):O..
分类:
系统相关 时间:
2014-05-27 04:15:04
阅读次数:
549
The connection to adb is down, and a severe
error has occured. 1.先把eclipse关闭.2.在管理器转到你的android SDK 的platform-tools下,
如图:3.键入adb kill-server ,如果adb关闭了....
分类:
数据库 时间:
2014-05-26 16:43:03
阅读次数:
222
Problem Description
Teacher HU and his 40 students were trapped by the brigands. To show their power, the head of the brigands want to select one people to kill.
Teacher HU and his 40 students wil...
分类:
其他好文 时间:
2014-05-25 18:19:44
阅读次数:
306
Problem Description
Teacher HU and his 40 students were trapped by the brigands. To show their power, the head of the brigands want to select one people to kill.
Teacher HU and his 40 students wil...
分类:
其他好文 时间:
2014-05-25 10:02:35
阅读次数:
309
ADB启不来,报"The connection to adb is down, and a severe error has occured" 检查任务管理器,也没看到adb.exe. 尝试手工启动.
C:\Ndk\adt-bundle-window\sdk\platform-tools>adb kill-server
* server not running *
C:\Ndk\adt-...
分类:
数据库 时间:
2014-05-25 07:32:54
阅读次数:
310
MongoDB的日志增长的很快,/var所在的空间马上就占满了,即便换到另一个磁盘分区保存日志,日志还是增长的很快,磁盘眼看要告磬。有一个好办法,就是使用旋转日志。MongoDB的旋转日志有点怪,Linux下mongd服务接受一个kill -SGIUSR1命令后就立刻将当前日志文件重命名为带日期的文件,然后创建新的日志文件。不想一般的旋转日志,可以配置旋转策略。不过没关系,经过测试,发送该命令时不...
分类:
数据库 时间:
2014-05-22 07:47:22
阅读次数:
427
--mysql中kill掉所有锁表的进程--------------------------------2014/05/20在数据库的管理中,我们经常会碰到锁表的问题,看一下进程列表.mysql>show
processlist;出来哗啦啦好几屏幕的, 没有一千也有几百条, 查询语句把表锁住了, 赶...
分类:
数据库 时间:
2014-05-22 02:17:16
阅读次数:
240
这几天面试的时候,反复被问到一个关于Service的问题。之前做了一个APP。有一个应用场景是,需要开机启动一个Service,在Service中另开一个线程,去对比用户配置中的时间,作出及时提醒。然后面试的时候在描述该做法时就被问到一个问题,如果Service被系统或者其他应用kill了怎么办?我...
分类:
移动开发 时间:
2014-05-19 15:48:37
阅读次数:
384