摘要:
Kill process by name in python - Stack OverflowIf you have killall:os.system("killall -9 iChat");
Or:os.system("ps -C iChat -o pid=|xargs kill -9") 阅读全文
posted @ 2012-06-06 05:09
lexus
阅读(372)
评论(0)
推荐(0)
|
摘要:
Kill process by name in python - Stack OverflowIf you have killall:os.system("killall -9 iChat");
Or:os.system("ps -C iChat -o pid=|xargs kill -9") 阅读全文
posted @ 2012-06-06 05:09
lexus
阅读(372)
评论(0)
推荐(0)
摘要:
(推荐读)Python模块学习--创建子进程_想想再定_百度空间Popen.pid获取子进程的进程ID。 阅读全文
posted @ 2012-06-05 13:46
lexus
阅读(200)
评论(0)
推荐(0)
摘要:
linux - Must my pidfile be located in /var/run? - Stack OverflowThe location of the pid file should be configurable. /var/run is standard for pid files, the same as /var/log is standard for logs. But ... 阅读全文
posted @ 2012-06-05 12:30
lexus
阅读(231)
评论(0)
推荐(0)
摘要:
互联网文本处理挑战巨大 中文分词系统设计如何面对? - Linux环境编程 - ChinaUnix.net -互联网文本处理挑战巨大 中文分词系统设计如何面对? --> [复制链接] 0 0 -->crazyhadoopcrazyhadoop 当前在线 空间积分 0 信誉积分 371 UID 25203957 阅读权限 100 积分 2979 帖子 874 精华 1 可用积分 2981... 阅读全文
posted @ 2012-06-05 09:48
lexus
阅读(400)
评论(0)
推荐(0)
摘要:
string - How to get the filename without the extension from a path in Python? - Stack Overflowup vote 32 down vote acceptedGetting the name of the file without the extension :import os
print os.path.s... 阅读全文
posted @ 2012-06-05 09:08
lexus
阅读(674)
评论(0)
推荐(0)
摘要:
zc.lockfile 1.0.0 : Python Package Indexzc.lockfile 1.0.0Basic inter-process locksDownloads ↓The zc.lockfile package provides a basic portable implementation of interprocess locks using lock files. T... 阅读全文
posted @ 2012-06-05 08:45
lexus
阅读(347)
评论(0)
推荐(0)
摘要:
psutil - A cross-platform process and system utilities module for Python - Google Project HostingQuick linksDownload source code Documentation Mailing list Summarypsutil is a module providing an inter... 阅读全文
posted @ 2012-06-05 08:29
lexus
阅读(233)
评论(0)
推荐(0)
摘要:
Slicehost Articles: Using iotop to check I/O and swapUsing iotop to check I/O and swapThe iotop utility provides an easy-to-use interface for monitoring swap and disk I/O on a per-process basis.Watchi... 阅读全文
posted @ 2012-06-05 08:28
lexus
阅读(377)
评论(0)
推荐(0)
摘要:
python - Limit amount of RAM to a process (Linux) - Server Faultsubprocess.Popen('ulimit -v 262144; python_application', shell=True) 阅读全文
posted @ 2012-06-05 08:27
lexus
阅读(220)
评论(0)
推荐(0)
摘要:
log_slow_queries = /opt/djangostack-1.4-1/mysql/mysql-slow.loglong_query_time = 2log-queries-not-using-indexes 阅读全文
posted @ 2012-06-05 08:04
lexus
阅读(262)
评论(0)
推荐(0)
摘要:
java -Xmx512M -cp .:conf/*:lib/* com.xxx.worker.PriceWorkermaven编译mvn -Dmaven.test.skip=true clean package 阅读全文
posted @ 2012-06-05 08:02
lexus
阅读(230)
评论(0)
推荐(0)
摘要:
import java.io.IOException;import org.springframework.context.support.ClassPathXmlApplicationContext;public class ContextUtils { public static final ClassPathXmlApplicationContext context = new ClassP... 阅读全文
posted @ 2012-06-05 08:00
lexus
阅读(409)
评论(0)
推荐(0)
摘要:
Suor/django-picklingDjango picklingMakes django models pickling 2-3 times faster and compact. 阅读全文
posted @ 2012-06-04 09:13
lexus
阅读(169)
评论(0)
推荐(0)
摘要:
MySQL索引类型一览 让MySQL高效运行起来 - 51CTO.COM刚才提到只有某些时候的LIKE才需建立索引。因为在以通配符%和_开头作查询时,MySQL不会使用索引。例如下句会使用索引:
SELECT*FROMmytableWHEREusernamelike'admin%' 而下句就不会使用:
SELECT*FROMmytableWHEREtNamelike'%admin' 因此,在使... 阅读全文
posted @ 2012-06-04 08:17
lexus
阅读(205)
评论(0)
推荐(0)
摘要:
Welcome to the RPM repository on zid-lux1.uibk.ac.atWelcome to the RPM repository on zid-lux1.uibk.ac.atrpm2html automatically generates Web pages describing a set of RPM packages. The Rpmfind tool al... 阅读全文
posted @ 2012-06-03 18:28
lexus
阅读(362)
评论(0)
推荐(0)
摘要:
rpm -qa |grep lrzszrpm -e --nodeps xxxx package 阅读全文
posted @ 2012-06-03 18:22
lexus
阅读(277)
评论(0)
推荐(0)
摘要:
使用 Nginx 提升网站访问速度#log_format main '$remote_addr - $remote_user [$time_local] $request ' # '"$status" $body_bytes_sent "$http_referer" ' # '"$http_user_agent" "$http... 阅读全文
posted @ 2012-06-03 18:21
lexus
阅读(381)
评论(0)
推荐(0)
摘要:
crawley 0.2.4 : Python Package Indexcrawley 0.2.4Pythonic Scraping / Crawling FrameWork built On EventletPackage DocumentationFile Type Py Version Uploaded on Size # downloads crawley-0.2.4.tar.gz (md... 阅读全文
posted @ 2012-06-03 17:37
lexus
阅读(365)
评论(0)
推荐(0)
摘要:
[mysqladmin]user=root[mysqld]max_allowed_packet=1024Mbasedir=/opt/djangostack-1.4-1/mysqldatadir=/opt/djangostack-1.4-1/mysql/dataport=3307socket=/opt/djangostack-1.4-1/mysql/tmp/mysql.socktmpdir=/opt... 阅读全文
posted @ 2012-06-03 17:33
lexus
阅读(639)
评论(0)
推荐(0)
|