Solved

nfsstat, what does getattr and

Posted on 2004-08-05
6
1,338 Views
Last Modified: 2013-12-15
when typing nfsstat on a linux machine that is connected to a NAS, what exactly do the two
values under
"getattr" and "access"

represent in the Client nfs v3 output
0
Comment
Question by:xeon999
  • 2
  • 2
6 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 125 total points
Comment Utility
getattr: Number of attribute requests
access: Number of requests
0
 

Author Comment

by:xeon999
Comment Utility
are the attribute requests analogous to doing an lsattr on a file?
or are they attributes like file size, last mod date, etc..
reason i ask is i didn't think lsattr even applies for NFS.
when i try to do an lsattr on file on the nas i get:
"lsattr: Inappropriate ioctl for device While reading flags on spa.log"

so which exact "attributes" are being looked at on these
NFS mounted files?

thnx for the help!
0
 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
AFAIK it's lstat()
0
 

Author Comment

by:xeon999
Comment Utility
cool, thnx.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now