Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux¶¨Ê±Ö´ÐУ¬½Å±¾ÎÊÌâ½â¾ö»ã×Ü

#!/bin/bash
yesterday=`date -d -1days "+%Y%m%d"`
 
cd /home/www/zdyzlog/
zgrep -P '.*CopyRightId\[A00009042202\].*ʵʱ²ßÂÔ¿ªÊ¼.*'  /home/appusr/resin-3.0.18/log/log4j_daily_drmThreeWebService.log.$yesterday.gz  >> /home/www/zdyzlog/zhongduancelivkaishi_$yesterday.txt
zgrep -P '.*ʵʱ²ßÂÔ.*δ°üÔÂÓû§Î´ÊÔÌý.*'  /home/appusr/resin-3.0.18/log/log4j_daily_drmThreeWebService.log.$yesterday.gz  >> /home/www/zdyzlog/zhongduancelivjieshu_$yesterday.txt
zgrep -P '.*ʵʱ²ßÂÔ.*δ°üÔÂÓû§ÒÑÊÔÌý.*'  /home/appusr/resin-3.0.18/log/log4j_daily_drmThreeWebService.log.$yesterday.gz  >> /home/www/zdyzlog/zhongduancelivjieshu_$yesterday.txt
zgrep -P '.*ʵʱ²ßÂÔ.*ÒÑ°üÔÂÓû§Ðø·ÑÃâ·Ñ.*'  /home/appusr/resin-3.0.18/log/log4j_daily_drmThreeWebService.log.$yesterday.gz  >> /home/www/zdyzlog/zhongduancelivjieshu_$yesterday.txt
  
zgrep -P '.*CopyRightId\[A00009042202\].*Ðø·Ñ¿ªÊ¼.*'  /home/appusr/resin-3.0.18/log/log4j_daily_drmThreeWebService.log.$yesterday.gz  >> /home/www/zdyzlog/zhongduanxufeikaishi_$yesterday.txt  
zgrep -P '.*Ðø·Ñ³É¹¦.*δ°üÔÂÓû§Ãâ·ÑÊÔÌý.*'  /home/appusr/resin-3.0.18/log/log4j_daily_drmThreeWebService.log.$yesterday.gz  >> /home/www/zdyzlog/zhongduanxufeijieshu_$yesterday.txt
zgrep -P '.*Ðø·Ñ³É¹¦.*ÒÑ°üÔÂÓû§Ðø·Ñ¼Æ·Ñ³É¹¦.*'  /home/appusr/resin-3.0.18/log/log4j_daily_drmThreeWebService.log.$yesterday.gz  >> /home/www/zdyzlog/zhongduanxufeijieshu_$yesterday.txt
zgrep -P '.*Ðø·Ñ³É¹¦.*δ°üÔÂÓû§¿ªÍ¨°üÔÂÐø·Ñ³É¹¦.*'  /home/appusr/resin-3.0.18/log/log4j_daily_drmThreeWebService.log.$yesterday.gz  >> /home/www/zdyzlog/zhongduanxufeijieshu_$yesterday.txt
Õâ¸öÊÇÎÒдµÄÒ»¸ö¼òµ¥½Å±¾£¬±£´æΪzdyztiqu.sh£¬
È»ºóÐÞ¸ÄËüµÄȨÏÞ£ºchmod u+x zdyztiqu.sh £»
ÈÃËü³ÉΪһ¸ö¾ßÓпÉÖ´ÐеĽű¾Îļþ £»
¿´¿´ÓÐûÓдíÎ󣬿ÉÒÔÊÔ×ÅÖ´ÐÐÒÔÏ£º./zdyztiqu.sh ;
Èç¹ûÓÐ´í£¬¾ÍÓ¦¸Ã±¨³ö´íÎóÁË£»
¾ÍÏñÎÒдÁËÕâôһ¸ö½Å±¾Ö®ºóÒ»Ö±²»Ö´ÐУ¬×îÖÕÎÒÖªµÀËûµ


Ïà¹ØÎĵµ£º

ÔÚLinux C±à³ÌÖÐʹÓÃUnicodeºÍUTF 8

Ä¿Ç°¸÷ÖÖLinux·¢Ðа涼֧³ÖUTF-8±àÂ룬µ±Ç°ÏµÍ³µÄÓïÑÔºÍ×Ö·û±àÂëÉèÖñ£´æÔÚһЩ»·¾³±äÁ¿ÖУ¬¿ÉÒÔͨ¹ýlocaleÃüÁî²é¿´£º
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPE ......

linuxÏÂͨ¹ýtftp¶Ô°å×Ó½øÐеÄÉÕд

LinuxÏÂtftpÉÕдӳÏóÎļþµ½MC2410E°å×Ó
ËäÈ»Ëæ°å¸½µÄ¹âÅÌÖÐÓÐÏêϸ˵Ã÷ÈçºÎÔÚwindowÏÂÉÕдӳÏóÎļþ£¬µ«²»¹»·½±ã£¬Òò´ËÏëŪLinuxÏÂÉÕдӳÏóÎļþ£¬Ò²Ëã¶à¸ø×Ô¼ºÐ©»ú»áÈ¥ÊìϤLinux£¨After all I am a newer to Linux£©¡£
ËÞÖ÷»ú£ºVM  Red hat 9
bootloader£ºbr-vivi£¨Ëæ°å¹âÅ̸½£©£¬¾ßÓÐtftpÏÂÔع¦ÄÜ
ËÞÖ÷»úÓë°å×Óͨ¹ ......

[Linux]GNU×Ô¶¯»¯¹¤¾ß£¨automake¹¤¾ßÁ´£©


 
Filename
£º
[Linux]GNU
×Ô¶¯»¯¹¤¾ß£¨
automake
¹¤¾ßÁ´£©
Version
£º
V1.0
Date
£º
12/01/2009
Author
£º
S.C.Leon <leonsc@126.com>
=====================================================================
GNU
×Ô¶¯»¯¹¤¾ß£¨
automake
¹¤¾ßÁ´£©
Ò»¡¢
Makefile
½éÉÜ
Makefile
ÊÇ ......

linux ¶¨Ê±Æ÷ʹÓÃÒ»

#include <sys/time.h>
#include <stdio.h>
#include <unistd.h>
#include <signal.h>
#include <string.h>
static char *runStatusFile   = "/syscfg/etc/runStatusFile";
//static char *runStatusFile   = "runStatusFile";
FILE *pFile = NULL;
char runCou ......

linuxÏÂoracle Êý¾Ý¿âµÄÆô¶¯ºÍ¹Ø±Õ

QQ:1156316388   Tel:010-51527259
Ò»¡¢Æô¶¯
    Èý¸öÃüÁ
    1¡¢sqlplux /nolog
    2¡¢connect /as sysdba
    3¡¢startup
    ¶þ¡¢¹Ø±Õ
    1¡¢shutdown immediate;
    [oracle@zhao ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ