home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR21
/
SFTM142.ZIP
/
SFTM.DOC
< prev
next >
Wrap
Text File
|
1993-08-04
|
9KB
|
226 lines
SFTM 1.42
---------
Copyright (c) 1992-1993 by Craig R. Clark
DESCRIPTION
System File Table Monitor is a full screen, interactive monitor written
in Turbo Pascal 6.0 that displays a list of filenames currently open,
along with a summary of the access mode used to open the file, and the
current sharing mode.
Displayed on the upper status bar are the number of file tables found in
DOS, the total number of handles allocated via FILES= statements, the
maximum number of handles used at one time, and the number of files
currently open.
A clock is displayed on the lower status bar, as well as the program
title and version number. If run on a machine with the Lantastic REDIR
loaded, the machine name also appears on this status bar.
COMPATIBILITY
SFTM has been tested under Desqview 2.42, Windows 3.1, Lantastic 5.0,
and DOS 6.0 on 286, 386 and 486 processors. It displays the additional
file tables created by Quarterdeck's FILES.COM utility included with
QEMM.
It can be run in a 64K Desqview window, yet still monitor all files
opened by every other application running under Desqview. Functionality
under Windows 3.1 is similar.
OPERATION
To run SFTM.EXE, type 'SFTM' at the DOS prompt or create a suitable DV
or Windows PIF for it. It will detect the current video mode, and
adjust for monochrome or colour adapters. It will also determine the
maximum number of displayable lines, and run in that mode, whether it is
25, 28, 43, 50 lines or higher.
There are three optional command line parameters, in addition to the
ubiquitous '/?'. They are:
/D delay time (ms) between successive scans of the system
file table; default is 10, range is 0 to 1000
/P path drive and directory for SFTM.DAT,
default is current drive and directory
/S suppress creation and update of SFTM.DAT
/U unattended operation, no prompts
None of the parameters are mandatory; by default SFTM will delay 10
milliseconds between successive scans of the file table, and will create
a data file in the current directory. See the enclosed SFT.BAT for a
typical usage.
The delay parameter was introduced to avoid slowing down a heavily
loaded machine. It is particularly useful on a Lantastic server that
has multiple printers attached. With the default setting of 10, some
slowdown of despooling may be noticed. Setting the delay to a higher
number will avoid any slowdown.
With a large delay factor, some files may be missed if they are briefly
opened and closed again. With a delay factor of '0' (zero), some
slowdown may be noticed if running SFTM under Desqview or Windows.
The path parameter was added at the request of a registered user. The
default path for the SFTM.DAT file is the current directory. This data
file contains a number corresponding to the maximum file handles in use
at one time. Previously the maximum would be lost when exiting SFTM;
now it is recorded to a file.
If you don't want the data file in your current directory, just include
a complete path (drive/directory) to where you would like it. SFTM will
ensure the path exists first, and then check it for the existence of a
previous data file. If one exists, the 'MAXIMUM USED' total on the
screen is updated to that number. Upon exit, the new total is written
back to this file.
The 'suppress' parameter makes SFTM ignore the data file entirely. No
file will be looked for, and no file will be created. This is how the
earlier versions of SFTM worked. If you use this parameter, SFTM will
always start your cumulative totals from zero, and the totals will be
lost when exiting SFTM.
The 'unattended' parameter is useful if you always run SFTM from a batch
file, and want it to start up even if the SFTM.DAT data file has been
corrupted. SFTM checks the data in SFTM.DAT when it starts (providing
you are not using the /S parameter), and if valid uses it to display the
previous 'Maximum Used' handles. If invalid it displays a warning
message and pauses. The /U parameter eliminates this pause.
When using a normal 25 line screen, up to 88 files can be simultaneously
displayed, along with their access modes. On a 50 line screen, up to
188 files can be simultaneously displayed.
This utility can be invaluable in determining the access modes used by
other software as an aid in troubleshooting system problems or for
program debugging. It will also be obvious if FILE HANDLES are set
dangerously low, or excessively high.
Run on a Lantastic server, it is a useful alternative to ALONE. All
files open through DOS can be seen at a glance, and if left running for
an extended period, the statistic collected on maximum files opened is
useful in determining the optimum number of file handles to allocate
without wasting resources.
The abbreviations used are as follows:
Access Modes:
RO - Read Only
RW - Read/Write
WO - Write Only
Sharing Modes:
CMP - Compatibility Mode
EXC - Exclusive or Deny Read/Write
DWR - Deny Write
DRD - Deny Read
DNO - Deny None
COPYRIGHT
This is shareware software, not free software. You are allowed to use
it without obligation for a 10-day evaluation period. For use beyond
that time please register this software.
Registration will allow me to continue development of this utility. This
software is not crippled in any way, as I do not believe you can fully
evaluate the usefulness of crippled software.
Permission is given to shareware and CD-ROM compilers, online services
and Bulletin Board operators to distribute or carry this archive. The
files SFTM.EXE and SFTM.DOC must not be altered in any way.
FUTURE DEVELOPMENT
A TSR version.
Remote monitoring.
Enhancements to allow for the display of more files than can fit on the
screen at one time (multiple pages of files).
Optional display of the complete drive/path.
Name(s) of owner program(s).
Suggestions?
SUPPORT
Bug reports are welcome, and verified bugs will be corrected in the next
release.
Support BBS:
Christian Deliverance BBS - two lines, 24 hours a day
1-809-292-7376 USR HST 14.4K 1-809-292-1774 Intel V.32bis
Network Addresses:
Fidonet 1:18/20 (no crash mail)
I am also a regular caller to the Artifacts BBS, 1-602-293-0068. I am
not affiliated with Artisoft in any way, and Artisoft is in no way
responsible for support of this product. I give their number for use
only if you cannot reach me any other way. The most timely support will
always be through my support BBS numbers listed above.
DISCLAIMER
While I have made every effort to ensure that this software works as it
is intended to and I have tested it under a variety of operating
conditions, I cannot be held responsible in the unlikely event of damage
to your system by this product.
REGISTRATION
Cost $15 US, $19 Canadian funds.
If you would like the latest version mailed to you on a diskette, please
enclose an additional $5 US ($7 Canadian), specifying size and density.
All remittance should be in US or Canadian funds - personal cheques and
money orders are acceptable. Please make payable to 'Craig R. Clark'.
All funds and any other correspondence should be mailed to:
Craig R. Clark
P.O. Box DV 3
Devonshire, DV BX
BERMUDA.
REVISION HISTORY
----------------
August 3rd, 1993 - Version 1.42
New command line switch added by user request for unattended operation.
(thanks for the idea to Lou R.) Recoded portion of display logic to
avoid 'pulsing' screen under some conditions.
May 30th, 1993 - Version 1.4
General release version; e-mail address changed.
May 8th, 1993 - Version 1.39
New features; added command line switches. Cumulative total for maximum
handles used written to file. User settable delay factor for
performance issues. Docs updated.
March 21st, 1993 - Version 1.32
Minor bug fix. Swapped positions of top status line and bottom status
bar. Changed wording of top status line. Cosmetic changes.
January 27th, 1993 - Version 1.30
Initial public release after extensive beta testing.
** End.