listtemp

Package: WA2L/edrc 1.5.57
Section: Library Commands (3)
Updated: 15 November 2008
Index Return to Main Contents

 

NAME

listtemp - list state of temporary directories in a directory

 

SYNOPSIS

edrc/lib/listtemp [ -h ]

listtemp -d directory

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

list the state of all temporary directories, that are created in a certain directory.

The output is a list that provides the following information:

IS_ACTIVE

True = the process that created the directory is still running;

False = the process that created the directory is not running any more.

If an entry is marked as False the process that created the temporary directory is no longer running and the temporary directory can be removed without side effects.

DIRECTORY
the temporary directory.

CREATED
date and time when the temporary directory was created.

COMMAND
command name that created the directory.

PID
process id of the process that created the directory.

USER
name of the user that created the temporary directory.

PROCESS
process name of the process that created the directory.

 

OPTIONS

-h
usage message.

-d directory
directory where to start to search for temporary directories.

 

ENVIRONMENT

-

 

EXIT STATUS

0
no error.

3
directory specified in the -d option does not exist.

4
usage message listed.

 

FILES

.maketemp.flagfile
flagfile located in the temporary directory containing the state information about the command that created the temporary directory. This file is created by maketemp(3) and is also read by removetemp(3) when removing the temporary directory.

 

EXAMPLES

-

 

SEE ALSO

edrcintro(1), maketemp(3), purgetemp(3), removetemp(3)

 

NOTES

-

 

BUGS

-

 

AUTHOR

listtemp was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2008 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:53:27 GMT, August 28, 2024