0

Can anyone please tell me how to get the size of the NFS Export point at the client side if the export point is available? Is there any command / Java API available for the same?

Pang
  • 9,564
  • 146
  • 81
  • 122
user3062513
  • 410
  • 1
  • 10
  • 19

1 Answers1

0

Take a look at Lucas' answer here: How to find how much disk space is left using Java. If you pass the mount point on the NFS client in to the getTotalSpace() and/or getUsableSpace() methods on the File class, it should return the relevant information for that export.

Community
  • 1
  • 1
nochum
  • 755
  • 4
  • 10