Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: os.mail - Function Up: os - Tool Previous: os.lockinfo - Function


os.showtableuse - Function



Package utility
Module misc
Tool os


tell if a table is used or locked


Synopsis
showtableuse(tablename)


Description
Tell if a table is used or locked in another process. A message is sent to the logger telling if the table is used or locked and by which process.

Note that multiple processes can use a table or hold a read-lock. This function gives the pid of only one of those processes.



Example
  dos.showtableuse ('~/aips++/test/hol.ms');
# NORMAL: Table ~/aips++/test/hol.ms is opened
# (but not locked) in process 5242



Arguments

tablename in table name
    Allowed: string


Returns
T or F




next up previous contents index
Next: os.mail - Function Up: os - Tool Previous: os.lockinfo - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15