上一页 1 ··· 4 5 6 7 8 9 10 11 下一页
摘要: 转自:https://blog.csdn.net/hanner_cheung/article/details/6081440 ps aux命令显示的状态列中的Ss+,Rsl,R+,S<sl都是什么意思呢?(转) D 不可中断 Uninterruptible sleep (usually IO) R 阅读全文
posted @ 2018-09-08 23:45 sunzebo 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 总结: 代码: 输出: 格式说明: 小时 :秒,时间戳, <当前进程ID, [父 进程ID,当前进程线程数量]> root@ssmaster:~/python# python test_threadprocess1.py 03:04,1536397384.349529: main begin03:0 阅读全文
posted @ 2018-09-08 17:21 sunzebo 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 转自: https://blog.csdn.net/shouldnotappearcalm/article/details/64904253 命令: dos2unix filename sed -i 's/^M//g' filename :1,$ s/^M//g cat filename |tr - 阅读全文
posted @ 2018-09-08 16:32 sunzebo 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 转自 : https://blog.csdn.net/u014449366/article/details/72801578 最近使用这个工具,普通用户可以登录root用户不可以登录。将vi /etc/ssh/sshd_config按照下述配置解决问题 修改sshd配置文件:vi /etc/ssh/ 阅读全文
posted @ 2018-09-08 16:03 sunzebo 阅读(18573) 评论(0) 推荐(1) 编辑
摘要: 转自: https://www.cnblogs.com/iconfig/p/4863063.html du [-abcDhHklmsSx] [-L <符号连接>][-X <文件>][--block-size][--exclude=<目录或文件>] [--max-depth=<目录层数>][--hel 阅读全文
posted @ 2018-09-08 14:59 sunzebo 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 总结: 桥接 模式上外网比较简单。 缺点是每次重启虚拟机,分配的IP可能变化,导致 xshell 连接 时都要修改,很麻烦 桥接模式能不能配置静态IP ? 1. 环境 物理机网络 情况,从外部自动获取IP 2. 虚拟机软件设置 3. 虚拟操作系统 linux的网络设置 Linux ssmaster 阅读全文
posted @ 2018-09-08 14:36 sunzebo 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 输出: 阅读全文
posted @ 2018-09-08 02:37 sunzebo 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 输入: 360 影视 html https://www.360kan.com/dianying/index.html 解析代码 输出 : 参考资料: Python解析html的几种操作方式 lxml.etree._Element 属性: 阅读全文
posted @ 2018-09-08 00:46 sunzebo 阅读(380) 评论(0) 推荐(0) 编辑
摘要: mysql在执行脚本时,报出了以下错误: index column size too large. the maximum column size is 767 bytes 原因: INNODB 引擎,UTF-8,主键字符串 默认最大 767,需要修改 解决方案: 1. 对数据库进行设置 set g 阅读全文
posted @ 2018-09-07 10:50 sunzebo 阅读(24624) 评论(0) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2018-09-04 20:58 sunzebo 阅读(255) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 下一页