摘要: 1、linux下批量杀死进程 ps aux |grep httpd |grep -v grep|awk {'print $2'}|xargs kill -9 阅读全文
posted @ 2011-12-14 17:27 黑幕下的幽灵 阅读(136) 评论(0) 推荐(0) 编辑
摘要: View Code function my_scandir($dir) { $files = array(); if ( $handle = opendir($dir) ) { while ( ($file = readdir($handle)) !== false ) { if ( $file != ".." && $file != "." ) { if ( is_dir($dir . "/" . $file) ) { $files[$file] = s... 阅读全文
posted @ 2011-12-14 17:20 黑幕下的幽灵 阅读(189) 评论(0) 推荐(0) 编辑