This is a common file extension for backup files. The oldest files are at the bottom of the list. Using the “-t” option, the files are sorted according to their modification date. The ls command lists the files in a directory.Useful to abort the live tail when the file-writing program is terminated. Used in conjunction with the -f option, the tail command is terminated when the process with the specified process ID terminates. This is particularly useful in combination with the “-follow=name” option to continue monitoring the new file with the same name after a log file has been rotated. Try to reopen an unavailable file as soon as it becomes available again. Output of the file is left to rest for the specified number of seconds. This means that the live tail continues to run even if the file is renamed or moved.Ĭorrespond to the call with -follow= name -retry the effect is that the live tail continues to run even if the original file is removed during the log rotation and replaced by a new file with the same name. If a value is not specified after “-follow=”, “descriptor” is used as the default value. Monitor the file for changes and continuously output new data written to the end of the file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |