XOSVIEW(2.3.5)

πŸ“¦
version 2.3.5 Β· 2 versions
, in nixpkgs unstable

🌸 XOSVIEW(2.3.5) 🌸

πŸ’– NAME

xosview β€” X based system monitor πŸ’»βœ¨

πŸ“Ÿ SYNOPSIS

xosview [OPTIONS]

🌈 DESCRIPTION

okay bestie, so xosview is literally a program that displays system based parameters. These include CPU usage, load average, memory usage, swap space usage, network usage, interrupts, file system capacity and more. Each parameter is displayed in an X11 window as a horizontal bar graph, scrolling chart or an array of colored bits. The type of graph depends on the nature of the data being displayed and the configuration of xosview. 🫢

Typing a q in the window will terminate xosview. If xosview was built with the SM and ICE libraries, then it will communicate with the session manager when asked to do so. ✨

At the moment xosview runs on platforms including (Linux, NetBSD, FreeBSD, OpenBSD, dragonflyBSD, solaris, cygwin, minix 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 xosview is running on. Note that *BSD is used as an abbreviation for all of the free BSD operating systems. πŸŒ€

πŸŽ€ Supported Meters πŸŽ€

  • Load Average β€” Linux: yes Β· *BSD: yes Β· Gnu: yes Β· Minix: yes Β· Solaris: yes Β· Cygwin: yes
  • CPU β€” Linux: yes Β· *BSD: yes Β· Gnu: yes Β· Minix: yes Β· Solaris: yes Β· Cygwin: yes
  • Memory β€” Linux: yes Β· *BSD: yes Β· Gnu: yes Β· Minix: yes Β· Solaris: yes Β· Cygwin: yes
  • Swap β€” Linux: yes Β· *BSD: yes Β· Gnu: yes Β· Minix: no Β· Solaris: yes Β· Cygwin: yes
  • Page xfer β€” Linux: yes Β· *BSD: yes Β· Gnu: yes Β· Minix: no Β· Solaris: yes Β· Cygwin: yes
  • Disk xfer β€” Linux: yes Β· *BSD: yes Β· Gnu: no Β· Minix: no Β· Solaris: yes Β· Cygwin: yes
  • Filesys β€” Linux: yes Β· *BSD: yes Β· Gnu: yes Β· Minix: yes Β· Solaris: yes Β· Cygwin: yes
  • Network β€” Linux: yes Β· *BSD: yes Β· Gnu: yes Β· Minix: no Β· Solaris: yes Β· Cygwin: yes
  • Wifi quality β€” Linux: yes Β· *BSD: no Β· Gnu: no Β· Minix: no Β· Solaris: no Β· Cygwin: no
  • Interrupt rate β€” Linux: yes Β· *BSD: yes Β· Gnu: no Β· Minix: no Β· Solaris: yes Β· Cygwin: yes
  • Interrupts β€” Linux: yes Β· *BSD: yes Β· Gnu: no Β· Minix: no Β· Solaris: no Β· Cygwin: no
  • Temperature β€” Linux: yes Β· *BSD: yes Β· Gnu: no Β· Minix: no Β· Solaris: no Β· Cygwin: yes
  • Serial β€” Linux: ? Β· *BSD: no Β· Gnu: no Β· Minix: no Β· Solaris: no Β· Cygwin: no
  • Battery β€” Linux: yes Β· *BSD: ? Β· Gnu: no Β· Minix: no Β· Solaris: no Β· Cygwin: no
  • RAID β€” Linux: yes Β· *BSD: no Β· Gnu: no Β· Minix: no Β· Solaris: no Β· Cygwin: no
  • NFS β€” Linux: ? Β· *BSD: no Β· Gnu: no Β· Minix: no Β· Solaris: no Β· Cygwin: no
Note: A marker of ? indicates an untested meter. Reports on the status of these are welcome! πŸ™ˆπŸ’–

✨ OPTIONS ✨

Almost all of these command line options are just a convenient way to set one or more of xosview's resources. All resources set on the command line will override those specified anywhere else. Please see the X RESOURCES section for more details on what the resource is for and for the overall scheme of how resource values are used. πŸ’…

  • --help, -h β€” Displays usage information to stdout and exits. πŸ’¬
  • --version, -v β€” Displays the version information and exits. ⭐
  • --display name, -display β€” Sets the X display to name.
  • --title name, -title β€” 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.
  • -geometry geometry, -g β€” Sets the X geometry to geometry_string. This option overrides the xosview*geometry resource.
  • --foreground color, -fg β€” The color to use for the foreground.
  • --background color, -bg β€” The color to use for the background.
  • -font fontName, -fn β€” Specifies the fontName xosview will use for labels. This option overrides the xosview*font resource. Not all fonts currently work well with xosview. For more details see the X RESOURCES section.
  • --iconic, -iconic β€” Request to start in an iconic state.
  • --name name, -name β€” 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 name, and then under xosview.
  • -xrm spec, -x β€” 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):
-xrm "xosview*memFreeColor: purple"
  • --option spec, -o β€” This option is exactly the same as -xrm except that you do not need to specify an instance name (such as xosview*). It will be prepended for you. So, this will also set the xosview*memFreeColor to purple:
-o "memFreeColor: purple"
  • --config fileName, -c β€” Load an XResource file. This file will override (not replace) any previous resources. See the X RESOURCES section for more details.
  • --xrm-dump, -xrmd β€” Dump the X resources seen by xosview to stdout and exit. This will show a final list of all resources seen after loading and merging is finished.
  • --smid sessionID, -smid β€” Starts xosview with the provided sessionID. This option will allow xosview to work with window managers that find the simple XSetWMProperties() method of saving session information uninteresting (looks at KDE). If configured with libSM/libICE xosview will arrange for its restart in a new session with this argument. There should be no need for a user to use this option. It is documented here for completeness.

πŸ’… X RESOURCES πŸ’…

The following is a list of X resources supported by xosview. 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. This file is installed in XAPPLOADDIR ($prefix/share/X11/app-defaults) when xosview is installed. πŸŽ€

The resources can be overridden in the usual places used by X applications (XAPPLOADDIR, $HOME/.Xdefaults, etc.). Individual options can be set on the command line of xosview with options such as -xrm and -o and files containing multiple options can be specified with the -c switch. ✨

The default values of many resources are set to enable many of the existing features. This allows new users to see that these features exist without having to read the documentation. Most users will probably want to customize the defaults to their own taste by adding a few lines to their … 🌸

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. πŸ’œ

πŸŽ€ Loading X Resources πŸŽ€

The resources used by xosview are located and loaded in the following order. Each layer overrides the previous. And, of course, the best match is used. For example .xosview*font overrides the more generic *font. πŸ¦‹

From first loaded/searched to last:

  1. An embedded copy of Xdefaults used to build xosview. So, xosview always has a default and complete set of resources even if all other options fail.
  2. Standard X11 search paths and mechanics (XAPPLRESDIR, .Xdefault, xmodmap, etc). For full details see the X documentation. The following is a short summary:
    • From the class file (XOsview) found in the app-defaults directory configured into xosview at compile time.
    • From the class file (XOsview) in the XAPPLRESDIR (environment variable).
    • From resources loaded onto the Display of the X server (by xrdb for example).
    • From resources loaded onto the Screen of the Display (again by xrdb or the like).
    • From the .Xdefaults file in the user's HOME (environment variable) directory. xosview loads this file even if your X session did not.
    • From resources found in the file specified by the XENVIRONMENT environment variable.
  3. Resource files specified by the -c, --config command line arguments.
  4. Resources set by using the -xrm command line argument(s).
  5. Command line options (such as -display) that set resources.
Note that since xosview always starts off with a complete set of resources it requires, then you only need specify those options you would like to change from their default values. For example your .Xdefaults file could simply contain the line xosview*background: blue if all you wish is an "stock" xosview with a blue background. πŸ’™

πŸ¦‹ General Resources πŸ¦‹

  • xosview*title: name β€” 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.
  • xosview*geometry: geometry_string β€” This is a standard X geometry string that defines the size and location of the X window used by xosview.
  • xosview*display: name β€” The name of the display which xosview will use to contact the X server for creating its window.
  • xosview*pixmapName: name β€” The filename of an X pixmap (xpm) file for use as a background image.
  • xosview*transparent β€” (True or False). If True, set the window background to transparent. Xosview will attempt to locate and use a 32 bit ARGB visual. If the server does not support one then the background will not be transparent. no cap, that caveat matters πŸ’…
  • xosview*captions β€” (True or False). If True then xosview will display meter captions.
  • xosview*labels β€” (True or False). If True then xosview will display meter labels.
  • xosview*meterLabelColor β€” color. The color to use for the meter labels.
  • xosview*usedlabels β€” (True or False). 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. don’t skip that last bit, bestie πŸ™ˆ
  • xosview*usedLabelColor β€” color. The color to use for "used" labels.
  • xosview*font β€” font. This is the font that xosview will use. Currently the xosview text rendering code assumes that a mono spaced (fixed width) font. So, things will most likely look poor with a non mono spaced font. If the build system supports Xft then xosview will switch to using freetype2 fonts. Otherwise core X11 fonts are used. font glow-up potential, but respect the fixed-width vibe ✨
  • xosview*background β€” color. This is the color that will be used for the background.
  • xosview*foreground β€” color. This is the color that will be used for the foreground.
  • xosview*enableStipple β€” (True or False). 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. they’re literally asking for feedback, bestie 🫢
  • xosview*graphNumCols β€” number. 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.

🌸 General Meter Resources 🌸

Meters that display their values as scalar fields generally support the following options. Every meter has a prefix name. For example the CPU meter's prefix is cpu. So, you would specify the resources for it by using cpu instead of prefix. For example cpuPriority instead of prefixPriority. iykyk, the prefix is the whole personality πŸ’–

  • xosview*prefixPriority β€” value. This number (which must be an integer >= 1) sets the number of tenths of a second that the 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.
  • xosview*prefixUsedFormat β€” (float, percent or autoscale). This resource tells xosview how to display "used" labels. The formats work as follows:
    • float β€” Display the value as a floating point number.
    • percent β€” Display the value as a percentage of the total.
    • autoscale β€” Display the absolute value and automatically print the units (K, M, or G) as appropriate.
  • prefixDecay β€” (True or False). If True then the 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. this one is missing the usual xosview* prefix in the manpage, and we keep it exactly like that πŸŽ€
  • xosview*prefixUsedDecay β€” (True or False). If True then xosview will display the used labels as an average over the last N samples. N is a vague number set at the factory. It reduces the text drawing load on the X server.
  • xosview*prefixGraph β€” (True or False). If this is set to True then the meter will be drawn as a horizontally scrolling bargraph showing the state value verses time.

⭐ Load Meter Resources ⭐

  • xosview*load β€” (True or False). If True then xosview will display a load meter.
  • xosview*loadProcColor β€” color. The load meter will use this color to display the load field.
  • xosview*loadIdleColor β€” color. The load meter will use this color to display the idle field.
  • xosview*loadWarnColor β€” color. The load meter will use this color to display the load field. This color is used when the load exceeds the loadWarnThreshold.
  • xosview*loadCritColor β€” color. The load meter will use this color to display the load field. This color is used when the load exceeds the loadCritThreshold.
  • xosview*loadWarnThreshold β€” int. This number (which must be an integer >= 1) sets the value at which the loadmeter changes its status and color from "normal" to "alarm".
  • xosview*loadCritThreshold β€” int. This number (which must be an integer >= 1) sets the value at which the loadmeter changes its status and color from "normal" to "alarm". It is also the value that will be used for the peak of the meter. The meter will still show the total load in the used level when peaked. critical threshold era, stay aware πŸ‘‘
  • xosview*loadCpuSpeed β€” (True or False). Display the current CPU speed in the load meter.

πŸ¦‹ CPU Meter Resources πŸ¦‹

  • xosview*cpu β€” (True or False). If True then xosview will display a cpu meter.
  • xosview*cpuFormat β€” (auto, single, all or both). Controls the number and type of cpu meters for SMP systems.
    • single β€” one meter which combines all cores.
    • all β€” seperate meter for each core. No combined meter.
    • both β€” seperate meters for each core plus a combined meter.
    • auto β€” a single meter on single core systems else both.
  • xosview*cpuUserColor β€” color. The cpu meter will use this color to display the cpu user time field.
  • xosview*cpuNiceColor β€” color. The cpu meter will use this color to display the cpu nice time field.
  • xosview*cpuSystemColor β€” color. The cpu meter will use this color to display the cpu system time field.
  • xosview*cpuWaitColor β€” color. The cpu meter will use this color to display the cpu IO wait time field.
  • xosview*cpuInterruptColor β€” color. The cpu meter will use this color to display the cpu IRQ time field.
  • xosview*cpuSoftIntColor β€” color. The cpu meter will use this color to display the cpu soft IRQ time field.
  • xosview*cpuStolenColor β€” color. The cpu meter will use this color to display the cpu time spent in host OS field.
  • xosview*cpuGuestColor β€” color. The cpu meter will use this color to display the cpu time spent on guest cpu field.
  • xosview*cpuNiceGuestColor β€” color. The cpu meter will use this color to display the cpu time spent on niced guest cpu field.
  • xosview*cpuFreeColor β€” color. The cpu meter will use this color to display the cpu idle time field.

πŸŽ€ Memory Meter Resources πŸŽ€

  • xosview*mem β€” (True or False). If True then xosview will display a mem meter.
  • xosview*memUsedColor β€” color. The mem meter will use this color to display the used memory field.
  • xosview*memBufferColor β€” color. The mem meter will use this color to display the buffer memory field.
  • xosview*memCacheColor β€” color. The mem meter will use this color to display the cache memory field.
  • xosview*memSwapCacheColor β€” color. The mem meter will use this color to display the cache memory that has been swaped once field.
  • xosview*memFreeColor β€” color. The mem meter will use this color to display the free memory field.
  • xosview*memTextColor β€” color. The mem meter will use this color to display the HP text memory field.
  • xosview*memOtherColor β€” color. The mem meter will use this color to display the HP ``other'' memory field.
  • xosview*memActiveColor β€” color. The mem meter will use this color to display the NetBSD active memory field.
  • xosview*memInactiveColor β€” color. The mem meter will use this color to display the NetBSD inactive memory field.

🌈 Swap Meter Resources 🌈

  • xosview*swap β€” (True or False). If True then xosview will display a swap meter.
  • xosview*swapUsedColor β€” color. The swap meter will use this color to display the used swap field.
  • xosview*swapFreeColor β€” color. The swap meter will use this color to display the free swap field.

⚑ IRQ rate Meter Resources ⚑

  • xosview*irqrate β€” (True or False). If True then xosview will display a irqrate meter.
  • xosview*irqrateUsedColor β€” color. The irqrate meter will use this color to display the used irq rate field.
  • xosview*irqrateFreeColor β€” color. The irqrate meter will use this color to display the free irq rate field.
  • xosview*irqratePeak β€” peakIRQRate. This number is the peak value for the field meter in irq/sec. The used label will still report values over this peak.

πŸ’œ Page Meter Resources πŸ’œ

  • xosview*page β€” (True or False). If True then xosview will display a page meter.
  • xosview*pageBandWidth β€” peakVal. This number is used to specify the expected maximum bandwidth (in bytes / sec) for the page meter. When the expected maximum bandwidth (peakValue) is exceeded then the page meter will display the relative percentage of page swapping (25% in, 75% out). peakValue vs peakVal, both live here, we keep both exactly πŸ’…
  • xosview*pageInColor β€” color. The page meter will use this color to display the page-in field.
  • xosview*pageOutColor β€” color. The page meter will use this color to display the page-out field.
  • xosview*pageIdleColor β€” color. The page meter will use this color to display the idle field.

This meter shows wireless link quality. What is quality you might ask? It is a number between zero and 70. Beyond that you are on your own. Anway Linux systems will display this value and let you set a warning threshold when it is "low". If this meter is enabled and no wireless connections exists it will just sit there and display zero. mood, honestly 😭

  • xosview*wlink β€” (True or False). If True then xosview will display a wlink meter.
  • xosview*wlinkBackground β€” color. The color to use to display the background area of the meter.
  • xosview*wlinkGoodColor β€” color. The wlink meter will use this color to display the good wireless quality field.
  • xosview*wlinkPoorColor β€” color. The wlink meter will use this color to display the poor wireless quality field.
  • xosview*wlinkPoorValue β€” value. The threshold value to use to switch between wlinkGoodColor and wlinkPoorColor.

🌐 Network Meter Resources

  • xosview*net: (True or False) β€” Set this to True and boom πŸ’₯, xosview will show a net meter.
  • xosview*netBandwidth: maxBytes β€” This number sets the expected maximum bandwidth for the meter, in bytes / sec. When that expected max (maxBytes) gets exceeded, the network meter switches to showing the relative percentage of network usage: 25% incoming, 75% outgoing. Slay for proportional vibes πŸ“Š.
  • xosview*netIface: interface β€” If False, xosview will display the data received/transmitted by any of the network interfaces. Otherwise, it only displays the data received/transmitted by the specified network interface. That's the spec, bestie 🫢.
  • xosview*netInColor: color β€” The net meter uses this color for the incoming field πŸ’–.
  • xosview*netOutColor: color β€” The net meter uses this color for the outgoing field πŸ’œ.
  • xosview*netBackground: color β€” The color the network meter uses for the "idle" field.

πŸ“‘ NFSStats (Client) Resources

  • xosview*NFSStats: (True or False) β€” Set to True and xosview will display an NFSStats meter.
  • xosview*NFSStatReTransColor: color β€” The NFSStat meter uses this color for the retransmit stats field.
  • xosview*NFSStatAuthRefrshColor: color β€” The NFSStat meter uses this color for the auth refresh stats field. Yes, that resource name really has AuthRefrsh in it β€” copy it exactly, no autocorrect energy πŸ’….
  • xosview*NFSStatCallsColor: color β€” The NFSStat meter uses this color for the call stats field.
  • xosview*NFSStatIdleColor: color β€” The NFSStat meter uses this color for the idle stats field.

πŸ—„οΈ NFSDStats (Server) Resources

  • xosview*NFSDStats: (True or False) β€” Set to True and xosview will display an NFSDStats meter.
  • xosview*NFSDStatCallsColor: color β€” The NFSDStat meter uses this color for the call stats field.
  • xosview*NFSDStatBadCallsColor: color β€” The NFSDStat meter uses this color for the bad stats field.
  • xosview*NFSDStatUDPColor: color β€” The NFSDStat meter uses this color for the UDP stats field.
  • xosview*NFSDStatTCPColor: color β€” The NFSDStat meter uses this color for the TCP stats field.
  • xosview*NFSDStatIdleColor: color β€” The NFSDStat meter uses this color for the idle stats field.

πŸ”Œ Serial Meter Resources

⚠️ Heads up, bestie: for this to work on Linux, xosview needs to be suid root so it can have access to the ports. See the file README.linux, which comes with the xosview distribution, for more details. Running xosview as root may not be a good idea, and this meter is slated for a re-write or removal. So… proceed with that in mind 😭.
  • xosview*serial(0-9): (True or False) β€” If True, xosview will display a serial(0-9) meter. The ttySx 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.
  • xosview*serialOnColor: color β€” The serial meter uses this color for the set bit field ✨.
  • xosview*serialOffColor: color β€” The serial meter uses this color for the unset bit field.

⚑ Interrupt Meter Resources

  • xosview*interrupts: (True or False) β€” Set to True and xosview will display an interrupts meter.
  • xosview*intOnColor: color β€” The int meter uses this color for the active interrupts field.
  • xosview*intOffColor: color β€” The int meter uses this color for the inactive interrupts field.
  • xosview*intFormat: (auto, single, all or both) β€” This controls the number and type of int meters on SMP systems.
    • single β€” one meter which combines all cores.
    • all β€” separate meter for each core. No combined meter.
    • both β€” separate meters for each core plus a combined meter.
    • auto β€” a single meter on single core systems, else both.

🌑️ Thermal Zone Resources

Okay so Linux supports WAY TOO MANY ways to read temperature. This is yet another one. It was my hope to read the hot and critical thermal trip points out of /sys directly. But based on my tests β€” with a sample size of two β€” this is inconsistent. So this meter supports configurable values that are shared by all thermal zones 🧚.

  • xosview*tzone: (True or False) β€” If True, xosview will display a tzone meter. Enabling this creates a separate meter for each thermal zone found.
  • xosview*tzoneForeGround: color β€” The foreground color for temperatures below the hotTrip point.
  • xosview*tzoneBackground: color β€” The background color.
  • xosview*tzoneHotColor: color β€” The tzone meter uses this color to display the over hotTrip field πŸ”₯.
  • xosview*tzoneCritColor: color β€” The tzone meter uses this color to display the over critTrip field πŸ’€.
  • xosview*tzoneHotTrip: value β€” The temperature, in degrees C, to start displaying in the hot color.
  • xosview*tzoneCritTrip: value β€” The temperature, in degrees C, to start displaying in the crit color.
  • xosview*tzonePeak: value β€” The value to use as a max for the meters. Note that the used legends will still report the value read from /sys even if the graphical display hits this peak.

🌑️ Lm Sensors Temperature Resources

  • xosview*lmstemp: (True or False) β€” Set to True and xosview will display an lmstemp meter.
  • xosview*lmstempHighest: value β€” Highest temp value displayed, default 100.
  • xosview*lmstempActColor: color β€” The lmstemp meter uses this color to display the actual temperature field.
  • xosview*lmstempHighColor: color β€” The lmstemp meter uses this color to display the alarm temperature field.
  • xosview*lmstempIdleColor: color β€” The lmstemp meter uses this color to display the idle temperature field.
  • xosview*lmstempN: filename β€” Name of temperature file from /proc/sys/dev/sensors/*/*, N=1... Note: if more files with the same name exist, only the first is found. There is currently no possibility to configure equal named files on different busses β€” which would be rarely necessary, I hope. Eg.
xosview*lmstemp1:   temp xosview*lmstemp2:   remote_temp
  • xosview*lmstempLabelN: Labelstring β€” N-th label for above temperatures, default is TMP.

πŸ”₯ Coretemp Meter Resources

Intel Core / AMD K8+ / VIA C7 Temperature Sensor Resources.

  • xosview*coretemp: (True or False) β€” Set to True and xosview will display a coretemp meter.
  • xosview*coretempHighest: 100 β€” Highest temp value displayed, default 100. If CPU throttling temperature (tjMax) is supplied by the operating system, it is used instead.
  • xosview*coretempHigh: number β€” Value to use as alarm temperature, default is coretempHighest. If a usable value β€” such as the temperature for which maximum cooling is required β€” is supplied by the operating system, it is used instead.
  • xosview*coretempActColor: color β€” The coretemp meter uses this color to display the actual temperature field.
  • xosview*coretempHighColor: color β€” The coretemp meter uses this color to display the alarm temperature field.
  • xosview*coretempIdleColor: color β€” The coretemp meter uses this color to display the idle temperature field.
  • xosview*coretempDisplayType: (separate, average or maximum) β€” This resource tells xosview how to display the CPU temperature. The formats work like this:
    • separate β€” Display one meter for each CPU core of a multi-core CPU. This is the default.
    • average β€” Display the average of core temperatures of a multi-core CPU. On multi-socket machines, one meter per physical CPU is displayed.
    • maximum β€” Display the highest core temperature of a multi-core CPU. On multi-socket machines, one meter per physical CPU is displayed.

πŸ–₯️ BSD Sensor Resources

  • xosview*bsdsensor: (True or False) β€” Set to True and xosview will display a bsdsensor meter.
  • xosview*bsdsensorHighest: number β€” 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 bsdsensorHighestN.
  • xosview*bsdsensorActColor: color β€” The bsdsensor meter uses this color to display the actual value field.
  • xosview*bsdsensorHighColor: color β€” The bsdsensor meter uses this color to display the alarm value field.
  • xosview*bsdsensorLowColor: color β€” The bsdsensor meter uses this color to display the below low alarm value field.
  • xosview*bsdsensorIdleColor: color β€” The bsdsensor meter uses this color to display the idle values field.
  • xosview*bsdsensorN: name.type
  • xosview*bsdsensorHighN: name.type
  • xosview*bsdsensorLowN: name.type

These define where the actual value, high alarm value and low alarm value for meter N=1,2,3,... will be read from. The name is the sensor driver, and type is the wanted value. Both alarm values are optional, and can also be given as static numerical values.

You can find the correct pair for OpenBSD and DragonFly BSD with systat command, e.g.

xosview*bsdsensor1:     it0.temp1
xosview*bsdsensorHigh1: 100

On NetBSD, you can find the driver name with envstat command. Value name for the actual reading is typically cur-value and for high alarm critical-max and for low alarm critical-min, e.g.

xosview*bsdsensor2:     coretemp0.cur-value
xosview*bsdsensorHigh2: coretemp0.critical-max

For all possible NetBSD value names, refer to envstat source code.

FreeBSD has no usable sensor drivers as of version 9.0. However, ACPI thermal zones can be used by defining the sysctl node below hw.acpi.thermal, e.g.

xosview*bsdsensor1:     tz0.temperature
xosview*bsdsensorHigh1: tz0._CRT

ACPI thermal zones can be used like this on DragonFly BSD as well.

  • xosview*bsdsensorLabelN: string β€” N-th label for above meters, default is SENN.
  • xosview*bsdsensorHighestN: number β€” overrides the default bsdsensorHighest for meter N. πŸ’…

πŸŽ€ Battery Meter Resources πŸŽ€

  • xosview*battery: (True or False) β€” if True, xosview will display a battery meter. πŸ”‹
  • xosview*batteryLeftColor: color β€” the battery meter uses this color to display the available-capacity field.
  • xosview*batteryUsedColor: color β€” the battery meter uses this color to display the capacity-used field.
  • xosview*batteryChargeColor: color β€” the battery meter uses this color to display the time-left field.
  • xosview*batteryFullColor: color β€” the battery meter uses this color to display the full-charge field.
  • xosview*batteryLowColor: color β€” the battery meter uses this color to display the below-25% capacity field.
  • xosview*batteryCritColor: color β€” the battery meter uses this color to display the below-5% capacity field.
  • xosview*batteryNoneColor: color β€” the battery meter uses this color to display the no-battery field.

πŸ’Ύ Disk Meter Resources πŸ’Ύ

  • xosview*disk: (True or False) β€” if True, xosview will display a disk meter.
  • xosview*diskUsedColor: color β€” the disk meter uses this color to display the bytes-transferred (in or out) field.
  • xosview*diskIdleColor: color β€” the disk meter uses this color to display the idle field.
  • xosview*diskWriteColor: color β€” the disk meter uses this color to display the write field.
  • xosview*diskReadColor: color β€” the disk meter uses this color to display the read field.
  • xosview*diskBandwidth: bandwidth β€” this number specifies the expected maximum bandwidth in bytes per second for the disk meter.

πŸ“ File System Meter Resources πŸ“

  • xosview*filesys: (True or False) β€” if True, xosview will display a filesys meter.
  • xosview*filesysMounts: list β€” this value can be either auto or a space-separated list of mount points. If a mount point is not actually mounted, the meter will display the background using filesysNoneColor and keep monitoring that location. When a mount is made on that location, the meter will display normally. If that value is auto, meters will be created for every filesystem that has an absolute path as a source. For example, "/dev/sda1 -> /" would be monitored but "tmpfs -> /tmp" would not be. 🧚
  • xosview*filesysFGColor: color β€” the filesys meter uses this color to display the used-space field.
  • xosview*filesysBGColor: color β€” the filesys meter uses this color to display the free-space field.
  • xosview*filesysNoneColor: color β€” the filesys meter uses this color to display the bg-color-when-path-is-unmounted field.

πŸ›‘οΈ RAID Meter Resources πŸ›‘οΈ

The RAID meter monitors software raid devices provided by the linux kernel. These devices have names such as md0, md1, md127 and so on. Xosview uses stats provided by the md driver in the sysfs (mounted as /sys). See the md.txt file that is part of the linux kernel documentation for more details.

The raid meter displays information for each raid device using a row for each md device it is monitoring. Each row consists of two side-by-side meters. The first meter displays a multi-colored bit for each device that is part of the raid. The second meter shows the progress of any active sync action the raid may have underway. The legend for the raid meter shows information such as the raid level, current active device count, fully functional device count and current sync_action.

The number of devices that are part of each md device is updated as xosview watches the raid’s status. So the number of bits will change as drives are added and removed from the md device. The color of each bit reflects the state of each device (found in the sysfs). Since a md device can have multiple states (for example in_sync + write_error), xosview attempts to show the configured color of the most relevant state.

When a sync action is active on the md device, the field meter on the right side of the bit meter shows the progress. It is a percentage of the total operation and the colors are configurable.

The raid meter is configured using the following resources:

  • xosview*RAID: (True or False) β€” if True, xosview will display a RAID meter.
  • xosview*RAIDdevices: auto OR list β€” if this resource is set to auto, xosview will search for and display a meter for every md device it finds. Otherwise this value is a comma-delimited list of md device names (such as md127, md125).
  • xosview*RAIDfullColor β€” the color used to indicate a fully functional raid device (number of in_sync devices >= fully functional count).
  • xosview*RAIDdegradedColor β€” the color used to indicate a degraded array (number of in_sync devices < fully functional count).

The following colors are used for the various sync actions. They are used by the legend and field meter when a sync action is underway. 🌈

  • xosview*RAIDidleColor β€” the sync-action color for idle.
  • xosview*RAIDcheckColor β€” the sync-action color for check.
  • xosview*RAIDresyncColor β€” the sync-action color for resync.
  • xosview*RAIDrecoverColor β€” the sync-action color for recover.
  • xosview*RAIDrepairColor β€” the sync-action color for repair.

The colors below are used for the multi-color bit meter display. Each color indicates a device state flag. If a device has more than one flag set, then xosview chooses the most relevant color. πŸ‘‘

  • xosview*RAIDin_syncColor β€” the bit color for in_sync.
  • xosview*RAIDwritemostlyColor β€” the bit color for writemostly.
  • xosview*RAIDreplacementColor β€” the bit color for replacement.
  • xosview*RAIDspareColor β€” the bit color for spare.
  • xosview*RAIDwrite_errorColor β€” the bit color for write_error.
  • xosview*RAIDwant_replaceColor β€” the bit color for want_replace.
  • xosview*RAIDblockedColor β€” the bit color for blocked.
  • xosview*RAIDfaultyColor β€” the bit color for faulty.

🌈 OBTAINING 🌈

The most current version of xosview can be found at the following site:

http://sourceforge.net/projects/xosview/

The project’s source tree is also available there. ✨

πŸ› BUGS πŸ›

Here is a list of known bugs. Reports of unknown bugs are appreciated and should be directed to:

https://sourceforge.net/p/xosview/_list/tickets

Bug tracking system. πŸ’€

πŸ‘‘ AUTHORS πŸ‘‘

Look at this absolute hall of fame, bestie 🫢:

  • Mike Romberg β€” mike-romberg@comcast.net β€” original author, Linux, HPUX, minix and cygwin ports.
  • Brian Grayson β€” bgrayson@netbsd.org β€” NetBSD port and most of the nice enhancements for version 1.4, initial work on FreeBSD port.
  • Scott McNab β€” jedi@tartarus.uwa.edu.au β€” added the scrolling graph mode.
  • Tom Pavel β€” pavel@slac.stanford.edu β€” most of the FreeBSD support, more resource-handling improvements.
  • Greg Onufer β€” exodus@cheers.bungi.com β€” SunOS port.
  • Stefan Eilemann β€” eilemann@gmail.com β€” IRIX 6.5 port.
  • Sheldon Hearn β€” axl@iafrica.com β€” FreeBSD libdevstat-based diskmeter support.
  • David W. Talmage β€” talmage@jefferson.cmf.nrl.navy.mil β€” added battery-meter support to NetBSD.
  • Oleg Safiullin β€” form@openbsd.org β€” OpenBSD interrupt-meter support.
  • Werner Fink β€” werner@suse.de β€” originator of the loadmeter.
  • Massimiliano Ghilardi β€” ghilardi@cibs.sns.it β€” Linux pagemeter.
  • Carsten Schabacker β€” cschaba@spock.central.de β€” made extensions to the serial-meter.
  • Paal Beyer β€” pbeyer@online.no β€” ported the linux memstat kernel module to linux-2.1
  • Jerome Forissier β€” forissier@isia.cma.fr β€” maintains the linux SMP kernel patch which xosview uses to display meters for each cpu. This patch can be found at the following URL: http://www-isia.cma.fr/~forissie/smp_kernel_patch/
  • Tomer Klainer β€” mandor@cs.huji.ac.il β€” initial port to BSDI.
  • Arno Augustin β€” Arno.Augustin@3SOFT.de β€” Solaris disk and network meters.
  • Alberto BARSELLA β€” ishark@lsh01.univ-lille1.fr β€” fixes for linux diskmeter + ip_chains support
  • Thomas Waldmann β€” ThomasWaldmann@gmx.de β€” Linux raid meter, bitfieldmeter. Many cosmetic fixes.
  • Leopold Toetsch β€” lt@toetsch.at β€” Linux lms temp meter.
  • David O'Brien β€” obrien@nuxi.com β€” FreeBSD 4.* updates, and a few other suggestions.
  • Christos Zoulas β€” christos@netbsd.org β€” C++ standard compliance and other NetBSD fixes.
  • And many others who have sent in small fixes and improvements. πŸ’–

okay that’s the whole resource-and-credits saga, bestie πŸŽ€βœ¨ original footer vibe: 3rd Berkeley Distribution + XOSVIEW(2.3.5), with the date line right where it belongs at the bottom. periodt πŸ’…

πŸ“¦ where this page comes from