03-09-2014
You can setup passwordless authentication (private/public keys) and then write a simple script to iterate each host and run "df" on each one.
Another option would be a monitoring tool like Nagios or Munin but these would a bit overkill just for checking disk space.
10 More Discussions You Might Find Interesting
1. Solaris
In linux df is the command to find free space what is the equivalent command in the Solaris (2 Replies)
Discussion started by: harishankar
2 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I have executed the "df -h" command to identify the space utilization and I noticed that i have utilized more than 60% of the alloted resources.
Is there any command to check what are the files occupying/eating the 60% of the resources (for my id)?? If i know the files and their location... (2 Replies)
Discussion started by: Meem
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I need to find the total allocated disk space for the home directory.
How can i find that in unix?(in GB).
Thanks. (4 Replies)
Discussion started by: kailash19
4 Replies
4. Shell Programming and Scripting
Hi,
I wrote the following script for monitoring disk space and inform the concerned team accordingly. But script gives me below error
syntax error at line 70 : `<' unmatched
#!/bin/ksh
. /home/scr/.profile
. /home/scr/.infa_env
# Get the list of Integration Services
... (6 Replies)
Discussion started by: svajhala
6 Replies
5. Red Hat
I need to find available disk space for /home.
$ df /home
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mahhh/VolGroup11-LogVol00
32281452 45028 26034172 15% /
$df /home |tail -1| awk '{print $4}'
15%
The above result shows the... (5 Replies)
Discussion started by: Anu_1
5 Replies
6. Red Hat
Hi,
Can anybody explain why my newly created 120G FS shows 100% utilization when only 113G of disk space has been used? ......
# df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg01-lvol0
119G 113G 0 100% /u02
#du -h /u02
16K ... (3 Replies)
Discussion started by: Duffs22
3 Replies
7. Shell Programming and Scripting
Hi All,
I have written a script to check the file system usage and to delete the files which is consuming more space.Please check whether the script is corrcet
#Script Starts here
#!/usr/local/bin/perl
#Program to find the disk space and to delete the older files
#Checks the type of OS... (8 Replies)
Discussion started by: arunkarthick
8 Replies
8. Shell Programming and Scripting
Hi,
I want write a script that finds a set of folders written between a certain time and then find the disk space used by those folders. Can someone please help.
Thanks,
Sparcman:( (1 Reply)
Discussion started by: sparcman
1 Replies
9. Solaris
Hi,
I am unable to find remaining space on solaris 10. below is output.
I am facing this issue on zone server.
bash-3.00# df -h /
Filesystem size used avail capacity Mounted on
/ 59G 59G 0K 100% /
bash-3.00# pwd
/
bash-3.00# du -sh *
1K File_Stores
19K TT_DB
9K app
1K bin... (4 Replies)
Discussion started by: manoj.solaris
4 Replies
10. Shell Programming and Scripting
Hi Team,
I have written the shell script which returns the result of the disk space filesystems which has crossed the threshold limit in HTML Format. Below mentioned is the script which worked perfectly on QA system.
df -h | awk -v host=`hostname` '
BEGIN {
print "<table border="4"... (13 Replies)
Discussion started by: Harihsun
13 Replies
LEARN ABOUT DEBIAN
munin::master::group
Munin::Master::Group(3pm) User Contributed Perl Documentation Munin::Master::Group(3pm)
NAME
Munin::Master::Group - Holds information on host groups.
Groups can be nested.
METHODS
new
my $group = Munin::Master::Group->new($name, $parent);
Constructor. $name is the name of the group.
add_attributes
$group->add_attributes(\%attrs);
Sets attributes %attrs for the group. Valid attributes are:
node_order
Override the order of the hosts within the group.
local_address
The local address the update process should bind to when contacting the nodes in this group.
contacts
The contacts for this group. See http://munin-monitoring.org/wiki/HowToContact <http://munin-monitoring.org/wiki/HowToContact>.
An exception will be thrown if invalid attributes are provided.
(Full details here: http://munin-monitoring.org/wiki/munin.conf#Groupleveldirectives <http://munin-
monitoring.org/wiki/munin.conf#Groupleveldirectives>.)
add_host
$group->add_host($host);
Adds host $host to the group.
give_attributes_to_hosts
$group->give_attributes_to_hosts();
Propagates the attributes of $group to all hosts in the group. (This does not apply to hosts belonging to sub-groups.)
get_all_hosts
my @hosts = $group->get_all_hosts();
Returns the list of all hosts associated with this group, including those belonging to any sub-groups.
perl v5.14.2 2013-11-12 Munin::Master::Group(3pm)