Skip to Content
Linux in a Nutshell, Fourth Edition
book

Linux in a Nutshell, Fourth Edition

by Ellen Siever, Stephen Figgins, Aaron Weber
June 2003
Beginner to intermediate
944 pages
43h 1m
English
O'Reilly Media, Inc.
Content preview from Linux in a Nutshell, Fourth Edition

Name

update

Synopsis

                  update [options]

System administration command. update is a daemon that controls how often the kernel’s disk buffers are flushed to disk. update is also known as bdflush. The daemon forks a couple of processes to call system functions flush( ) and sync( ). When called by an unprivileged user, no daemon is created. Instead, update calls sync( ) and then exits. By default, update will wake up every 5 seconds and flush( ) some dirty buffers. If that doesn’t work, it will try waking up every 30 seconds to sync( ) the buffers to disk. Not all of the listed options are available in every version of update.

Options

-d

Display the kernel parameters. This does not start the update daemon.

-f seconds

Call flush( ) at this interval. Default is 5.

-h

Help. Print a command summary.

-s seconds

Call sync( ) at this interval. Default is 30.

-0 percent

Flush buffers when the specified percent of the buffer cache is dirty.

-1 blocks

The maximum number of dirty blocks to write out per wake cycle.

-2 buffers

The number of clean buffers to try to obtain each time the free buffers are refilled.

-3 blocks

Flush buffers if dirty blocks exceed blocks when trying to refill the buffers.

-4 percent

Percent of buffer cache to scan when looking for free clusters.

-5 seconds

Time for a data buffer to age before being flushed.

-6 seconds

Time for a nondata buffer to age before being flushed.

-7 constant

The time constant to use for load average.

-8 ratio

How low the load average can be before ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Linux in a Nutshell, 6th Edition

Linux in a Nutshell, 6th Edition

Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
Embedded Linux for Developers

Embedded Linux for Developers

Alexandru Vaduva, Alex González, Chris Simmonds
Linux in Action

Linux in Action

David Clinton

Publisher Resources

ISBN: 0596004826