"Updates"
This commit is contained in:
1 parent
677655c669
commit
8d300e0995
1 file changed
+19
@@ -225,3 +225,22 @@ sudo mount /nfs/<folder>
|
||||
|
||||
sudo systemctl daemon-reload
|
||||
```
|
||||
|
||||
### Monitoring NFS Server
|
||||
|
||||
```bash
|
||||
sudo apt install -y nfswatch
|
||||
```
|
||||
|
||||
Add these aliases to your .bashrc file:
|
||||
|
||||
```bash
|
||||
# NFS watch clients
|
||||
alias nfsw='nfswatch -allif -clients -usage 2>/dev/null'
|
||||
# NFS watch users
|
||||
alias nfsu='nfswatch -allif -auth -usage 2>/dev/null'
|
||||
```
|
||||
|
||||
```bash
|
||||
source ~/.bashrc
|
||||
```
|
||||
Reference in new issue
Block a user