SETIView/2 Version 0.7.3


SETIView/2 is a SETI@home process monitor for OS/2.


Contents


Description

SETIView/2 is a SETI@Home process monitor for OS/2. I created this because on my home network I have three machines running SETI@Home. One of them uses a SVCache to manage SETI@Home work units. This normally has four work units but can have ten, so there are quite a few different directories to look at to see the status of each SETI@Home process. The existing OS/2 monitors (Ellie and SysBar/2), can only do one process at a time. Under Windows, I use SETIWatch. This displays details of as many processes as you want. It also displays details of work units logged with SETILog (from the same author).

So, out of a desire to see what was happening with my SETI@Home processes and wanting to practice my C++ skills, SETIView/2 was born. Hopefully, someone other than me will find it useful.

Features

The features of SETIView/2 include:


Installation

There's no special installation routine. Just put the executable wherever you want and run it. An INI file will be created in the current directory.

You should have the following files:


Usage

In general, you just:

  1. Start SETIView/2
  2. Add the processes you want by right-clicking in the window and selecting the "Add" option.
  3. Size the window.

SETIView/2 will create a INI file called "SETIVIEW.INI" in the directory that it is run. Alternatively, the name of an INI file can be supplied as a parameter when starting SETIView/2.

The details of the menu and dialog options are below.

Main Menu

The options on the main menu are:

Add
Add a new process. Opens the file selection dialog to select the directory containing the SAH files.
Details
Display details of the select process
User
Display user details of the select process
Remove
Remove the select process
Default Process
Sets the selected process as the one to be selected when SETIView/2 starts. It will be checked if the selected process is the default process
View
Open the View Menu
Settings
Open the Settings Dialog
About
The usual details
Exit
Exit SETIView/2

View Menu

The View menu is used to change the basic style of the SETIView/2 window. The options are:

Icon
Display processes as an icon view. This shows the icon and the process directory name.
Details
Display full details of the process.
Compact
Display minimal details of the process.
Custom
Show the details view with custom column list. The columns are customised with SVSetCustom.cmd.
Titles
Toggle display of column titles.
Window List
Toggle whether SETIView/2 will be shown in the window list. If it isn't it will also be excluded from other task list such as XCenter (from XWorkplace).
Arrange
Arrange icons in the Icon view.
Sort
Open the Sort submenu
Refresh
Refresh details now.

Sort Menu

The Sort menu us used to change the sort sequence of the SETI@Home process listed. The options are:

Directory
SETI Directory
Progress
Current progress in descending order
CPU Used
CPU Used in descending order
Remaining CPU
Remaining CPU in ascending order
Expected CPU
Expected CPU in ascending order
Hourly Rate
Current hourly rate in descending order
User Name
User name

Settings Dialog

The Settings Dialog has the following options:

Refresh Rate
This is the number of seconds between refreshes. Setting to zero will stop automatic refreshing.
Column Width Fudge
This is the number fo pixels to add to each column. This will help to prevent data being truncated with some font and resolution combinations. Any integer between -99 and 999 can be used.
Cache Details
Check this if you are using SVCache. The host name and operating system processing the work unit will be displayed.
Single thread for refresh
When the view is refreshed, SETIView/2 normally starts a thread for each directory being monitored. Checking this will restrict SETIView/2 to only using one thread when a refresh is done. The result will be that a refresh takes a little longer, but less CPU will be used while it is done.

Displayed Data

The following table defines the the columns that are displayed.
Column Title Description Comments
SETI DirectoryThe directory being monitored
StateIcon indicating the state work unit
ProgressPercentage completed for the work unit
RateAverage percent per hour for this work unit
CPU UsedAmount of CPU time so far used to process the work unit
CPU LeftEstimated amount of CPU time needed to complete the work unit
Current RateProcessing rate during the last refresh periodWhen SETIView/2 is first started, this and the other current values will be the same as the equivalent full values.
Current CPUAmount of CPU used during the last refresh period
Current LeftEstimated amount of CPU time needed to complete the work unit based on the Current Rate
ExpectedEstimated total amount of CPU time needed for this work unit
Last WriteDate and time the STATE.SAH or RESULT.SAH files where last written to
UserSETI@Home user name running the process.
Work Unit NameName of SETI@Home work unit
Hosthostname for machine running the processRead from SVCache.HOST
OSOperating system running the processRead from SVCache.HOST

All columns are displayed in the details view. The compact view only displays:

"Host" and "OS" are only displayed if Cache Details is checked on the Settings Dialog. They show details for directories that are being managed by SVCache.

User and Process Details

The User and Process details views display information about the SETI@Home process. This is the information that is displayed in the main window, plus other details the SAH files. They are each sizable, and the size is stored.

Most of the information displayed comes from the SAH files. This information is displayed exactly as it is stored in the files. The "Register Time" and "Last Work Unit Time" are examples of this.

Custom View

The Custom view is a details view of the processes that only displays selected columns. Any column can be displayed, but, the order of them can't be changed.

Currently, the columns are selected via a REXX program called SVSetCustom.cmd. There are instructions in the program, but, this is what you do:

  1. Edit SVSetCustom.CMD with your favorite text editor. The OS/2 System Editor or Enhanced Editor can be used.
  2. Find the line: /******** Start of columns */. From there, until the line /******** End of columns */ are the list of columns.
  3. Decide which columns you want to display.
  4. Find the line: /******** Put the desired colunms here. ********/. Remove lines for columns that you don't want to display.
  5. Now, copy the lines for the columns you want to display her. Do not change the lines in any way..
  6. Save the changes you have made.
  7. Stop SETIView/2. Run SVSetCustom.cmd with the name of the INI file you use. If you don't specify the INI file, SETIVIEW.INI in the current directory will be used.
  8. Start SETView/2 and select the custom view.

Note: This is only temporary. I intend to add a way to customise the columns within, SETIView/2, but, that might take some time.

Hints

Some suggestions to make SETIView/2 work better:


Other Stuff

Future Enhancements

In no particular order:

If there's something you want, tell me.

Known Problems

Unfortunately, there are some problems that I haven't been able to fix yet:

Version History

Bug Reporting

If you find any bugs, please tell me at the contact address below. Tell me:

Links

Here are some links that you might find useful:

Copyright

Copyright (c) 2001 David Forrester. All rights reserved.

WARNING!

This software is provided as is. No warranty is given by the author, expressed or implied. Use this software at your own risk. The author assumes no responsibility for any damage from the use of this software.

This software is freeware which means that it is free for use and distribution.

Contacts

If you find any bugs, have any suggestions or simply want to say how wonderful or terrible SETIView/2 is, drop me an e-mail

Author: David Forrester
e-mail: davidfor@terrigal.net.au
www: OS2World web site