EnglishFrenchSpanish

OnWorks favicon

psiclean - Online in the Cloud

Run psiclean in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command psiclean that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


psiclean - delete files in the PSI temporary directories

DESCRIPTION


The psiclean command finds a job name by scanning the input file for a keyword assignment
of the form

DEFAULT:FILES:DEFAULT:NAME = string

It then goes through all of the machine's temporary directories and deletes all files of
the form string.*. In previous versions of psiclean , temporary directories were assumed
to be of the form

/tmp[0-9]/$user

In this version of psiclean , we get the names of the temporary directories from the user
input file by looking for volume paths of the form

DEFAULT:FILES:DEFAULT:VOLUMEi = string

It is essential that users see to the removal of their scratch files as soon as their job
completes, because temporary directories are usually a shared resource and there is not
necessarily an automatic way for files to be deleted from these areas. Thus, the last
command run after a job has finished should be the psiclean command.

The user must take care to follow certain conventions when choosing filenames. Any files
which are to be kept after a job completes should not be kept in the default temporary
directories. The FILES input must be used to specify other locations for the specific
files which are to be kept. psiclean will ignore files which are specifically listed by
number (e.g., PSIF_CHKPT ) in the FILES section. Files which are not needed after the run
should use the default path given in the input file. Otherwise, these files will remain
on the system and will impede other jobs.

EXAMPLE


Suppose the PSI temporary directories contained the following subdirectories and files:

/tmp1/cpuhog:
-rw-r--r-- 1 cpuhog 14492 Jun 11 16:48 dicubane.30
-rw-r--r-- 1 cpuhog 187320 Jun 8 17:20 diketene.34
-rw-r--r-- 1 cpuhog 16384 Jun 7 19:17 o4big.30
-rw-r--r-- 1 cpuhog 16384 Jun 7 19:17 o4.30
-rw-r--r-- 1 cpuhog 974848 Jun 7 18:41 o4.34

/tmp2/cpuhog:
-rw-r--r-- 1 cpuhog 14492 Jun 11 16:48 dicubane.30
-rw-r--r-- 1 cpuhog 187320 Jun 8 17:20 diketene.34
-rw-r--r-- 1 cpuhog 10904 Jun 7 18:50 o4big.30
-rw-r--r-- 1 cpuhog 10904 Jun 7 18:50 o4.30
-rw-r--r-- 1 cpuhog 973752 Jun 7 18:41 o4.34

/tmp3/cpuhog:
-rw-r--r-- 1 cpuhog 14492 Jun 11 16:48 dicubane.30
-rw-r--r-- 1 cpuhog 187320 Jun 8 17:20 diketene.34
-rw-r--r-- 1 cpuhog 8192 Jun 7 19:17 o4big.30
-rw-r--r-- 1 cpuhog 8192 Jun 7 19:17 o4.30
-rw-r--r-- 1 cpuhog 966656 Jun 7 18:41 o4.34

Let's also say that the user cpuhog is in a directory which contains an input file which
has the following line in it:

DEFAULT:FILES:DEFAULT:NAME = "o4"

If the user cpuhog now executes the psiclean command, then the o4 files in the temporary
directories would be deleted, leaving the following files:

/tmp1/cpuhog:
-rw-r--r-- 1 cpuhog 14492 Jun 11 16:48 dicubane.30
-rw-r--r-- 1 cpuhog 187320 Jun 8 17:20 diketene.34
-rw-r--r-- 1 cpuhog 16384 Jun 7 19:17 o4big.30

/tmp2/cpuhog:
-rw-r--r-- 1 cpuhog 14492 Jun 11 16:48 dicubane.30
-rw-r--r-- 1 cpuhog 187320 Jun 8 17:20 diketene.34
-rw-r--r-- 1 cpuhog 10904 Jun 7 18:50 o4big.30

/tmp3/cpuhog:
-rw-r--r-- 1 cpuhog 14492 Jun 11 16:48 dicubane.30
-rw-r--r-- 1 cpuhog 187320 Jun 8 17:20 diketene.34
-rw-r--r-- 1 cpuhog 8192 Jun 7 19:17 o4big.30

Use psiclean online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 2
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 3
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 5
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands

Ad