FILE-STATISTICS: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(created page for the FILE-STATISTICS command)
 
(added parameters, rules, example, related commands and a reference)
Line 1: Line 1:
  @FILE-STATISTICS <[[file name]]> <[[output unit]]>
  @FILE-STATISTICS <[[file name]]> <[[output unit]]>
gives a list of all files that matches <file name>, an in addition to the name also the type of file (indexed or continuous), access modes for public users, friends and the owner, date of creation of the file, number of times and last date opened for read and for write, and size of the file both in pages and bytes.
gives a list of all files that matches <file name>, an in addition to the name also the type of file (indexed or continuous), access modes for public users, friends and the owner, date of creation of the file, number of times and last date opened for read and for write, and size of the file both in pages and bytes.
The following is listed:
#File object number
#File name
#Type (indexed, contiguous, temporary, spooling or allocated file)
#Access modes
#Date of creation
#Number of times opened
#Last time opened for read and write
#Size of file (in pages and bytes)
; <file name> : list all files matching this name. Can be abbreviated (default = all files in default directory for the terminal user).
; <output unit> : destination of the list (default = terminal).
Rules:
#Permitted for all users.
Example:
@FILE-STATISTICS F-1, TER
(statistics are listed).
== Related commands ==
@[[LIST-FILES]]
@[[LIST-OPENED-FILES]]
[[RMAX (monitor call)]]


== References ==
== References ==
{{ND-doc|60.050.06}} section 3.4.3
{{ND-doc|60.050.06}} section 3.4.3
{{ND-doc|60.128.01}} (printed June 1980), page 1-74


{{ND-doc|60.174.Q01}}
{{ND-doc|60.174.Q01}}
[[Category:Background Commands]]
[[Category:Background Commands]]

Revision as of 21:50, 3 January 2014

@FILE-STATISTICS <file name> <output unit>

gives a list of all files that matches <file name>, an in addition to the name also the type of file (indexed or continuous), access modes for public users, friends and the owner, date of creation of the file, number of times and last date opened for read and for write, and size of the file both in pages and bytes.

The following is listed:

  1. File object number
  2. File name
  3. Type (indexed, contiguous, temporary, spooling or allocated file)
  4. Access modes
  5. Date of creation
  6. Number of times opened
  7. Last time opened for read and write
  8. Size of file (in pages and bytes)
<file name>
list all files matching this name. Can be abbreviated (default = all files in default directory for the terminal user).
<output unit>
destination of the list (default = terminal).

Rules:

  1. Permitted for all users.

Example:

@FILE-STATISTICS F-1, TER

(statistics are listed).

Related commands

@LIST-FILES

@LIST-OPENED-FILES

RMAX (monitor call)

References

Norsk Data Document ND–60.050.06 SINTRAN III USERS GUIDE section 3.4.3

Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL (printed June 1980), page 1-74

Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD