Files
cheatsheet-tldr/tldr/linux/rpcinfo
2024-04-19 00:13:37 +00:00

30 lines
741 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# rpcinfo
> Make an RPC call to an RPC server and reports what it finds.
> More information: <https://manned.org/rpcinfo>.
- Show full table of all RPC services registered on localhost:
`rpcinfo`
- Show concise table of all RPC services registered on localhost:
`rpcinfo -s {{localhost}}`
- Display table of statistics of rpcbind operations on localhost:
`rpcinfo -m`
- Display list of entries of given service name (mountd) and version number (2) on a remote nfs share:
`rpcinfo -l {{remote_nfs_server_ip}} {{mountd}} {{2}}`
- Delete the registration for version 1 of the mountd service for all transports:
`rpcinfo -d {{mountd}} {{1}}`