-
Notifications
You must be signed in to change notification settings - Fork 0
/
xrtgraph.1
41 lines (41 loc) · 1.05 KB
/
xrtgraph.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.Dd $Mdocdate: May 19 2021 $
.Dt XRTGRAPH 1
.Os
.Sh NAME
.Nm xrtgraph
.Nd live graphs from standard input data for X11 Window System
.Sh SYNOPSIS
.Nm
.Op Fl display Ar display
.Op Fl fg Ar color
.Op Fl bg Ar color
.Op Fl hl Ar color
.Op Fl font Ar font
.Op Fl geometry Ar geometry
.Sh DESCRIPTION
.Nm xrtgraph
is a simple tool for viewing live graphs from standard input data in
an X11 window.
.Pp
The options are as follows:
.Bl -tag -width Ds
.Lt Fl display Ar display
Set the display host and number for the graph.
.Lt Fl fg Ar foreground color
Set the foreground color.
.Lt Fl bg Ar background color
Set the background color.
.Lt Fl hl Ar highlight color
Set the hightlight color.
.Lt Fl font Ar font
Set the font for text in the graph if any is shown.
.Lt Fl geometry Ar window geometry
Set the window geometry in the X11 window geometry form i.e.
widthxheight+xoffset+yoffset e.g. 800x600+0+0.
.El
.Sh EXAMPLES
Draw a live graph of downstream bandwidth usage.
.Pp
.Dl $ netstat -w 1 -b | awk 'NR>=4 { print $1; fflush(stdout) }' | xrtgraph
.Sh SEE ALSO
.Xr xrtgauge 1