Menu

Tree [149643] master /
 History

HTTPS access


File Date Author Commit
 attic 2015-10-26 Mike Romberg Mike Romberg [aeefa6] re-organize
 bsd 2021-04-29 Mike Romberg Mike Romberg [57adc5] fix openbsd cpu meter.
 cmeter 2021-04-27 Mike Romberg Mike Romberg [a7816f] cleanup.
 config 2021-05-30 Mike Romberg Mike Romberg [3a557a] bump version to 2.3.2.
 cygwin 2018-04-04 romberg romberg [a8cc04] refactor
 default 2018-01-27 Mike Romberg Mike Romberg [19f9ee] unique_ptr
 doc 2016-08-15 Mike Romberg Mike Romberg [82ac64] update
 gnu 2018-03-02 romberg romberg [484493] cleanup
 linux 2018-12-07 Mike Romberg Mike Romberg [51cce6] fix formatting of hours on estimated runtime.
 minix 2018-03-03 Mike Romberg Mike Romberg [c8c06b] cleanup
 sunos5 2018-02-28 Mike Romberg Mike Romberg [d40b9d] cleanup
 themes 2015-08-08 Mike Romberg Mike Romberg [97a477] force add a Makefile
 .gitignore 2015-08-07 Mike Romberg Mike Romberg [783749] default platform (with example meter) for unpor...
 CHANGES 2022-07-08 Mike Romberg Mike Romberg [149643] update
 COPYING 1997-02-14 bgrayson bgrayson [c579ae] Initial checkin
 COPYING.BSD 1997-02-14 bgrayson bgrayson [0f2bc2] Initial checkin
 COPYING.GPL 1996-08-05 romberg romberg [c21091] Initial revision
 README 2018-04-12 Mike Romberg Mike Romberg [ddb885] cleanup
 TODO 2018-04-13 Mike Romberg Mike Romberg [5b29bd] update
 Xdefaults.in 2018-01-20 Mike Romberg Mike Romberg [44be58] update default window size calculations and font.
 Xdefaults.stipple 2008-02-28 romberg romberg [3d4ea0] Apply Samuel Thibault's patch which adds suppor...
 Xrm.cc 2022-05-25 Mike Romberg Mike Romberg [270c17] use std::optional
 Xrm.h 2022-05-25 Mike Romberg Mike Romberg [270c17] use std::optional
 autogen.sh 2015-06-27 Mike Romberg Mike Romberg [51eb75] start configure refactor/cleanup
 clopt.cc 2022-05-25 Mike Romberg Mike Romberg [057ea4] put back eraseFrom() to fix --with-xsm
 clopt.h 2022-05-25 Mike Romberg Mike Romberg [057ea4] put back eraseFrom() to fix --with-xsm
 configxosv.h 2018-01-18 Mike Romberg Mike Romberg [389071] cleanup
 defresources.awk 2015-07-02 Mike Romberg Mike Romberg [6d30d1] Support comments in resource values.
 drawbits.h 2018-02-11 Mike Romberg Mike Romberg [0b5a1a] cleanup
 example.h 2018-02-15 Mike Romberg Mike Romberg [7ad40d] cleanup
 font.h 2018-02-16 Mike Romberg Mike Romberg [9daedb] cleanup
 fsutil.cc 2018-02-20 Mike Romberg Mike Romberg [1bde2c] check closedir() status
 fsutil.h 2018-02-20 Mike Romberg Mike Romberg [7d3f50] cleanup
 glob.cc 2018-02-24 Mike Romberg Mike Romberg [d76199] suppress unused debug functions for *both* gcc ...
 glob.h 2018-02-18 Mike Romberg Mike Romberg [c0837a] refactor
 label.cc 2022-07-08 Mike Romberg Mike Romberg [808474] take one pixel out of the label clear height.
 label.h 2018-02-08 Mike Romberg Mike Romberg [98027e] cleanup
 log.cc 2018-04-11 romberg romberg [025401] log call to terminate with no current exception.
 log.h 2018-04-11 romberg romberg [6988da] cleanup
 main.cc 2018-04-12 Mike Romberg Mike Romberg [ddb885] cleanup
 ptrutil.h 2018-03-20 Mike Romberg Mike Romberg [420768] refactor
 rdb.cc 2022-05-25 Mike Romberg Mike Romberg [270c17] use std::optional
 rdb.h 2022-05-25 Mike Romberg Mike Romberg [270c17] use std::optional
 scache.cc 2016-08-22 Mike Romberg Mike Romberg [b30025] cache for stats used by multiple meters.
 scache.h 2018-04-22 Mike Romberg Mike Romberg [b2fc51] std::move
 strutil.cc 2018-03-20 Mike Romberg Mike Romberg [420768] refactor
 strutil.h 2018-03-20 Mike Romberg Mike Romberg [420768] refactor
 template.h 2018-01-26 Mike Romberg Mike Romberg [019d51] util::stoi/stof -> std::stoi/stof
 timer.cc 2018-02-09 Mike Romberg Mike Romberg [b0ff00] use std::chrono
 timer.h 2018-02-09 Mike Romberg Mike Romberg [b0ff00] use std::chrono
 x11font.cc 2018-02-15 Mike Romberg Mike Romberg [7ad40d] cleanup
 x11font.h 2018-02-15 Mike Romberg Mike Romberg [7ad40d] cleanup
 x11graphics.cc 2018-04-22 Mike Romberg Mike Romberg [2eb897] inline
 x11graphics.h 2018-04-22 Mike Romberg Mike Romberg [2eb897] inline
 x11pixmap.cc 2018-12-07 Mike Romberg Mike Romberg [fb230e] fix dain brammaged edit
 x11pixmap.h 2018-01-24 Mike Romberg Mike Romberg [cfcdd3] unique_ptr
 xftfont.cc 2018-02-09 Mike Romberg Mike Romberg [fe6004] cleanup
 xftfont.h 2018-02-09 Mike Romberg Mike Romberg [fe6004] cleanup
 xftgraphics.cc 2018-02-15 Mike Romberg Mike Romberg [7ad40d] cleanup
 xftgraphics.h 2018-02-15 Mike Romberg Mike Romberg [7ad40d] cleanup
 xosview.1.in 2016-08-19 Mike Romberg Mike Romberg [27696f] update.
 xosview.cc 2021-10-11 Mike Romberg Mike Romberg [1ef97e] use initializer_list add().
 xosview.h 2018-03-18 Mike Romberg Mike Romberg [0ef14d] refactor
 xsc.cc 2018-02-08 Mike Romberg Mike Romberg [9512eb] cleanup
 xsc.h 2018-02-08 Mike Romberg Mike Romberg [9512eb] cleanup
 xwin.cc 2018-03-20 Mike Romberg Mike Romberg [420768] refactor
 xwin.h 2018-03-20 Mike Romberg Mike Romberg [420768] refactor

Read Me

                          XOSVIEW

    xosview is a program that gathers information from your
    operating system and displays it in graphical form.
    It attempts to show you in a quick glance an overview of how
    your system resources are being utilized.

    It can be configured to be nothing more than a small strip
    showing a couple of parameters on a desktop task bar.  Or it
    can display dozens of meters and rolling graphical charts over
    your entire screen.

    Since xosview renders all graphics with core X11 drawing
    methods, you can run it on one machine and display it on
    another.  This works even if your other host is an operating
    system not running an X server inside a virtual machine running
    on a physically different host.  If you can connect to it on
    a network, then you can popup an xosview instance and monitor
    what is going on.

* Current known working platforms:
   
  - Linux (tested on fedora-27 but almost anything should work)

  - Gnu Hurd (debian 2018-01-12)

  - Solaris (tested on OpenIndiana hipster 2018-01-12)

  - NetBSD  (7.1.1)

  - FreeBSD (11.1)

  - OpenBSD (6.2)

  - Dragonfly BSD (5.0.2)

  - cygwin (displayed stats are for windows)

  - minix (3.4.0rc6 dev snapshot)

* To build xosview:

    In general, you should be able to build xosview by following these
    steps:

    ./configure
    make
    make install    

    There are a few optional features you may be interested in.  So,
    you may want to checkout 'configure --help' as it will show you
    options you can change such as the install prefix.  These switches
    may be used to help locate optional (or required) libraries
    if the configure script is unable to do so by itself.

    A C++ compiler which supports c++14 or better is required to build xosview.
    The configure script will attempt to test the compiler for this support and
    set any flags that may be needed.  If the configure script does not locate
    the correct compiler, you may specify another one with
    'configure CXX=path_to_your_compiler'.

    The configure script will attempt to look for the xpm library to load
    background images with.  It will also look for the Xft library for freetype2
    font support.  If configure fails to find any of these libraries and you
    wish to have the xosview features they depend on you may need to use your
    systems package manager to install "dev" packages for these libraries.  If
    they are installed in locations configure can not find an option to the
    configure script may help locate them (see configure --help).
    
    Please see the README file for the platform you are building on for
    further details.

    Edit Makefile.config for your setup, if you wish to change
    anything from the default settings, such as the optimization
    flags.  This of course, should be done before one runs make.
    This step should rarely be needed.

    Run make to build xosview.  The makefiles use features that are supported
    by GNU make and BSD make.  If your make reports errors with the Makefiles
    (probably solaris make) then you will need to install and use gnu make to
    do the build.


* To install xosview

  - short version: 'make install'

  - slightly longer version:

    The xosview configure script and makefile support Gnu conventions
    (https://www.gnu.org/prep/standards/html_node/Directory-Variables.html).
    So, controlling exactly where the 'make install' will put things can be
    done by using any one of those methods.
    
    By default configure will use a prefix of /usr/local  you may want
    to change this by adding a --prefix argument when you run the script.
    One can run 'make -n install' to get a quick preview of what files
    will be installed and where.  There are not many of them.

    Note: xosview will hard code a path to an app-defaults directory into
    the binary *at compile time*.  This location is based on the prefix
    *at comiple time*.  If you are later going to change this prefix (by
    say changing it when you run make install) then you can set the compiled
    in location with the configure option --with-app-defaults=DIR


* To run xosview :

    The binary should start up and run without any fuss after being
    built.  If you give it a -h or --help command line option it
    will show a brief list of all the command line options.  For
    more information (see the man page)

    The xosview binary contains a complete set of default options.  It
    should run right out of the box from anywhere.  But, it does
    search for other options in standard locations.  See the man page
    for full details.  Note: you can read the man page without installing
    it by running 'zcat xosview.1 | groff -lascii -mandoc - | less -R' or
    'man ./xosview.1'.

    Please see the README file for your platform for any special 
    instructions for running xosview on that platform.


* To configure xosview

  Out of the box xosview will start up using it's default configuration
  of meter colors, fonts and values.   It will also look for X resource
  values to override these defaults in the normal X locations.  There are
  at least ten of these places and xosview checks them all (see the man
  page).

  The default configuration may not be to your taste.  So, you can change
  one or more of the hundreds of options by setting an X resource
  (see the man page).  The easiest way to do this is to add a file to
  your home directory called .Xdefaults (see the man page).  It should
  be noted that xosview will read this file (if it exsists) even if
  your desktop environment failed to do so.  So, it will always work.

  There are some alternative Xdefault "themes" you can try out as examples
  by loading them with the -c option (see the man page).  If you come up
  with a nice set of options you would like to share with others please
  contact the developers on the sourceforge website.

  Stipple support:
    Also, NetBSD-mac68k people (and others) that have monochrome systems
      may want to try out the stipple code -- set the enableStipple
      resource to true, and choose black and white for the various
      fields.  The fields are automatically stippled 100%, 75%, 50%, and
      25% in a fixed fashion (future versions may allow the user to
      specify the stipple percentage).

* To work with the source code as developer:

  See the file README.devel which contains details about git, autoconf
  gcc, makefiles and internal workings of the code.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.