gftail - Man Page

manual page for gftail 0.3.0

Synopsis

gftail [OPTION]... URL

Description

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.

See Also

gfcli(1)

Info

July 2024 glusterfs-coreutils 0.3.0