HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)

s
sync(1M) sync(1M)
NAME
sync - synchronize file systems
SYNOPSIS
sync [-l]
DESCRIPTION
sync executes the sync() system call (see sync(2)). If the system is to be stopped, the
sync command
must be called to ensure file system integrity.
sync flushes all previously unwritten system buffers including modified super blocks, modified inodes,
and delayed block I/O out to disk. This ensures that all file modifications are properly saved before per-
forming a critical operation such as a system shutdown. For additional protection from power failures or
possible system crashes, use syncer to execute sync
automatically at periodic intervals (see
syncer(1M)).
AUTHOR
sync was developed by AT&T and HP.
SEE ALSO
syncer(1M), sync(2).
STANDARDS CONFORMANCE
sync: SVID2, SVID3
Section 1M796 Hewlett-Packard Company 1 HP-UX 11i Version 2: August 2003