12 2015 档案

摘要:1 #!/bin/bash 2 3 SEND_THREAD_NUM=13 #设置进程数。 4 tmp_fifofile="/tmp/$$.fifo" # 脚本运行的当前进程ID号作为文件名 5 mkfifo "$tmp_fifofile" # 新建一个随机fifo管道文件 6 exec 6"... 阅读全文
posted @ 2015-12-30 16:00 小沐枫 阅读(6028) 评论(0) 推荐(0)
摘要:crontab 问题小记: 环境变量问题, 养成良好的习惯, 在脚本开头export PATH 原因是 crontab 执行定时任务时,用的不是系统环境变量,而是自己的环境变量,可以把 echo $PATH 加入crontab 输出到日志中查看 所以一些自己写的工具,或是系统命令,执行的时候写绝对路 阅读全文
posted @ 2015-12-29 17:34 小沐枫 阅读(2807) 评论(0) 推荐(0)
摘要:Examples Generating Excel Documents Using Python’s xlwt 使用Python的xlwt生成Excel文档示例 Here are some simple examples using Python’s xlwt library to dynamica 阅读全文
posted @ 2015-12-28 15:43 小沐枫 阅读(6390) 评论(0) 推荐(0)
摘要:MKFIFOSection: User Commands (1)Updated: 1998年11月Index Return to Main Contents NAME(名称)mkfifo - 创建FIFO(命名管道) SYNOPSIS(总览)mkfifo [options] file...POSIX 阅读全文
posted @ 2015-12-16 23:51 小沐枫 阅读(6537) 评论(0) 推荐(0)