File Information Attributes

The File Information attributes refer to file and directory characteristics such as name, size, owner, access rights, and links. File Information is a multiple-instance attribute group.


Access This attribute defines a four-digit octal number representing the access rights for a file. You specify access rights using a four-digit number representing the permissions associated with a file. Each digit is the decimal equivalent of a binary three-bit string. Valid entries: Numeric string in the range 0000 to 7777, from left to right, the digits have the following meaning:

1st Digit

Determines whether, upon execution, the file takes on the ID of the user or group that owns the file. This permission assignment applies to users that neither own the file they are trying to execute, nor belong to the group that owns the file.

2nd Digit

Determines the access permissions of the user that owns the file.

3rd Digit

Determines the access permissions of the group that owns the file.

4th Digit

Determines the access permissions for other users.

From right to left, the bits for the first digit have the following meanings:

1st bit

The meaning if this bit depends on the type of UNIX operating system you are monitoring.

2nd bit

If the value of this bit is 1, the system executes the file with the group ID of the group that owns the file. PARA If the value of this bit is 0, the system executes the file with the group ID of the user that executed the file. PARA If the file is a directory and this bit is 1, all files created in that directory inherit the group ID of that directory.

File The name of a file or directory. If the file is a symbolic link, the link name is shown in the Link Name attribute. Valid entries: simple text string, alphanumeric with a maximum length 256 characters.

File (Unicode) The name of a file or directory. If the file is a symbolic link, the link name is shown in the Link Name attribute.

Group The name of the logical group to which a file owner belongs. Valid entries: simple text string, alphanumeric with a maximum length 16 characters

Group (Unicode) The name of the logical group to which a file owner belongs.

Last Accessed Time The date and time of the last file access. Valid entries: in the format CYYMMDDHHMMSSmmm, where:

C

= Century (0=20th)

YY

= Year

MM

= Month of the Year (01-12)

DD

= Day of the Month (01-31)

HH

= Hour, in 24-hour time (00-23)

MM

= Minute

SS

= Second

mmm

= Millisecond

Last Changed Time The date and time of the last change to a file. Valid entries: in the format CYYMMDDHHMMSSmmm, where:

C

= Century (0=20th)

YY

= Year

MM

= Month of the Year (01-12)

DD

= Day of the Month (01-31)

HH

= Hour, in 24-hour time (00-23)

MM

= Minute

SS

= Second

mmm

= Millisecond

Links The number of links to a file. Valid entries: numeric values in the range 0 to 64535.

Link Name The name of the file for which this file is a symbolic link. If this field is blank, the file is not a link. Note that V120 agents do not place data in this field. Valid entries are simple text string, alphanumeric with a maximum length 256 characters.

Link Name (Unicode) The name of the file for which this file is a symbolic link. If this field is blank, the file is not a link. Note that V120 agents do not place data in this field.

Owner The name of the file owner. Valid entries are simple text string, alphanumeric with a maximum length 16 characters.

Owner (Unicode) The name of the file owner. Valid entries are simple text string, alphanumeric with a maximum length 768 bytes.

Path The full path containing a particular file or directory. Valid entries are a text string representing the full path of the file, alphanumeric with a maximum length 256 characters.

Path (Unicode) The full path containing a particular file or directory.

Size The size, in bytes, of a file. Valid entries: numeric values in the range 0 to 2147483647.

Size MB The size, in megabytes, of a file.

System Name The name of the managed system the agent is monitoring. Valid entries are simple text string, alphanumeric with a maximum length 64 characters.

Timestamp The date and time the agent collects information as set on the monitored system. The timestamp format for SCAN and STR functions is CYYMMDDHHMMSSmmm (as in 1020315064501000 for 03/15/02 06:45:01) where:

C = Century (0 for 20th, 1 for 21st)

Y = Year

M = Month

D = Day

H = Hour

M = Minute

S = Second

m = millisecond

Type The type of file. The valid values for this attribute are:

Dir

= Directory

File

= File

Sock

= Socket

Link

= Link

Spec

= Special File

The maximum length is 4 characters.