I need to find available disk space for /home.
The above result shows the Use% instead of Available as the df command output expands in 2 lines due to the Filesystem name
For single line output the results are fine... Any ideas how to get the available space in such cases ...
Hello,
Can someone please tell me which command to use to determine the available disk space on a given disk device?
I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be?
Thanks in advance!
Al. (4 Replies)
Hello,
Can anybody please tell me the command to find out the filesystem or a file which is consuming larger disk space sing i want to find out the file and want to compress it
please help me out
any help would be appreciated (6 Replies)
Hi
This is my script for disk space monitoring
clear
if
then
echo "You must be root user to execute the script"
fi
ALERT_LEVEL=10
CONSUMPTION_LEVEL= `df -k | awk {'print $5'} | cut -d '%' -f1 | sed "1 d"`
for i in $CONSUMPTION_LEVEL
do
FILE_SYSTEM=`df -k | awk {'print $1'} |... (3 Replies)
I know there are other threads but they have not helped. My server is running low on disk space and I haven't been able to re-allocate. I think my solaris machine is missing tools or the way it was originally setup, may not have the right pathing.
$ df -k
Filesystem kbytes used... (5 Replies)
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)
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)
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)
Hi All,
I am using SSH Tectia terminal to get the disk space utilization of a particular folder /opt/logs in all the servers one by one using the command df -h and looking through the list of folders manually to get /opt/logs folder disk space used percentage .
The problem here is , it... (2 Replies)
Discussion started by: aakhan2011
2 Replies
LEARN ABOUT DEBIAN
sys::filesystem::freebsd
Sys::Filesystem::Freebsd(3pm) User Contributed Perl Documentation Sys::Filesystem::Freebsd(3pm)NAME
Sys::Filesystem::Freebsd - Return Freebsd filesystem information to Sys::Filesystem
SYNOPSIS
See Sys::Filesystem.
INHERITANCE
Sys::Filesystem::Freebsd
ISA Sys::Filesystem::Unix
ISA UNIVERSAL
METHODS
version ()
Return the version of the (sub)module.
ATTRIBUTES
The following is a list of filesystem properties which may be queried as methods through the parent Sys::Filesystem object.
fs_spec
Describes the block special device or remote filesystem to be mounted.
fs_file
Describes the mount point for the filesystem. For swap partitions, this field should be specified as none. If the name of the mount
point contains spaces these can be escaped as 40.
fs_vfstype
Dscribes the type of the filesystem.
fs_mntops
Describes the mount options associated with the filesystem.
fs_freq
Used for these filesystems by the dump(8) command to determine which filesystems need to be dumped.
fs_passno
Used by the fsck(8) program to determine the order in which filesystem checks are done at reboot time.
SEE ALSO
Sys::Filesystem, Sys::Filesystem::Unix, fstab(5)VERSION
$Id: Freebsd.pm 128 2010-05-12 13:16:44Z trevor $
AUTHOR
Nicola Worthington <nicolaw@cpan.org> - <http://perlgirl.org.uk>
Jens Rehsack <rehsack@cpan.org> - <http://www.rehsack.de>
COPYRIGHT
Copyright 2004,2005,2006 Nicola Worthington.
Copyright 2009,2010 Jens Rehsack.
This software is licensed under The Apache Software License, Version 2.0.
<http://www.apache.org/licenses/LICENSE-2.0>
perl v5.10.1 2010-05-18 Sys::Filesystem::Freebsd(3pm)