Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

nfsstat, what does getattr and

Posted on 2004-08-05
6
Medium Priority
?
1,425 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 500 total points
ID: 11742030
getattr: Number of attribute requests
access: Number of requests
0
 

Author Comment

by:xeon999
ID: 11745000
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
ID: 11745609
AFAIK it's lstat()
0
 

Author Comment

by:xeon999
ID: 11747797
cool, thnx.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month11 days, 12 hours left to enroll

916 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