HP3000-L Archives

March 1997, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Date:
Thu, 27 Mar 1997 09:18:05 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
Jon Diercks writes:
> Does there exist a simple program to monitor a specific process number and
> file name, and based on the rec-ptr of the process serially reading the
> file, provide a status display of percent done?

I wrote such a program here that uses AIF calls to dig into the output spoolers
to examine the rec-ptr of the open spoolfile to determine percent done.  Our
operators can't live without it.

It's 918 lines of Pascal code.  Much of that is devoted to tracking down the
spooler processes, than walking through their list of open files, looking for
something that looks like a spoolfile.

If interest warrants, I could make the source available on my ftp/web site.
--
Mark Bixby                      E-mail: [log in to unmask]
Coast Community College Dist.   Web: http://www.cccd.edu/~markb/
District Information Services   1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support               +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)

ATOM RSS1 RSS2