nfs 客户端和服务器的活动信息。
RedHat 、 RHEL 、 Ubuntu 、 CentOS 、 Fedora 。
]
| nfs 信息,默认还要显示 rpc 信息 |
| nfs 文件信息信息 |
| rpc 信息 |
| nfs 信息 |
| nfs 信息 |
| nfs ,显示 nfs 协议信息; rpc ,显示 rpc 常规信息; net ,显示网络层状态; fh ,显示文件控制缓存信息; rc ,显示服务器上的请求应答缓存信息; all ,显示所有信息 |
| -o all ” |
nfs 信息
[root@localhost ~]# nfsstat -cn
Client nfs v4:
null read write commit open open_conf
0 0% 0 0% 0 0% 0 0% 1 0% 0 0%
open_noat open_dgrd close setattr fsinfo renew
0 0% 0 0% 0 0% 0 0% 3 2% 20 18%
setclntid confirm lock lockt locku access
1 0% 1 0% 0 0% 0 0% 0 0% 7 6%
getattr lookup lookup_root remove rename link
58 52% 7 6% 1 0% 0 0% 0 0% 0 0%
symlink create pathconf statfs readlink readdir
0 0% 0 0% 2 1% 0 0% 0 0% 4 3%
server_caps delegreturn getacl setacl fs_locations rel_lkowner
5 4% 0 0% 0 0% 0 0% 0 0% 0 0%
secinfo exchange_id create_ses destroy_ses sequence get_lease_t
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
reclaim_comp layoutget getdevinfo layoutcommit layoutreturn getdevlist
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
(null)
0 0%
[root@localhost ~]# nfsstat -m
/media/test from 192.168.1.8:/wj/
Flags:rw,relatime,vers=4,rsize=262144,wsize=262144,namlen=255,hard,
proto=tcp,port=0,timeo=600,retrans=2,sec=sys,
clientaddr=192.168.1.8,minorversion=0,local_lock=none,addr=192.168.1.8
[root@localhost ~]#
以上所述就是小编给大家介绍的《Linux基础命令---nfsstat显示nfs信息》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Code Reading
Diomidis Spinellis / Addison-Wesley Professional / 2003-06-06 / USD 64.99
This book is a unique and essential reference that focuses upon the reading and comprehension of existing software code. While code reading is an important task faced by the vast majority of students,......一起来看看 《Code Reading》 这本书的介绍吧!