摘要: 备份脚本内容如下: export RMAN_LOG_FILE=/logbackup/ycyth_ramn/fullrman20160817.log export ORACLE_BASE=/u01/app/oracle export RMAN=$ORACLE_HOME/bin/rman export 阅读全文
posted @ 2021-09-17 11:36 beawh 阅读(78) 评论(0) 推荐(0) 编辑
摘要: [root@sfzwapp2 /]# umount -f /app umount2: Device or resource busy umount: /app: device is busy. (In some cases useful info about processes that use t 阅读全文
posted @ 2021-09-17 11:25 beawh 阅读(51) 评论(0) 推荐(0) 编辑
摘要: top中使用CPU或MEM排序,还是看不到我们想了解的进程的相关信息;这时就可以指定对某个或某些进程进行TOP信息显示;1、查看某个进程的信息例:mysqld的信息(1)得到mysqld进程的pid[root@6 ~]# pidof mysqld21538(2)top指定查看PID[root@6 ~ 阅读全文
posted @ 2021-09-17 11:09 beawh 阅读(190) 评论(0) 推荐(0) 编辑
摘要: [root@sfzwapp2 /]# mkdir /home/iso [root@sfzwapp2 /]# mkdir /home/linuxsource [root@sfzwapp2 /]# mkdir /mnt/soft [root@sfzwapp2 home]# mount -t nfs -o 阅读全文
posted @ 2021-09-17 11:03 beawh 阅读(11) 评论(0) 推荐(0) 编辑
摘要: umount时提示device is busy,如下:# umount /data/disk1umount: /data/disk1: device is busy. (In some cases useful info about processes that use the device is 阅读全文
posted @ 2021-09-17 10:48 beawh 阅读(335) 评论(0) 推荐(0) 编辑
摘要: MySQL数据库服务器通常指的的是mysqld,而命令行mysql则是mysql客户端程序,这两个概念通常容易混淆。通常启动mysql服务器即是启动mysqld进程,mysqld启动后,可以通过mysql连接到mysql服务器。本文主要描述了mysql服务器的几种启动方式以及如何关闭mysql服务器 阅读全文
posted @ 2021-09-17 10:35 beawh 阅读(321) 评论(0) 推荐(0) 编辑
摘要: [root@edc01 ~]# free -m total used free shared buffers cached Mem: 15951 15779 171 0 300 4223 -/+ buffers/cache: 11256 4694 Swap: 0 0 0 [root@edc01 ~] 阅读全文
posted @ 2021-09-17 10:17 beawh 阅读(26) 评论(0) 推荐(0) 编辑
摘要: NFS 文件服务的 /data/share 通过NFS挂载共享给ng服务器。 一 、 NFS 服务端 172.31.17.91 上 创建共享目录 mkdir /data/share 附权限 chown -R ifly:ifly /data/share chmod -R 777 /data/share 阅读全文
posted @ 2021-09-17 09:56 beawh 阅读(61) 评论(0) 推荐(0) 编辑
摘要: mysqldump -uroot -p --databases data_exchange edc35_cloud edc35_cloud_desktop edc35_cloud_store edc35_local_openapi ercse superdiamond user_center --s 阅读全文
posted @ 2021-09-17 09:48 beawh 阅读(54) 评论(0) 推荐(0) 编辑
摘要: [root@lzx1 ~]# date -RMon, 19 Jun 2017 14:45:05 +0000 vim /etc/profileexport TZ='CST-8'vim .bash_profileexport TZ='CST-8'source /etc/profile source .b 阅读全文
posted @ 2021-09-17 09:44 beawh 阅读(91) 评论(0) 推荐(0) 编辑
摘要: [root@mysql books]# mongorestore -h 172.31.17.90:27017 --drop -d books --directoryperdb /data/ifly_temp/books 恢复备份 mongodump -h 172.18.21.52 -d books 阅读全文
posted @ 2021-09-17 09:42 beawh 阅读(20) 评论(0) 推荐(0) 编辑
摘要: du -h --max-depth=1|sort -rn 空间占用按照大小排序 通过输入流快速清空大文件。>server.log 查出文件删除的进程pid ,进程释放掉,空间也就会释放。lsof|grep deletekill -9 pid 阅读全文
posted @ 2021-09-17 09:36 beawh 阅读(26) 评论(0) 推荐(0) 编辑
摘要: [root@aa ~]# netstat -nat |awk -F ' ' '{print $6}'establishedForeignLISTENLISTENLISTENLISTENTIME_WAITTIME_WAITESTABLISHEDESTABLISHEDLISTENLISTENLISTEN 阅读全文
posted @ 2021-09-17 09:26 beawh 阅读(133) 评论(0) 推荐(0) 编辑