1. Install aide software.[root@server7-5499 ~]# yum install aide -y2. Modify aide configuration file.Basic cofigrations:# Define DB/Log location.@@def...
分类:
系统相关 时间:
2015-04-17 13:42:34
阅读次数:
158
#!/bin/bashsrc=/xxx/xxx#本地监控目录des_ip="192.168.1.2192.168.1.3"#目标服务器/usr/local/bin/inotifywait-mrq--timefmt‘%d/%m/%y%H:%M‘--format‘%T%w%f‘\--exclude"\.swp$"\--exclude=/backup/\-eclose_write,modify,delete,create,attrib,move\${src}\|whilereadfiledor..
分类:
其他好文 时间:
2015-04-15 23:44:43
阅读次数:
181
1、错误描述
Query:
DROP TRIGGER `t_sert_cs_approve`
Error occured at:2015-04-12 13:37:32
Line no.:1
Error Code: 1360 - Trigger does not existQuery:
ALTER TABLE `t_toot_erth_ssess`
MODIFY COLUMN `id` int...
分类:
其他好文 时间:
2015-04-15 23:22:23
阅读次数:
470
import osimport timefilename = "test.txt"info = os.stat(filename)if time.time()-info.st_mtime > 600:#10分钟 print "done"else: print "modify"
分类:
编程语言 时间:
2015-04-14 17:59:57
阅读次数:
203
1、错误原因
Query:
DROP TRIGGER `insert_pcs_approve`
Error occured at:2015-04-12 13:37:32
Line no.:1
Error Code: 1360 - Trigger does not existQuery:
ALTER TABLE `t_pcs_berth`
MODIFY COLUMN `id` int(20)...
分类:
其他好文 时间:
2015-04-13 00:29:23
阅读次数:
170
更换数据库后,tempdb需进行以下调整1、修改自动增长比例,修改为20MB的增长1 USE [master]2 GO3 ALTER DATABASE [tempdb] MODIFY FILE ( NAME = N'tempdev', FILEGROWTH = 20480KB )4 GO参考文档ht...
分类:
数据库 时间:
2015-04-07 11:46:23
阅读次数:
179
linux常用命令:ls -l:长格式 文件类型: -:普通文件(f) d:目录文件 d:块设备文件(block) c:字符设备文件(character) l:符号链接文件(symboliclinkfile) p:命令套管文件(pipe) s:套接字文件(socket) 文件权限:9位,每3位一组,每一组:rwx(读,写,执行) ..
分类:
系统相关 时间:
2015-04-06 06:35:47
阅读次数:
226
将原有的eth0的那一行注释掉,然后将生成的eth1改为eth0(如果没有这个文件,可以新增这个文件解决)[root@localhost~]#cat/etc/udev/rules.d/70-persistent-net.rules#Thisfilewasautomaticallygeneratedbythe/lib/udev/write_net_rules#program,runbythepersistent-net-gener..
分类:
系统相关 时间:
2015-04-05 19:03:06
阅读次数:
210
/* * Copyright (c) 1996-1997 * Silicon Graphics Computer Systems, Inc. * * Permission to use, copy, modify, distribute and sell this software * and it...
分类:
其他好文 时间:
2015-04-05 06:21:17
阅读次数:
274
安装oracle时候在创建oracle用户后,切换oracle用户时,报如下错[root@localhost ~]# su - oracle-bash: ulimit: max user processes: cannot modify limit: Operation not permitted经...
分类:
其他好文 时间:
2015-04-03 00:06:59
阅读次数:
124