How to check disk space in linux of remote server ?
Hi
Can anyone tell me how to check disk space of remote server in linux without logging in the server ? Thanks for your reply, |
Quote:
|
Code:
ssh [servername] " df -hk [partition_name]" you could have found it with one click on google or reading the documentation for ssh , why being so lazy and look for spoon feeding. |
You can setup a free tool like Nagios, easy to configure, in one of your Linux machines and setup a monitoring for servers. This will sent you alerts in regular intervals if the File System above the threshold.
|
Quote:
get permission to ,remove the drive(s) from the server Then plug it/them into a different computer then read the data |
You can also check for disk space via snmp. That way, you'll never have to ssh into the machine to check. However, it does require that snmpd is configured and running on that remote server.
|
Hello everyone,
I have nagios tool in my environment but one of my linux server not responding to nagios server. When I am trying to login the server, it shows, [36|0|10:31:40|rckstr@count ~]$ w Password: Received disconnect from 10.0.20.96: 2: fork failed: Not enough space What should be the diagnostics for this type of error ? Thanks for your reply, |
Your trousers are to short. Get a bigger size. And while at it get your self some new glasses.
|
Webmin may be worth looking at.
Quote:
From this months Linux user and developer Magazine isue 130 Aug 13 it would appear that Webmin may be worth looking at. Trev |
Quote:
Tried it. Been there. Will never go back. |
Quote:
Code:
ssh root@server rm -fr /tmp/* |
All times are GMT -5. The time now is 04:53 PM. |