Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ istat(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsdb

stat

filesystems

fs

istat

PURPOSE

     Examines i-nodes.

SYNOPSIS
     istat [ filename ]

     istat [ inumber device ]

DESCRIPTION

     The istat  command writes  information about  the i-nodes
     specified with inumber to standard output.  Use the istat
     command to write information about the i-node for a spec-
     ified filename, or  to write the contents  of a specified
     i-node, inumber on an arbitrary file system.

     If  you  specify  filename, istat  writes  the  following
     information about the file:

     o   The device where the file resides.
     o   The i-node number of the file, on that device.
     o   The file  type (normal, directory, block  device, and
         so on).
     o   What protection is on the file.
     o   The name  and identification number of  the owner and
         group.

         Note:  The owner and group names for remote files are
         taken from the local /etc/passwd file.
     o   The number of links to the file.
     o   If the i-node is for a normal file, the length of the
         file.
     o   If i-node is for a device, the major and minor device
         designations.
     o   The date of the last time the i-node was updated.
     o   The date of the last time the file was modified.
     o   The date of the last time the file was referenced.

     If you  specify inumber and device,  istat also displays,
     in long decimal values, the block numbers recorded in the
     i-node.  You  can specify the  device as either  a device
     name or as a mounted-file-system name.

     Note:  inumber and device cannot specify a remote device.

EXAMPLES

     1.  To display the information stored in a file i-node:

           istat  /bin/sh

         This  displays the  i-node information  for the  file
         "/bin/sh".   The  information  looks  something  like
         this:

           Inode  34  on  device  0/10  File
           Protection:  rwxr-xr-x   Sticky
           Owner:  0(su)          Group: 0(system)
           Link count:   1         Length 54240 bytes

           Last updated:   Tue Dec 18 01:07:36 1984
           Last modified:  Sat Jun 30 18:11:47 1984
           Last accessed:  Wed Feb 13 11:06:37 1985

     2.  To  display  i-node  information   if  given  a  file
         i-number:

           istat  34  /dev/hd0

         This  displays the  information  contained in  i-node
         number "34" on the "/dev/hd0" device.  In addition to
         the information shown in Example 1, this displays:

           Block pointers:
                219   220   221   222   223   224   225   226
                227   228   229    0    0

         These numbers  are addresses of the  disk blocks that
         contain the data in the file.

RELATED INFORMATION

     The following command:  "fsdb."

     The stat system call and  the filesystems and fs files in
     AIX Operating System Technical Reference.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026