06-27-2008
How to find the free space & usage of the particular directory in Hp-Unix?
How to find the free space & usage of the particular directory in Hp-Unix?
I want to see the usage in %
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi all,
Does unix ever misreport free space? We're having a problem running a utility, and the error message looks for all the world like the utility has no free space for its work files:
HOST ERROR(D10681C). No space left on device.
But the device itself shows ample free space.
... (3 Replies)
Discussion started by: JustKen
3 Replies
2. Shell Programming and Scripting
Hi,
I have just written a script in /bin/bash, however, l want to test if character is a carriage return or space. Also l want my script to be able to detect my disk space and send a mail if usage is more than 90% or send an alert.
Thanks
Kayode (6 Replies)
Discussion started by: kayode
6 Replies
3. 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
4. Shell Programming and Scripting
I need to display the amount space avalible on a unix server in an html webpage, which will automatically update every hour. I am able to do so using a javascript in a windows based server. How would i go about doing this in a unix server. Any help, suggestions, anything would be great. thanks. (3 Replies)
Discussion started by: davwel
3 Replies
5. Shell Programming and Scripting
shell script to send email with usage of space in the directory as description :
Please any one help me in writing a script to send email with usage of space in the directory as description . (3 Replies)
Discussion started by: sakthifire
3 Replies
6. Shell Programming and Scripting
Hi,
I am trying to write a shell script to delete logs generate by db when space in the folder reaches 70%. i am getting space values from db, find the files at OS and remove them by using a cron job runs every 5minutes.
I have to keep the latest 5 files at any time, my problem is that log files... (3 Replies)
Discussion started by: saha
3 Replies
7. Shell Programming and Scripting
Hi Guys,
I want to find the free space of a particular directory,,
Regards,
Magesh (3 Replies)
Discussion started by: mac4rfree
3 Replies
8. Red Hat
Hello, I wanted to calculate free space in my unix file system. Here is my direction. I can use df -h command to get the below output.
Filesystem Size Used Avail Use% Mounted on
===================================================
/dev/vx/dsk/edcdg/data01vol
... (9 Replies)
Discussion started by: govindts
9 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
10. Red Hat
Hi. My "/usr" folder is running out of space. My "/home" folder is quite large and has a lot of free space. As follows:
Filesystem Type Size Used Avail Use% Mounted on
...
/dev/sda5 ext3 9.7G 2.6G 6.7G 28% /
/dev/sda7 ext3 152G 16G 128G 11% /home
/dev/sda3 ... (7 Replies)
Discussion started by: pkiula
7 Replies
FREE(1) Linux User's Manual FREE(1)
NAME
free - display information about free and used memory on the system
SYNOPSIS
free [-b|-k|-m|-g] [-l] [-o] [-t] [-s delay ] [-c count ]
DESCRIPTION
free(1) displays the total amount of free and used physical memory and swap space in the system, as well as the buffers and cache consumed
by the kernel.
OPTIONS
Normal invocation of free(1) does not require any options. The output, however, can be fine-tuned by specifying one or more of the follow-
ing flags:
-b, --bytes
Display output in bytes.
-k, --kb
Display output in kilobytes (KB). This is the default.
-m, --mb
Display output in megabytes (MB).
-g, --gb
Display output in gigabytes (GB).
-l, --lowhigh
Display detailed information about low vs. high memory usage.
-o, --old
Use old format. Specifically, do not display -/+ buffers/cache.
-t, --total
Display total summary for physical memory + swap space.
-c n, --count=n
Display statistics n times, then exit. Used in conjunction with the -s flag. Default is to display only once, unless -s was speci-
fied, in which case default is to repeat until interrupted.
-s n, --repeat=n
Repeat, pausing every n seconds in-between.
-V, --version
Display version information and exit.
--help Display usage information and exit
FILES
/proc/meminfo -- memory information
SEE ALSO
ps(1), top(1), vmstat(1)
AUTHORS
Written by Robert Love.
The procps package is maintained by Rik van Riel and Robert Love and was created by Michael Johnson.
Send bug reports to <procps-list@redhat.com>.
Linux 18 Nov 2002 FREE(1)