How to find disk space of remote linux machine using Java [duplicate]
问题 This question already has answers here : How to find how much disk space is left using Java? (6 answers) Closed 5 years ago . I am looking for simple solution for finding total disk space and available space of a remove machine using java program. Please help Update There are questions already similar to this with primarily focus on local machine. I was looking solution for remote machine. 回答1: The easiest way to get the remote machine information and also safe way to do is to SSH to the