自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

sync 中文man頁面

系統(tǒng)
sync 把任何在內(nèi)存中緩沖的數(shù)據(jù)寫到磁盤上。這能包括(但不僅限于)修改了的超級塊, i 節(jié)點,和延遲的讀寫。這必須由內(nèi)核執(zhí)行; sync 除了執(zhí)行 sync(2) 系統(tǒng)調(diào)用外什么都不做.

NAME 名稱

sync - 同步內(nèi)存與磁盤的數(shù)據(jù)  

總覽

sync [--help] [--version]  

描述

sync 把任何在內(nèi)存中緩沖的數(shù)據(jù)寫到磁盤上。這能包括(但不僅限于)修改了的超級塊, i 節(jié)點,和延遲的讀寫。這必須由內(nèi)核執(zhí)行; sync 除了執(zhí)行 sync(2) 系統(tǒng)調(diào)用外什么都不做.

內(nèi)核把數(shù)據(jù)保持在內(nèi)存里以避免磁盤讀寫(磁盤相對來說比較慢)這能改進性能,但如果計算機跨掉,結(jié)果就可能是數(shù)據(jù)丟失,或者文件系統(tǒng)損壞. sync 保證任把何在內(nèi)存里的東西寫入磁盤.

sync 應(yīng)該在處理器異常停止前調(diào)用 (例如,在因為調(diào)試新的內(nèi)核代碼引起內(nèi)核恐慌(?可能是災(zāi)難發(fā)生吧)之前) 一般而言,處理器應(yīng)該使用 shutdown(8) 或者 reboot(8) 或者 halt(8) 命令來停止, 那會試圖,在調(diào)用 sync(2) 前讓系統(tǒng)處于靜止狀態(tài). (這些命令有好幾種不同的實現(xiàn),請參考你的文檔,在一些系統(tǒng)上你不能直接調(diào)用 reboot(8) 和 halt(8)  

GNU 標準選項

--help
在標準輸出上印出用法信息并退出。
--version
在標準輸出上印出版本信息并退出。
--
結(jié)束選項列表

環(huán)境(變量)

變量 LANG, LC_ALL, LC_CTYPE 和 LC_MESSAGES 有通常的意義.  

遵循

POSIX 1003.2  

注意

在 Linux 上, sync 僅保證安排臟數(shù)據(jù)塊進入等待:實際上在真正寫入前要花費一點時間. reboot(8) 和 halt(8) 在調(diào)用 sync(2) 之后會睡眠幾秒以考慮這些延時.

這份 sync 的描述可以在 fileutils-4.0 包你找到; 其他版本也許有些微的差別. 把修正和新增郵到 aeb@cwi.nl. 程序缺陷郵到 fileutils-bugs@gnu.ai.mit.edu.  

又見

sync(2), halt(8), reboot(8), update(8)
#p#

NAME

sync - flush filesystem buffers  

SYNOPSIS

sync [OPTION]  

DESCRIPTION

Force changed blocks to disk, update the super block.

--help
display this help and exit
--version
output version information and exit

AUTHOR

Written by Jim Meyering.  

REPORTING BUGS

Report bugs to <bug-coreutils@gnu.org>.  

COPYRIGHT

Copyright © 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  

SEE ALSO

The full documentation for sync is maintained as a Texinfo manual. If the info and sync programs are properly installed at your site, the command

info coreutils sync

should give you access to the complete manual.

責任編輯:韓亞珊 來源: CMPP.net
相關(guān)推薦

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-15 15:02:31

usleep中文man

2011-09-23 13:59:40

find中文man

2011-08-12 09:17:57

deallocvt中文man

2011-08-25 17:24:54

puts中文man

2011-07-15 16:58:36

ac中文man

2011-08-11 18:32:21

cp中文man

2011-08-23 11:34:26

ipcs中文man

2011-08-25 10:16:02

lmhosts中文man

2011-08-24 15:29:06

grant中文man

2011-08-25 17:32:40

setbuffer中文man

2011-08-25 16:50:08

getc中文man

2011-08-25 16:52:54

getchar中文man

2011-08-25 17:03:51

pclose中文man

2011-08-25 16:22:29

fputc中文man

2011-08-25 16:28:50

fread中文man

2011-08-25 17:27:58

rewind中文man
點贊
收藏

51CTO技術(shù)棧公眾號