LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-26-2013, 01:43 AM   #1
rockstar05
Member
 
Registered: Dec 2011
Posts: 83

Rep: Reputation: Disabled
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,
 
Old 08-26-2013, 01:44 AM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,258
Blog Entries: 24

Rep: Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193
Quote:
Originally Posted by rockstar05 View Post
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?
 
Old 08-26-2013, 01:47 AM   #3
SAbhi
Member
 
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 665

Rep: Reputation: Disabled
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.

Last edited by SAbhi; 08-26-2013 at 01:51 AM.
 
Old 08-26-2013, 12:51 PM   #4
Febi881
Member
 
Registered: Jun 2009
Location: India
Distribution: Fedora,Redhat
Posts: 111
Blog Entries: 1

Rep: Reputation: 17
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.
 
Old 08-26-2013, 02:32 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 08-26-2013, 07:22 PM   #6
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
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.
 
Old 08-27-2013, 12:49 AM   #7
rockstar05
Member
 
Registered: Dec 2011
Posts: 83

Original Poster
Rep: Reputation: Disabled
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,
 
Old 08-27-2013, 02:34 AM   #8
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Your trousers are to short. Get a bigger size. And while at it get your self some new glasses.
 
Old 08-28-2013, 02:15 AM   #9
trevoratxtal
Member
 
Registered: Dec 2012
Location: South Devon, UK
Distribution: PCLinuxOS, Suse, Mint, Puppy.
Posts: 79

Rep: Reputation: 20
Webmin may be worth looking at.

Quote:
Originally Posted by rockstar05 View Post
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
 
Old 08-28-2013, 08:11 AM   #10
dt64
Member
 
Registered: Sep 2012
Distribution: RHEL5/6, CentOS5/6
Posts: 218

Rep: Reputation: 38
Quote:
Originally Posted by trevoratxtal View Post
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.
 
Old 08-28-2013, 08:33 AM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by rockstar05 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check and use unpartitioned space of Hard disk in linux. nhsarvaiya Linux - Hardware 11 03-13-2024 06:39 AM
LXer: Linux shell: Dfc – Check your disk space with style LXer Syndicated Linux News 0 05-09-2013 02:21 PM
How to check the whole disk space? thomas2004ch Linux - Newbie 7 08-06-2012 05:41 AM
[SOLVED] how to check disk space mario.almeida Linux - Server 8 09-26-2010 06:16 AM
[SOLVED] Linux base shell script with java which check the disk space and send mail to my id dhirendrs Linux - Newbie 2 06-14-2010 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration