When using rsync to transfer large files, Linux system cannot guarantee the complete transmission of files because I am not around. At this time, you can write a shell script to monitor whether rsync transfers data to ensure that the file is interrupted when it is halfway. do not know.
There are a server should all be transferred today to the program website another server b up, but the only time away from work one hour, in order to work on time, write a simple shell script Monitor if there is any transmission.
System: centos 5.x
Required software: rsync
Script content:
#! /bin/bash
file=`du -sm /var/www/vhosts/
Using the xargs command on a Linux system can solve a lot of problems, especially t
We all know that most Linux system operations need to be completed using commands, but the commands
Linux files are very difficult to clean up. There are many files of large and small size. It is the
Linux system If you want to understand the load between multiple database servers, then you will use
How to use the find command in Linux to periodically transfer logs
What about Chinese garbled when creating a website through Tomcat under Ubuntu?
CentOS system Lighttpd installation skills
How Linux lists directories larger than the specified size
Linux beginners need to understand the Bash command operation skills to share
Ubuntu 14.04 running adb error how to do?
Linux installation using eCryptFS to encrypt files
Backtrack how to open SSH service
Win7 system 160WiFi failed to open, can not start the solution
What should I do if the WinXP taskbar does not display an open window?
Win7 upgrade Win10 installation to 99% blue screen restart how to do?
Maxthon browser settings page automatic refresh step tutorial
Microsoft China says it will launch Win8 winter promotion with vendors
How to activate genuine system after win8 reloading
Baidu experience assistant use tutorial
How to adjust the resolution and screen refresh rate of Ubuntu system?