[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Utility needed



Well, first of all when you say "state" of the file this is a very vague term.
Second of all this is a debian Linux list, not a Solaris list. Did you know
you can run Debian Linux on sparc? Anyway, the closest you'll probably get is
to user 'fuser' to find out if any process has the file open.

Admin Bob Panther wrote:

> Have need of a utility for Solaris 2.x.
> Situation is as follows.
>
> Sun is fileserver for many Mac users.  The users app will produce both
> large .txt and printable .ps files.
> The ps files may exceed 300mb.  The need is to put files on Sun, mv the
> txt files to another
> directory, and print the ps files. After print, remove the ps files.
> The key is in determining when
> the file transfer TO the Sun server is complete so the above actions can
> take place.  Do not want
> to mv or print files that are in a state of growing.  Because by nature
> Mac network protocols are slow,
> and these files are large, and there could be many users active at one
> time, can not use a
> time mechanism to list files, wait x minutes etc, then perform the
> operations.  Need utility that
> knows the actual state of the file.  When properly closed and not being
> accessed, script continues and performs the above move and print
> commands.
> Know of any such utility to monitor the file state before action is
> taken
> on the files in question?
>
> Regards
>
> Bob Panther
>
>   ------------------------------------------------------------------------
>
>   Robert Panther <bob@autoimage.com>
>   Systems Engineer
>   Automation Image Inc.
>
>   Robert Panther
>   Systems Engineer       <bob@autoimage.com>
>   Automation Image Inc.
>   2650 Valley View Ln.   Work: 972-247-8816 x101
>   Dallas                 Fax: 972-243-2814
>   Tx                     Netscape Conference Address
>   75234                  Netscape Conference DLS Server
>   USA
>   Additional Information:
>   Last Name     Panther
>   First Name    Robert
>   Version       2.1



--
Jens B. Jorgensen
jjorgens@bdsinc.com



--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: