1GFTAIL(1) User Commands GFTAIL(1)
2
3
4
6 gftail - manual page for gftail 0.3.0
7
9 gftail [OPTION]... URL
10
12 Print the last 10 lines (default) of the file to standard output.
13
14 -c, --bytes=K
15 output the last K bytes
16
17 -f, --follow
18 output appended data as the file grows
19
20 -n, --lines=K
21 output the last K lines, instead of the last 10
22
23 -o, --xlator-option=OPTION
24 specify a translator option for the connection. Multiple options
25 are supported and take the form xlator.key=value.
26
27 -p, --port=PORT
28 specify the port on which to connect
29
30 -s, --sleep-internal=N
31 with -f, sleep for approximately N microseconds (default is
32 50,000)
33
34 --help display this help and exit
35
36 --version
37 output version information and exit
38
40 gftail glfs://localhost/groot/file
41
42 Tail the last 10 lines of the file /file on the Gluster volume
43 groot on host localhost.
44
45 gftail -c 100 glfs://localhost/groot/file
46
47 Tail the last 100 bytes of the file /file on the Gluster volume
48 groot on host localhost.
49
50 gftail -f glfs://localhost/groot/file
51
52 Tail the last 10 lines of the file /file on the Gluster volume
53 groot on host localhost, following the file until an interrupt
54 is received.
55
56 gfcli (localhost/groot)> tail /example
57
58 In the context of a shell with a connection established, tail
59 the file example on the root of the Gluster volume groot on lo‐
60 calhost.
61
63 Written by Craig Cabrey.
64
66 Copyright © 2015 Facebook, Inc. License GPLv3: GNU GPL version 3
67 <http://www.gnu.org/licenses/gpl-3.0.en.html>.
68 This is free software: you are free to change and redistribute it.
69 There is NO WARRANTY, to the extent permitted by law.
70
72 gfcli(1)
73
74
75
76glusterfs-coreutils 0.3.0 January 2021 GFTAIL(1)