HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)
s
syncer(1M) syncer(1M)
NAME
syncer - periodically sync for file system integrity
SYNOPSIS
/usr/sbin/syncer
[seconds ][-s][-d directory ... ]
DESCRIPTION
syncer is a program that periodically executes sync()
at an interval determined by the input argument
seconds (see sync(2)). If seconds is not specified, the default interval is every 30 seconds. This ensures that
the file system is fairly up-to-date in case of a crash. This command should not be executed directly, but
should be executed at system boot time via startup script
/sbin/init.d/syncer
.
syncer also updates the /etc/mnttab file if it does not match current kernel mount information.
Options
syncer recognizes the following options:
-s Cause syncer to not update the
/etc/mnttab file. Use of this option is provided for
special cases of backward compatilibity only, and is strongly discouraged. This option may
be removed in a future release.
-d Open directories for cache benefit. All directories must be specified by their full path name.
If the
-d option is not used, no directories are opened.
AUTHOR
syncer was developed by the University of California, Berkeley and HP.
SEE ALSO
init(1M), sync(1M), sync(2).
Section 1M−−1006 Hewlett-Packard Company − 1 − HP-UX 11i Version 1: September 2005