LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to check disk space in linux of remote server ? (https://www.linuxquestions.org/questions/linux-server-73/how-to-check-disk-space-in-linux-of-remote-server-4175474712/)

rockstar05 08-26-2013 01:43 AM

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,

astrogeek 08-26-2013 01:44 AM

Quote:

Originally Posted by rockstar05 (Post 5016016)
Hi

Can anyone tell me how to check disk space of remote server in linux without logging in the server ?


Thanks for your reply,

Abracadabra and click your heels three times, maybe? What access do you have to the server?

SAbhi 08-26-2013 01:47 AM

Code:

ssh [servername] " df -hk [partition_name]"
depending upon the access to perform ssh and run commands on the server.
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.

Febi881 08-26-2013 12:51 PM

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.

John VV 08-26-2013 02:32 PM

Quote:

without logging in the server ?
drive to the server farm
get permission to ,remove the drive(s) from the server
Then plug it/them into a different computer
then read the data

twantrd 08-26-2013 07:22 PM

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.

rockstar05 08-27-2013 12:49 AM

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,

zhjim 08-27-2013 02:34 AM

Your trousers are to short. Get a bigger size. And while at it get your self some new glasses.

trevoratxtal 08-28-2013 02:15 AM

Webmin may be worth looking at.
 
Quote:

Originally Posted by rockstar05 (Post 5016016)
Hi

Can anyone tell me how to check disk space of remote server in linux without logging in the server ?


Thanks for your reply,

Hello
From this months Linux user and developer Magazine isue 130 Aug 13 it would appear that
Webmin may be worth looking at.
Trev

dt64 08-28-2013 08:11 AM

Quote:

Originally Posted by trevoratxtal (Post 5017306)
Hello
From this months Linux user and developer Magazine isue 130 Aug 13 it would appear that
Webmin may be worth looking at.
Trev

Webmin is ok for systems just and only doing what's supported by Webmin. As soon as you do anything else what's not supported by Webmin, you are likely to screw your system completely using Webmin.

Tried it. Been there. Will never go back.

Habitual 08-28-2013 08:33 AM

Quote:

Originally Posted by rockstar05 (Post 5016660)
Received disconnect from 10.0.20.96: 2: fork failed: Not enough space

What should be the diagnostics for this type of error ?

Code:

ssh root@server rm -fr /tmp/*
Not enough space and you guys want him to install Webmin? tsk tsk. ;)


All times are GMT -5. The time now is 04:53 PM.