摘要: 例如:需要构造50000001到50010000的数值,方法如下: 1、在Excel 行、列标签交汇处,就是平常显示单元格地址的地方,输入a1:a10000,按确定,这样就选定了范围,如下图所示: 2、在编辑栏中输入公式 "=row()"或50000001, 然后按下 ctrl+enter,这样在选 阅读全文
posted @ 2019-03-22 16:54 LBeautiful 阅读(1367) 评论(0) 推荐(0) 编辑
摘要: 合并多个文件,如将file1 file2 file3合并成一个新文件,命令如下: cat file1 file2 file3 … > newfile 阅读全文
posted @ 2019-03-22 16:48 LBeautiful 阅读(7261) 评论(0) 推荐(0) 编辑
摘要: 以切割data.log为例: 1)按2行切割 -l 2 2)指定切割后的文件前缀名 data_ 3)指定切割后的文件后缀名为数字 -d 4)指定切割后的文件后缀名数字的长度 -a 4,这里长度可根据切割出来的文件有多少估算 [root@localhost ~]#split -l 2 data.log 阅读全文
posted @ 2019-03-22 16:46 LBeautiful 阅读(2228) 评论(0) 推荐(0) 编辑
摘要: [oracle@dhm ~]$ sqlplus /nolog SQL*Plus: Release 11.2.0.1.0 Production on Wed May 11 11:08:55 2016 Copyright (c) 1982, 2009, Oracle. All rights reserv 阅读全文
posted @ 2019-03-22 16:36 LBeautiful 阅读(3830) 评论(0) 推荐(0) 编辑
摘要: oracle构造数据的存储过程://其中涉及的参数i、表名、表字段根据实际需要进行修改 DECLARE --声明函数i INT;BEGIN i:=1000;WHILE(i<6000) LOOP --设置loop循环 i:=i+1; insert into t_play_list (PLAYLIST_ 阅读全文
posted @ 2019-03-22 16:29 LBeautiful 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 解决方法是追加system用户的表空间文件,如下: SQL>alter tablespace SYSTEM add datafile '/home/oracle_11/app/oradata/SMP/system05.dbf' size 1G; 阅读全文
posted @ 2019-03-22 12:01 LBeautiful 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 1.切换到root用户 # su 2.删除用户 # userdel abc 该删除操作将用户删除但保留用户的home文件夹和邮件文件夹。并且当用户abc正在登录的时候,删除操作将失败,如下: # userdel abc userdel: user abc is currently logged in 阅读全文
posted @ 2019-03-22 11:57 LBeautiful 阅读(2865) 评论(0) 推荐(0) 编辑
摘要: 数据库服务器磁盘爆满,可以通过删除日志释放磁盘空间,具体操作如下所示: 1.清空监听日志:(> 文件名) #>/mpeg/mpeg2/u01/oracle/diag/tnslsnr/dhm/listener/trace/listener.log 2.删除其他日志: 进入如/u01/app/oracl 阅读全文
posted @ 2019-03-22 11:43 LBeautiful 阅读(2613) 评论(0) 推荐(0) 编辑
摘要: 查看数据库连接数 $orz connstat 临时解决办法:把占用连接数最多的模块的服务停掉,其他模块即可正常连接数据库,待其他模块连接正常再启动被停掉的模块。 阅读全文
posted @ 2019-03-22 11:40 LBeautiful 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 转:nohup 和>/dev/null 2>&1 转:nohup 和>/dev/null 2>&1 转:nohup 和>/dev/null 2>&1 转:nohup 和>/dev/null 2>&1 一、用途:nohup表示永久运行。&表示后台运行 在应用Unix/Linux时,我们一般想让某个程序 阅读全文
posted @ 2019-03-22 11:36 LBeautiful 阅读(1123) 评论(0) 推荐(0) 编辑