Check size of a partition


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Check size of a partition
# 1  
Old 02-21-2013
Check size of a partition

hi want to schedule a script for displaying the size of the partiition.

For example
Code:
df -g

/dev/fslv03 2000.00 535.43 74% 179943 1% /nvbkp

we have several mount point like this but i want to schedule script to display size of the above mount point only.

Thanks
Ankit

Last edited by Franklin52; 02-21-2013 at 03:22 AM.. Reason: Please use code tags for data and code samples
# 2  
Old 02-21-2013
Can you show us what you tried so far?
# 3  
Old 02-21-2013
No i am seeking for an solution.
# 4  
Old 02-21-2013
Quote:
Originally Posted by ankit2012
No i am seeking for an solution.
Yes, I totally understand you are seeking a solution. But we would love to see some sincere effort from your part for this pretty much straightforward problem and then if you are stuck at some point let us know we will be more than happy to guide you. Please note that this forum is not a script development service.

BTW you can schedule your script in job scheduler: crontab
# 5  
Old 02-26-2013
Yes i want to schedule it in crontab.

I have already script scheduled for taking daily backups that send notification through CRON i want that it also show the mountpoint space after backup completes.

Kindly suggest
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Check the partition size on server

Dear All, I need notification mail from server while device size crossed 80% approximately.I tried following shell .its working fine when the device name like /dev/sdc1 etc.Its not working in LVM name.For example Script: #!/bin/sh echo "Storage server space details"; df -H | grep -vE... (4 Replies)
Discussion started by: kpoobathi
4 Replies

2. Red Hat

Increase Linux partition size

Hi All, this should be probably a already asked question but highly appreciate if someone can guide me on this i have a business critical linux system (which is running a SMS system) where one of it's partition size is shrinking i want to know the possible options of increasing the size of... (4 Replies)
Discussion started by: asela115
4 Replies

3. HP-UX

Increase of partition Size In HP-UX

Experts, I want to know how to increase partion size in Hp-ux.Actually we installed oracle in separate part ion.As increase of database went to 99% :eek:.What ever data which is in it is important.so i dont want to delete any data in that partion.Now the size of that is 250 GB.I want the same to... (2 Replies)
Discussion started by: naveennella
2 Replies

4. UNIX for Dummies Questions & Answers

Size of swap partition during installation

Greetings. I've been into computers since the '80s, but this is my first attempt at Linux. I'm installing Debian Lenny on a PIII 733 with 10GB hard drive and 512MB Ram. I intend to use the machine primarily as a development server, with things like mySQL, Apache, php, etc. I don't really want... (22 Replies)
Discussion started by: fguy
22 Replies

5. Linux

primary partition size

hi I am trying to create primary,extended and logical partitions. when I try to create a primary partition, I can give it maximum 1027M (1gb). Why? (9 Replies)
Discussion started by: tjay83
9 Replies

6. Solaris

how to increase size of the root partition

Hi we have a sunfire v880 server . we have a problem with root partion it showing 90% full. so anyone can help me how to increase the size of that partion. NOTE: It is not in veritas & SVM control. Regards prakash (6 Replies)
Discussion started by: pshelke
6 Replies

7. UNIX for Dummies Questions & Answers

Increasing the Size of the Samba Partition

Hi, Is there any command to increase the size of the samba partition when the samba share is online?? Regards Arun (1 Reply)
Discussion started by: Arun.Kakarla
1 Replies

8. Solaris

Partition size calculations

Hi guys, I have an V100 server and I'm about to install solaris 8 on it (I have 10 on currently but most of my work is on 8 so I'm going to that). It would be easy for me to post system specs and get a recommendation, but what I'd like is to know HOW to calculate so that I can set up other... (1 Reply)
Discussion started by: Stin
1 Replies

9. Solaris

inrease partition size

hi, i created a partition c1t0d0s5 sized 10gb and a soft partition on it. now i want to expand this size to 15gb (my hard disk is 36gb). anybody show me the way to do that, please. here are the outputs of the df and format commands: # df -h Filesystem size used avail capacity ... (5 Replies)
Discussion started by: xuc_xich_duc
5 Replies
Login or Register to Ask a Question