Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, When I execute the command

Status
Not open for further replies.

vramesh

Technical User
Jun 8, 2003
7
US

Hi,

When I execute the command pfiles I've got the fol. output. If anyone could explain me the fields it contains. Thanks in advance.

S_IFCHR mode:0666 dev:222,0 ino:234908 uid:0 gid:3 rdev:13,2
O_RDONLY

Regards,
V Ramesh
 
pfiles returns information from the fstat() function call; you may find some of the information on the fstat() man page useful.

S_IFCHR - this is a "character special" device.
mode 0666 - permissions are -rw-rw-rw-.
dev:222,0 - device major and minor numbers.
ino:234908 - inode number.
uid:0 - user ID that owns the file/device (root in this case)
gid:3 - group ID that owns the file/device (sys in this case)
rdev:13,2 - raw device major and minor numbers.
O_RDONLY - the file/device was opened read-only.


Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top