gftail (1) - Linux Manuals
gftail: manual page for gftail (glusterfs-coreutils) 0.2.0
NAME
gftail - manual page for gftail (glusterfs-coreutils) 0.2.0SYNOPSIS
gftail [OPTION]... URLDESCRIPTION
Print the last 10 lines (default) of the file to standard output.- -c, --bytes=K
- output the last K bytes
- -f, --follow
- output appended data as the file grows
- -n, --lines=K
- output the last K lines, instead of the last 10
- -o, --xlator-option=OPTION
- specify a translator option for the connection. Multiple options are supported and take the form xlator.key=value.
- -p, --port=PORT
- specify the port on which to connect
- -s, --sleep-internal=N
- with -f, sleep for approximately N microseconds (default is 50,000)
- --help
- display this help and exit
- --version
- output version information and exit
EXAMPLES
- gftail glfs://localhost/groot/file
- Tail the last 10 lines of the file /file on the Gluster volume groot on host localhost.
- gftail -c 100 glfs://localhost/groot/file
- Tail the last 100 bytes of the file /file on the Gluster volume groot on host localhost.
- gftail -f glfs://localhost/groot/file
- Tail the last 10 lines of the file /file on the Gluster volume groot on host localhost, following the file until an interrupt is received.
- gfcli (localhost/groot)> tail /example
- In the context of a shell with a connection established, tail the file example on the root of the Gluster volume groot on localhost.
AUTHOR
Written by Craig Cabrey.COPYRIGHT
Copyright © 2015 Facebook, Inc. License GPLv3: GNU GPL version 3 <http://www.gnu.org/licenses/gpl-3.0.en.html>.This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.