EnglishFrenchSpanish

Ad


OnWorks favicon

since - Online in the Cloud

Run since in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command since that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


since - display content of a file since the last time

SYNOPSIS


since [-aefhlmnqvxz] [-d seconds] [-s file] files

DESCRIPTION


since is a utility designed to monitor log files. since is similar to tail(2) as it also
displays information appended to a file. However since only displays the data which has
been added since the last time since was run. If since is run on a particular file for the
first time, then the entire file is displayed.

EXAMPLE


since /var/log/apache/{access,error}_log > /dev/null
lynx --dump http://localhost/ > /dev/null
since /var/log/apache/{access,error}_log

OPTIONS


-a Make updates to the since state files atomic. This option configures since to use a
temporary file and a rename(2) instead of updating the state file in situ.

-d seconds
Specify the number of integer seconds to wait between polling files for changes.
This option is only relevant in conjunction with the -f option and if the inotify
mechanism is not being used.

-e Print the header lines to standard error instead of standard output.

-f Follow the specified files. This option is analogous to tail -f as the files are
also polled for changes until the process is interrupted.

-h Print a terse help message.

-l Relaxed mode. If some data files are inaccessible since will not fail completely.

-m Disable mmap(2), use read(2) instead to access state and data files. Note that for
certain smaller io operations read(2) may be used even if this option has not been
given.

-n Do not update the .since file which keeps track of file growth.

-q Make the utility operate more quietly.

-s filename
Specify the state file explicitly. Using this option will also disable the use of
fallback state files.

-v Increase the verbosity. This option can be given multiple times.

-x Ignore file arguments which have compressed extensions.

-z Discard output. Similar to redirecting the output to /dev/null, but faster. If used
in conjunction with the -f option, only the initial output will be discarded.

Use since online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad