常用命令 top -d 3 ##每3秒监控一次 第一行,任务队列信息,同 uptime 命令的执行结果,具体参数说明情况如下: 14:06:23 — 当前系统时间 up 70 days, 16:44 — 系统已经运行了70天16小时44分钟(在这期间系统没有重启过的吆!) 2 users — 当前有 ...
分类:
系统相关 时间:
2016-06-21 17:10:09
阅读次数:
162
在VMware里克隆出来的CentOS Linux。。 ifconfig...没有看到eth0.。然后重启网卡又报下面错误。 故障现象: service network restartShutting down loopback insterface: [ OK ]Bringing up loopb ...
分类:
系统相关 时间:
2016-06-21 15:47:51
阅读次数:
158
有时学习时安装的服务太多,比如mysql、mongodb、redis、apache、nginx等等,它们都是默认开机启动的,如果不想让它们开机启动,用到时再自己手工启动怎么办呢? 使用sysv-rc-conf确实是一个不错的选择,但在暂时不了解服务启动的层级细节,又只需要一次过全关掉的情况下,用sy ...
分类:
系统相关 时间:
2016-06-20 23:59:26
阅读次数:
392
原帖地址 http://stackoverflow.com/questions/36147625/xcode-7-3-cannot-create-weak-reference-in-file-using-manual-reference-counting activeoldestvotes up v ...
分类:
其他好文 时间:
2016-06-20 20:45:50
阅读次数:
393
cameraclass是一个相机类,它的作用是生成非常重要的观察矩阵。本小节涉及到一点数学知识,相对前面需要只是填充,调用,算是比较有趣的吧。 cameraclass.h 向量m_eye,m_up,m_at分别是相机位置(向量类型也可以作为位置),相机向上的方向在世界坐标的表示,观察的目标的位置。用 ...
分类:
编程语言 时间:
2016-06-19 19:50:39
阅读次数:
172
#!/bin/sh## nginx Start up the nginx server daemon## chkconfig: 2345 55 25# Description: starts and stops the nginx web server#### BEGIN INIT INFO# Pr ...
分类:
其他好文 时间:
2016-06-19 18:23:37
阅读次数:
161
Keywords: Office Word, Alignment, Paragraph, Text, Lineup, Line up How to adjust the indents and tabs in Microsoft Word There are two types of indents ...
分类:
其他好文 时间:
2016-06-19 13:02:02
阅读次数:
474
客户端代码: #!/usr/bin/python3.5 __auth__ = 'WuYongQi' import socket,pickle,os,sys def up_duandian(obj,filename): duandian = str(obj.recv(1024),encoding='u ...
分类:
编程语言 时间:
2016-06-19 06:42:52
阅读次数:
299
题目: Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). ...
分类:
其他好文 时间:
2016-06-19 01:22:03
阅读次数:
169
ubuntu touch v3.4 kernel AppArmor v3 backport patch 地址1:https://github.com/multirom-aries/ubuntu-phone_kernel_lge_msm8226/commit/447767477f59130246221 ...
分类:
移动开发 时间:
2016-06-18 10:06:13
阅读次数:
183