In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you the use of linux's sync command to refresh the file system buffer, I hope you can learn a lot after reading this article, let's discuss it together!
The sync command is used to force the changed content to be written to the disk immediately, and the update speed is very fast. In the Linux/Unix system, the file or data processing is usually put into the memory buffer first, and then written to the disk at the appropriate time, in order to improve the efficiency of the system.
The sync command can be used to force data in the memory buffer to be written to disk immediately. Users usually do not need to execute the sync command, and the system automatically performs update or bdflush operations to write the data from the buffer to disk. You need to execute the sync command manually only if update or bdflush cannot be executed or if the user needs an abnormal shutdown.
Syntax format: sync [parameters]
Common parameters:
-- help displays destiny details help-- version displays version number
Reference example
Display help information:
[root@linuxcool] # sync-- help
Usage: sync [OPTION]
Force changed blocks to disk, update the super block.
-- help display this help and exit
-- version output version information and exit
GNU coreutils online help:
For complete documentation, run: info coreutils' sync invocation'
Display version:
[root@linuxcool] # sync-- version
Sync (coreutils) 8.22
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Jim Meyering. After reading this article, I believe you have a certain understanding of using linux's sync command to refresh the file system buffer. If you want to know more about it, welcome to follow the industry information channel. Thank you for reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.