forked from hills/xosview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xosview.1
1562 lines (1223 loc) · 36 KB
/
xosview.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
.TH "XOSVIEW" 1
.UC
.SH NAME
xosview \- X based system monitor
.SH SYNOPSIS
xosview [options]
.\" ================ Macros =============================
.\" First, let's define some handy roff macros.
.\" A macro begins with .de <xx> where one will invoke this macro with .xx
.\" The macro definition ends with the .. line.
.\" I don't know what macro abbreviations are free, so I just chose a few,
.\" and haven't noticed a problem so far! bgrayson
.\" There are several paragraphs that are repeated in the resource section.
.\" Rather than typing the whole stuff out each time, we define a few macros.
.\" The .pp macro takes a single argument (net, disk, etc), and
.\" prints a paragraph description of a Priority resource. Only the
.\" header (xosview*diskPriority: \fIpriority\fP) needs to be specified in
.\" addition to the .pp macro.
.\" Usage: .pp load
.de pp
xosview*\\$1Priority: \fIpriority\fP
.RS
This number (which must be an integer >= 1) sets the number of tenths of
a second that the \\$1 meter waits between updates. A value of 1 has xosview
update the meter 10 times per second (the fastest). A value of 600 would
cause xosview to update the meter once a minute.
.RE
..
.\" The .dc macro is similar to the .pp macro, except that it is for
.\" the decay resource paragraphs.
.\" Usage: .dc net
.de dc
xosview*\\$1Decay: (True or False)
.RS
If True then the \\$1 meter will be split vertically in two. The top
half will show the instantaneous state, while the bottom half will
display a decaying average of the state.
.RE
..
.\" The .dg macro is similar to the .dc macro, except that it is for
.\" the scrolling graph resource paragraphs.
.\" Usage: .dg net
.de dg
xosview*\\$1Graph: (True or False)
.RS
If this is set to True then the \\$1 meter will be drawn as a horizontally
scrolling bargraph showing the state value verses time.
.RE
..
.\" The .pm macro is for ``plus/minus'' -- for the
.\" enable/disable command-line options.
.de pm
-\\$1
.RS
This option overrides the xosview*\\$1 resource. It is
equivalent to setting xosview*\\$1 to "False".
.RE
+\\$1
.RS
This option overrides the xosview*\\$1 resource. It is
equivalent to setting xosview*\\$1 to "True".
.RE
..
.\" The .xt macro is for ``Xresource true'' -- for enabling a
.\" meter, like the .pm macro/-+foo.
.de xt
xosview*\\$1: (True or False)
.RS
If True then xosview will display a \\$1 meter.
.RE
..
.\" The .uf macro is for the ``used format'' stuff.
.de uf
xosview*\\$1UsedFormat: (float, percent or autoscale)
.RS
This resource tells xosview how to display "used" labels. The formats work
as follows:
\fBfloat\fP:
.RS
Display the value as a floating point number.
.RE
\fBpercent\fP:
.RS
Display the value as a percentage of the total.
.RE
\fBautoscale\fP:
.RS
Display the absolute value and automatically print the units (K, M, or G) as
appropriate.
.RE
.RE
..
.\" Define a color macro for the various xosview*fooXXXColor: resources.
.\" Usage: .cc swap Used used "swap space" <-- keep 'swap
\" space' as one arg.
.de cc
xosview*\\$1\\$2Color: \fIcolor\fP
.RS
The \\$1 meter will use this color to display the \\$3 field.
.RE
..
.\" ================ End of Macros =============================
.SH DESCRIPTION
\fIxosview\fP is a monitor which displays the status of several system
parameters. These include CPU usage, load average, memory, swap
space, network usage and more. Each resource is displayed as a
horizontal bar which is separated into color coded regions showing how
much of the resource is being put to a particular use.
\fIxosview\fP runs on several platforms (Linux, NetBSD, FreeBSD,
OpenBSD, DragonflyBSD, some Solaris systems, IRIX 6.5, HPUX and GNU).
Not all of the meters described below are supported on all platforms.
Some of the meters may appear different depending upon the platform
\fIxosview\fP is running on. Note that *BSD is used as an
abbreviation for all the supported BSD operating systems (NetBSD,
FreeBSD, OpenBSD, DragonflyBSD).
\fBLoad\fP: Kernel reported load average
all platforms : load
Linux : load | CPU frequency
*BSD : load | CPU frequency
SunOS5 : load | CPU frequency
\fBCPU Usage\fP
Linux : user | nice | system | soft-interrupt | interrupt | io-wait |
guest | niced guest | stolen | idle
*BSD : user | nice | system | interrupt | idle
SunOS5 : user | system | wait | idle
IRIX : user | system | interrupt | wait | idle
HPUX : user | nice | system | interrupt | idle
\fBMemory Usage\fP
Linux : used | buffers | slab | map | cache | free
FreeBSD: active | inactive | wired | cache | free
DFBSD : active | inactive | wired | cache | free
OpenBSD: active | inactive | wired | free
NetBSD : active | inactive | wired | free
SunOS5 : kernel | zfs | other | free
IRIX : kernel | fs | user | free
HPUX : text | used | other | free
GNU : active | inactive | wired | free
\fBSwap Usage\fP
Linux : used | free
*BSD : used | free
SunOS5 : used | free
HPUX : used | free
GNU : used | free
\fBDisk Usage\fP: Throughput to/from local disk, per second
Linux : in | out | idle
*BSD : in | out | idle
SunOS5 : in | out | idle
\fBPage Swapping\fP: Pages to/from swap, per second
Linux : in | out | idle
*BSD : in | out | idle
SunOS5 : in | out | idle
HPUX : in | out | idle
GNU : in | out | idle
\fBNetwork Usage\fP
Linux : in | out | idle
*BSD : in | out | idle
SunOS5 : in | out | idle
\fBGFX Usage\fP: Framebuffer exchanges, per second
IRIX : swapbuffers
\fBInterrupts\fP: "leds" which blink when an interrupt occurs
Linux : IRQs
*BSD : IRQs
\fBInterrupt Rate\fP: Per second
Linux : interrupts | free
*BSD : interrupts | free
SunOS5 : interrupts | free
\fBSerial Port Status\fP: "leds" which show the serial port parameters
Linux : LSR and MSR
\fBBattery Level\fP: charge and status of batteries
Linux : available | used
*BSD : available | used
\fBRAID\fP: State of disks in a software RAID array
Linux : disk0 disk1 disk2 ... diskN | rebuild
\fBWireless Link\fP
Linux : quality
\fBSensors\fP: Readings from sensors
Linux : I2C/hwmon sensors (lmstemp)
Intel Core/AMD K8+/VIA C7 temperature (coretemp)
ACPI thermal zones (acpitemp)
*BSD : I2C sensors (bsdsensor)
Intel Core/AMD K8+ temperature (coretemp)
Typing a 'q' in the window will terminate xosview.
.SH OPTIONS
Most of these command line options are just a convenient way to set one or
more of \fIxosview\fP's resources. Please see the \fBRESOURCES\fP section for
more details on what the resource is for.
\-v
.RS
Displays the version number.
.RE
\-name \fIname\fP
.RS
Sets the Resource name xosview will use (same as the \-name option
for typical X applications like xterm). When performing resource
lookups, xosview will look under \fIname\fP, and then under
``xosview''. For an example, perform the following (as
documented in README.netbsd):
.RS
xrdb \-merge Xdefaults.stipple
xosview \-name xosvstipple &
xosview \-name xosvstipplebw &
.RE
.RE
\-display \fIdisplay\fP
.RS
Sets the X display to \fIdisplay\fP. This option overrides the
xosview*display resource.
.RE
\-font \fIfont\fP
.RS
Specifies the font xosview will use for labels. This option overrides the
xosview*font resource.
.RE
\-title \fItitle\fP
.RS
This option sets the name xosview will tell the window manager to use for
the X window and icon. This option overrides the xosview*title resource.
.RE
\-geometry \fIgeometry_string\fP
.RS
Sets the X geometry to \fIgeometry_string\fP. This option overrides the
xosview*geometry resource.
.RE
.pm captions
.pm labels
.pm usedlabels
.pm cpu
\-cpus
.RS
Force the display of a single meter for all CPUs in the system. This
option is equivalent to setting xosview*cpuFormat to "single".
.RE
\+cpus
.RS
Force the display of all CPUs in the system. This option is equivalent
to setting xosview*cpuFormat to "all".
.RE
.pm load
.pm mem
.pm swap
.pm battery
.pm gfx
.pm wireless
.pm net
\-network \fImaxbandwidth\fP
.RE
\-networkBW \fImaxbandwidth\fP
.RE
\-networkBandwidth \fImaxbandwidth\fP
.RS
These options override the xosview*netBandwidth resource. They cause
xosview to display a meter that will shows network usage, with a maximum
bandwidth of \fBmaxbandwidth\fP. Notice that setting the bandwidth to
0 no longer disables the meter \-\- use the ``\-net'' option instead.
.RE
.pm page
\-pagespeed \fIval\fP
.RS
This option overrides the xosview*pageBandWidth resource. The resource
xosview*pageBandWidth will be set to \fIval\fP.
.RE
.pm disk
.pm int
\-ints +ints
.RE
\-interrupts +interrupts
.RS
Equivalent to \-int and +int.
.RE
.pm irqrate
\-intrate +intrate
.RS
Equivalent to \-irqrate and +irqrate.
.RE
.pm lmstemp
.pm coretemp
.pm acpitemp
.pm bsdsensor
.RE
\-xrm \fIresource_string\fP
.RS
This switch allows any of xosview's resources to be set on the command line.
An example of how the xosview*memFreeColor could be set using this option is
shown below (Note the use of " to prevent the shell from expanding
\'*\' or from creating two separate arguments, \'xosview*memfreeColor:\'
and \'purple\'):
.RS
\-xrm "xosview*memFreeColor: purple"
.RE
.RE
.SH X RESOURCES
The following is a list of X resources supported by \fIxosview\fP. Each has
a default value assigned to it. These values can be found in the file
Xdefaults which can be obtained in the source distribution of xosview.
They can be overridden in the usual places (/usr/lib/X11/app-defaults/XOsview,
$HOME/.Xdefaults, etc.).
It should be noted that it is OK to have a resource defined for a port of
xosview that does not support the feature the resource configures. Xosview
will simply ignore the resources that are set for it but not supported on
a given platform.
\fBGeneral Resources\fP
xosview*title: \fIname\fP
.RS
The string that xosview will use for the X window title. Normally xosview
will use 'xosview@machine_name' for a title. This resource overrides the
default behavior.
.RE
xosview*geometry: \fIgeometry_string\fP
.RS
This is a standard X geometry string that defines the size and location of
the X window used by xosview.
.RE
xosview*display: \fIname\fP
.RS
The name of the display where xosview will contact the X server for drawing
its window.
.RE
xosview*pixmapName: \fIname\fP
.RS
The filename of an X pixmap (xpm) file for use as a background
image.
.RE
xosview*captions: (True or False)
.RS
If True then xosview will display meter captions.
.RE
xosview*labels: (True or False)
.RS
If True then xosview will display meter labels.
.RE
xosview*meterLabelColor: \fIcolor\fP
.RS
The color to use for the meter labels.
.RE
xosview*usedlabels: (True or False)
.RS
If True then xosview will display labels that show the percentage of the
resource (or absolute amount, depending on the meter) being used. This
option requires that the labels option also be set to True.
.RE
xosview*usedLabelColor: \fIcolor\fP
.RS
The color to use for "used" labels.
.RE
xosview*borderwidth: \fIwidth\fP
.RS
The width of the border for the xosview window.
.RE
xosview*font: \fIfont\fP
.RS
This is the font that xosview will use.
.RE
xosview*background: \fIcolor\fP
.RS
This is the color that will be used for the background.
.RE
xosview*foreground: \fIcolor\fP
.RS
This is the color that will be used for the foreground.
.RE
xosview*enableStipple: (True or False)
.RS
Change to true to try stipple support. This is primarily for users
stuck with 1-bit monitors/display cards. Try setting enableStipple
true. Please give us feedback on this, if you use it. It needs
some more work, but no one has given us any feedback so far.
.RE
xosview*graphNumCols: \fInumber\fP
.RS
This defines the number of sample bars drawn when a meter is in scrolling
graph mode. This also has the side-effect of defining the width of the
graph columns. This is only used by meters which have graph mode enabled.
.RE
\fBLoad Meter Resources\fP
.\" Do the load: True resource.
.xt load
xosview*loadProcColor: \fIcolor\fP
.RS
This is the color that the load meter will use to display the load average
when it is below the warning threshold.
.RE
xosview*loadWarnColor: \fIcolor\fP
.RS
This is the color that the load meter will use once the load average is
above the warning but below the critical load threshold.
.RE
xosview*loadCritColor: \fIcolor\fP
.RS
This is the color that the load meter will use once the load average is
above critical load threshold.
.RE
.\" loadIdleColor
.cc load Idle idle
.\" Do the priority resource
.pp load
xosview*loadWarnThreshold: \fIint\fP
.RS
This number (which must be an integer >= 1) sets the value at which
the loadmeter changes its status and color from "normal" to "warning".
The default value is the number of processors.
.RE
xosview*loadCritThreshold: \fIint\fP
.RS
This number (which must be an integer >= 1) sets the value at which
the loadmeter changes its status and color from "warning" to "critical".
The default value is four times the warning threshold.
.RE
xosview*loadDecay: (True or False)
.RS
You should probably leave this at the default value (False). The load
is already a time-averaged value!
.RE
.dg load
.\" loadUsedFormat resource
.uf load
xosview*loadCpuSpeed: (True or False)
.RS
Display the current CPU speed in the load meter.
.RE
\fBCPU Meter Resources\fP
xosview*cpu: (True or False)
.RS
If True then xosview will display a cpu meter. On Linux, *BSD, Solaris and
IRIX SMP machines, the resource cpuFormat defines how meters are created for
multiple CPUs.
.RE
.\" cpuUserColor, cpuNiceColor, cpuSystemColor, cpuInterruptColor, cpuFreeColor
.cc cpu User "cpu user time"
.cc cpu Nice "cpu nice time"
.cc cpu System "cpu system time"
.cc cpu Interrupt "cpu hard interrupt time"
.cc cpu SInterrupt "cpu soft interrupt time"
.cc cpu Wait "cpu IO waiting time"
.cc cpu Guest "cpu virtualization guest time"
.cc cpu NiceGuest "cpu niced virtualization guest time"
.cc cpu Stolen "cpu involuntary wait time"
.cc cpu Free "cpu idle time"
.\" Priority, decay, usedFormat resources:
.pp cpu
.dc cpu
.dg cpu
.uf cpu
xosview*cpuFormat: (single, all, both or auto)
.RS
If `single', only a cumulative meter for all CPU usage is created.
`all' creates a meter for each CPU, but no cumulative meter. `both'
creates one cumulative meter and one for each CPU. `auto' makes a
choice based on the number of CPUs found.
.RE
xosview*cpuFields: USED/USR/NIC/SYS/INT/SI/HI/WIO/GST/NGS/STL/IDLE
.RS
The set of fields to show in Linux CPU meter instead of the
default. Possible fields are:
\fBUSED\fP:
.RS
Combine all used CPU time into one field. This is the sum of user, nice,
system, soft and hard interrupts, guest, niced guest and stolen times.
None of these, except stolen, may be defined together with `USED'.
.RE
\fBIDLE\fP:
.RS
Time spent doing nothing. Includes I/O wait if it is not defined separately.
.RE
\fBUSR\fP:
.RS
Time spent in user mode processes. Includes nice, guest and niced guest if
those are not defined separately.
.RE
\fBNIC\fP:
.RS
Time spent in niced user mode processes. Includes niced guest if neither it
nor guest is not defined separately.
.RE
\fBSYS\fP:
.RS
Time spent in kernel code. Includes soft and hard interrupt as well as stolen
time if those are not defined separately.
.RE
\fBINT\fP:
.RS
Combines soft and hard interrupt handling times into one field.
.RE
\fBSI\fP:
.RS
Time the kernel used to handle soft interrupts. Available on Linux kernel
2.6.0 and higher.
.RE
\fBHI\fP:
.RS
Time the kernel used to handle hard interrupts. Available on Linux kernel
2.6.0 and higher.
.RE
\fBWIO\fP:
.RS
Time spent waiting for I/O to complete. Available on Linux kernel
2.6.0 and higher.
.RE
\fBGST\fP:
.RS
Time spent running guest OS in virtual machine. Includes niced guest if
it is not defined separately. Available on Linux kernel 2.6.24 and higher.
.RE
\fBNGS\fP:
.RS
Time spent running niced guest OS in virtual machine. Available on Linux kernel
2.6.32 and higher.
.RE
\fBSTL\fP:
.RS
Involuntary wait time when running as guest in virtual machine. Available
on Linux kernel 2.6.11 and higher.
.RE
Most combinations are possible (see above for restrictions), but at least
`USED' or `USR' and `SYS' need to be defined. `IDLE' field is added
automatically.
.RE
\fBMemory Meter Resources\fP
.\" Do the mem: True resource.
.xt mem
.\" mem{Used,Share,Buffer,...}Color resources
.cc mem Used "used memory"
.cc mem Shared "shared memory"
.cc mem Buffer "buffer memory"
.cc mem Cache "cache memory"
.cc mem Free "free memory"
.cc mem Kernel "kernel memory"
.cc mem Shared "shared memory"
.cc mem Text "HP text memory"
.cc mem Other "HP ``other'' memory"
.cc mem Active "*BSD active memory"
.cc mem Inactive "*BSD inactive memory"
.cc mem Wired "*BSD wired memory"
.cc mem Slab "Linux in-kernel data structures"
.cc mem Map "Linux memory mapped files"
.\" Priority, decay, usedFormat resources:
.pp mem
.dc mem
.dg mem
.uf mem
\fBSwap Meter Resources\fP
.\" Do the swap: True resource.
.xt swap
.\" swap{Used,Free}Color resources.
.cc swap Used "used swap"
.cc swap Free "free swap"
.\" Priority, decay, usedFormat resources:
.pp swap
.dc swap
.dg swap
.uf swap
\fBPage Swapping Meter Resources\fP
.\" Do the page: True resource.
.xt page
xosview*pageBandWidth: \fImaxEvents\fP
.RS
This number is used to specify the expected maximum bandwidth (in events /
sec) for the page meter. When the expected maximum bandwidth
(\fImaxEvents\fP) is exceeded then the page meter will display the relative
percentage of page swapping (25% in, 75% out).
.RE
.\" page{In,Out,Idle}Color:
.cc page In page-in
.cc page Out page-out
.cc page Idle idle
.\" Priority, decay, usedFormat resources:
.pp page
.dc page
.dg page
.uf page
\fBGfx Meter Resources\fP
xosview*gfx: (True or False)
.RS
If True xosview will display the GfxMeter. The value is sampled once per
second, due to the usage of sadc to sample data.
.RE
xosview*gfxWarnColor: \fIcolor\fP
.RS
This is the color that the gfx meter will use once the warn state is
reached.
.RE
xosview*gfxAlarmColor: \fIcolor\fP
.RS
This is the color that the gfx meter will use once the alarm state is
reached.
.RE
xosview*gfxSwapColor: \fIcolor\fP
.RS
This is the color that the gfx meter will use in normal state
.RE
.\" gfxIdleColor
.cc gfx Idle idle
.\" Do the priority resource
.pp gfx
xosview*gfxWarnThreshold: \fIint\fP
.RS
This number (which must be an integer >= 1) of swapbuffers per second
and pipe at which the gfxmeter changes its status and color from
"normal" to "warn". The default value is 60.
.RE
xosview*gfxAlarmThreshold: \fIint\fP
.RS
This number (which must be an integer >= gfxWarnThreshold) of
swapbuffers per second and pipe at which the gfxmeter changes its status
and color from "warn" to "alarm". The default value is 120.
.RE
xosview*gfxDecay: (True or False)
.RS
You should probably leave this at the default value (False). The gfx
does not work in decay mode.
.RE
.dg gfx
.\" gfxUsedFormat resource
.uf gfx
\fBNetwork Meter Resources\fP
xosview*net: (True or False)
.RS
If True xosview will display the NetMeter. Linux users will have to configure
their kernels and setup some ip accounting rules to make this work. See the
file README.linux which comes with the xosview distribution for details.
.RE
xosview*netBandwidth: \fImaxBytes\fP
.RS
This number is used to specify the expected maximum bandwidth
(in bytes / sec) for the meter. When the expected maximum bandwidth
(\fImaxBytes\fP) is exceeded then the network meter will display the
relative percentage of network usage (25% incoming, 75% outgoing).
.RE
xosview*netIface: \fIinterface\fP
.RS
If False, xosview will display the data received/transmitted by any of
the network interfaces. Otherwise, xosview will only display the data
received/transmitted by the specified network interface. If the name is
prepended with '-' sign, the data in that interface is ignored.
.RE
.\" net{In,Out}Color:
.cc net In incoming
.cc net Out outgoing
.\" FIXME XXX Change the netBackground resource to be netIdleColor.
xosview*netBackground: \fIcolor\fP
.RS
This is the color that the network meter will use for the "idle" field.
.RE
.\" Priority, decay, usedFormat resources:
.pp net
.dc net
.dg net
.uf net
\fBNFSStats (Client) Resources\fP
xosview*NFSStats: (True or False)
.RS
If True then xosview will display a meter to monitor NFS client stats.
.RE
xosview*NFSStatReTransColor: \fIcolor\fP
.RS
The color to be used for retransmit stats.
.RE
xosview*NFSStatAuthRefrshColor: \fIcolor\fP
.RS
The color to be used for auth refresh stats.
.RE
xosview*NFSStatCallsColor: \fIcolor\fP
.RS
The color to be used for call stats.
.RE
xosview*NFSStatIdleColor: \fIcolor\fP
.RS
The color to be used for idle stats.
.RE
\fBNFSDStats (Server) Resources\fP
xosview*NFSDStats: (True or False)
.RS
If True xosview will display a meter for NFS server/daemon stats.
.RE
xosview*NFSDStatCallsColor: \fIcolor\fP
.RS
The color to be used for call stats.
.RE
xosview*NFSDStatBadCallsColor: \fIcolor\fP
.RS
The color to be used for bad stats.
.RE
xosview*NFSDStatUDPColor: \fIcolor\fP
.RS
The color to be used for UDP stats.
.RE
xosview*NFSDStatTCPColor: \fIcolor\fP
.RS
The color to be used for TCP stats.
.RE
xosview*NFSDStatIdleColor: \fIcolor\fP
.RS
The color to be used for idle stats.
.RE
\fBSerial Meter Resources\fP
xosview*serial(0-9): (True, False, or portBase)
.RS
If True then xosview will display a serial meter for ttySx. The
portbase will be autodetected. Because autodetection can fail, (if
the port is locked by ppp/slip for example) you can specify the
portbase instead of "True". If a portBase is used then xosview will use
it instead of trying to autodetect.
For this to work on Linux xosview needs to be suid root in order to have
access to the ports. See the file README.linux which comes with the xosview
distribution for more details.
.RE
xosview*serialOnColor: \fIcolor\fP
.RS
This is the color the serial meter will use for bits that are set.
.RE
xosview*serialOffColor: \fIcolor\fP
.RS
This is the color the serial meter will use for bits that are not set.
.RE
.\" Do the priority resource
.pp serial
\fBInterrupt Meter Resources\fP
xosview*interrupts: (True or False)
.RS
If True then xosview will display an interrupt meter.
.RE
xosview*intSeparate: (True of False)
.RS
If True then xosview will display one interrupt meter per CPU on SMP
machines. If False only one meter is displayed. Default: True.
.RE
xosview*intOnColor: \fIcolor\fP
.RS
This is the color that will be used to show "active" interrupts.
.RE
xosview*intOffColor: \fIcolor\fP
.RS
This is the color that will be used to show "inactive" interrupts.
.RE
.\" Do the priority resource
.pp int
\fBInterrupt Rate Meter Resources\fP
xosview*irqrate: (True or False)
.RS
If True then xosview will display an interrupt rate meter.
.RE
xosview*irqrateUsedColor: \fIcolor\fP
.RS
This is the color that will be used to show the interrupt rate.
.RE
.cc irqrate Idle idle
.\" Priority, decay, usedFormat resources:
.pp irqrate
.dc irqrate
.dg irqrate
.uf irqrate
\fBLm Sensors Resources\fP
.xt lmstemp
xosview*lmstempHighest: \fInumber\fP
.RS
Highest value displayed. If not given, or too small, the meter will adjust
to fit actual and alarm values. Can be overridden for any meter with
lmstempHighest\fIN\fP.
.RE
xosview*lmstempActColor: \fIcolor\fP
.RS
Color of actual value.
.RE
xosview*lmstempHighColor: \fIcolor\fP
.RS
Color above high alarm value, also used to indicate alarm.
.RE
xosview*lmstempLowColor: \fIcolor\fP
.RS
Color of actual value, when it is below low alarm value.
.RE
xosview*lmstempIdleColor: \fIcolor\fP
.RS
Color between actual and high alarm values.
.RE
xosview*lmstemp\fIN\fP: \fIfilename\fP
.RS
Name of input file from /proc/sys/dev/sensors/*/* or
/sys/class/hwmon/*/{,device}/, N=1,2,3,... Can also be absolute path.
For example,
.br
xosview*lmstemp1: temp1
.br
xosview*lmstemp2: temp2_input
.br
\fBNote:\fP Many sensors have the value and alarm threshold in files named
"*_input" and "*_max"/"*_min", respectively. In such case, specifying the base
name such as "temp1" here will be enough for having both files used.
.br