uptime
[~]$ uptime13:24:46 up 207 days, 3:27, 2 users, load average: 1.45, 1.34, 1.33
system time: 系统当前时间13:24:46
system uptime:系统运行时间207天3小时27分
users:当前登入系统的用户数
load average:过去的1分钟,5...
分类:
系统相关 时间:
2016-05-12 11:36:25
阅读次数:
294
在一些生产平台或者做安全审计的时候往往看到一大堆的用户SSH连接到同一台服务器,或者连接后没有正常关闭进程还驻留在系统内。限制SSH连接数与手动断开空闲连接也有必要之举,这里写出手动剔出其他用户的过程。 1、查看系统在线用户 [root@apache ~]# w 14:15:41 up 42 day ...
分类:
其他好文 时间:
2016-05-12 01:41:15
阅读次数:
166
1链路聚合两端配置不匹配的时候就会出现err-disable。2双工不匹配。3BPDU,也就是和portfast和BPDUguard有关。4链路的抖动,当链路在10秒内反复up、down五次,那么就进入err-disable状态。5最后一个原因,相对简单,就是由于配置了port-securityviolationshutdown。这个太简单..
分类:
其他好文 时间:
2016-05-12 00:00:24
阅读次数:
354
Download the source from git successfully. I use TortoiseGit UI, select git clone, then input the url. The url up above the "Pass this URL to 'git clo ...
分类:
移动开发 时间:
2016-05-11 23:16:54
阅读次数:
162
Follow up for problem "Populating Next Right Pointers in Each Node". What if the given tree could be any binary tree? Would your previous solution sti ...
分类:
其他好文 时间:
2016-05-11 23:16:15
阅读次数:
191
使用marquee标记不仅可以移动文字,也可以移动图片,表格等. 语法:<marquee>...</marquee>; 说明:在标记之间添加要进行滚动的内容。 重要属性: 1.滚动方向direction(包括4个值:up、 down、 left和 right) 语法:<marquee directi ...
分类:
Web程序 时间:
2016-05-11 15:10:32
阅读次数:
708
Concerns are a new feature that was added in Rails 4. They allow to clean up code in your models and controllers. They also allow you to share functio ...
分类:
其他好文 时间:
2016-05-11 13:31:44
阅读次数:
337
致敬原作者: http://blog.sina.com.cn/s/blog_6276db0e0101ary8.html 要比较Xilinx和Altera的FPGA,就要清楚两个大厂FPGA的结构,由于各自利益,两家的FPGA结构各不相同,参数也各不相同,但可以统一到LUT(Look-Up-Table ...
分类:
其他好文 时间:
2016-05-11 10:56:38
阅读次数:
156
w11d3 Hey, guys, this is Jack from Shanghai, how's everything going? This is Jack from Shanghai. This is morning 8:48am, Wednesday. I got up at 5:30, ...
分类:
其他好文 时间:
2016-05-11 09:34:01
阅读次数:
184
Power of Three Given an integer, write a function to determine if it is a power of three. Follow up: Could you do it without using any loop / recursio ...
分类:
其他好文 时间:
2016-05-10 20:30:51
阅读次数:
182