1.用top找到最耗资源的进程id [ bin]# toptop - 16:56:14 up 119 days, 6:17, 7 users, load average: 2.04, 2.07, 2.09Tasks: 256 total, 1 running, 254 sleeping, 0 sto ...
分类:
编程语言 时间:
2016-11-10 09:38:04
阅读次数:
230
ss -atu| awk ‘/^tcp/{++S[$2]} END {for(a in S) print a,S[a]}‘ ps up pid (RSS:实际内存大小,长驻内存) ps o pid,comm,minflt,majflt pid (依次是次页中断,主页中断) 页中断:分配内存的过程叫页 ...
分类:
系统相关 时间:
2016-11-10 09:34:57
阅读次数:
248
1.用top找到最耗资源的进程id [root@localhost bin]# toptop - 16:56:14 up 119 days, 6:17, 7 users, load average: 2.04, 2.07, 2.09Tasks: 256 total, 1 running, 254 s ...
分类:
编程语言 时间:
2016-11-09 11:01:21
阅读次数:
217
跑马灯标记 <marquee></marquee> 常见属性: l direction:滚动的方向 取值 left(默认值 从右向左进行滚动)、right、up、down l behavior:滚动的方式 取值:scroll(滚动 默认值) slide(滑动 只滚动一次) alternate(弹动 ...
分类:
其他好文 时间:
2016-11-08 17:16:04
阅读次数:
163
A part of Natural Language Processing (NLP) is processing text by “tokenizing” language strings. This means we can break up a string of text into part ...
分类:
编程语言 时间:
2016-11-08 07:40:07
阅读次数:
192
Problem: Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the giv ...
分类:
其他好文 时间:
2016-11-08 02:13:49
阅读次数:
272
net windows Kafka 安装与使用入门(入门笔记) 完整解决方案请参考: Setting Up and Running Apache Kafka on Windows OS 在环境搭建过程中遇到两个问题,在这里先列出来,以方便查询: 1. \Java\jre7\lib\ext\QTJav ...
网络配置常用命令简介:在Linux中网络属于内核的功能1.执行命令生成地址:(执行后立即生效,服务重启后失效)RHEL5:/etc/modprobe.confRHEL6:/etc/udev/rules.d/70-persistent-net.rulesaliasifconfig[ethX]-a:显示所有接口的配置住处ifconfigethXIP/MASK[up|down]配制后立即..
分类:
系统相关 时间:
2016-11-07 20:12:51
阅读次数:
268
今天准备把最新的表导入自己以前的机子上做临时开发,在数据库导入的时候遇到一个问题:Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UP ...
分类:
数据库 时间:
2016-11-07 01:02:02
阅读次数:
347
Ctrl+/ 或 Ctrl+Shift+/ 注释(// 或者 )Shift+F6 重构-重命名Ctrl+X 删除行Ctrl+D 复制行Ctrl+G 查找行Ctrl+Shift+Up/Down 代码向上/下移动。F2 或Shift+F2 高亮错误或警告快速定位写代码,按Tab 生成代码选中文本,按Ct ...
分类:
Web程序 时间:
2016-11-07 00:44:22
阅读次数:
274