check partitions size in MB


 
Thread Tools Search this Thread
Operating Systems SCO check partitions size in MB
# 1  
Old 08-08-2010
check partitions size in MB

hi

Howto check partitions size in MB on SCO 5.0.6?
Using df command I can see just in blocks.
# 2  
Old 08-08-2010
df -h ?
# 3  
Old 08-08-2010
Quote:
Originally Posted by Habitual
df -h ?
it doesn't work:
Code:
#df -h
df: ERROR: Illegal option -- h 
Usage: df [ -B : -I : -P : -iv : -t] [ -fkIQ ] [ filesystem ... ]

# 4  
Old 08-08-2010
dfspace
This User Gave Thanks to jgt For This Post:
# 5  
Old 08-08-2010
Thx, using dfspace works well.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to check used space for each partitions in Linux?

we are using Disk utilization and filesystem utilization seperately. In AIX using $lsvg rootvg datavg $lspv hdisk1 PHYSICAL VOLUME: hdisk1 VOLUME GROUP: datavg PV IDENTIFIER: 00f65eab7acabb17 VG IDENTIFIER 00f65eab00004c00000001567b60a848 PV STATE: ... (3 Replies)
Discussion started by: freeaac
3 Replies

2. Shell Programming and Scripting

File size check

I am trying to check whether two files are empty or not using below if condition but its checking for only one file if ] Again I tried if && ] Need your assistance (2 Replies)
Discussion started by: Aditya_001
2 Replies

3. Shell Programming and Scripting

Check a file size

I'm doing a script thats check if mylogfile.log is bigger then 5000 but i dont know how to write it. thanks in avance. (6 Replies)
Discussion started by: Froob
6 Replies

4. Shell Programming and Scripting

check the file size

if ; then cp /tmp/testfolder/*.* ~/new/logs/ else echo "No files today" exit fi The problem is this doen't work when there is more than 1 file. Please tell me how to take the latest file and check the size of the file in a directory (1 Reply)
Discussion started by: sandy1028
1 Replies

5. Shell Programming and Scripting

Check for file size is zero or not.

I have following script on AIX/KSH if ] ; then echo "filename exists and is > 0 bytes" else echo "filename does not exist or is zero length" fi It is not working. What is wrong here??? (3 Replies)
Discussion started by: Hangman2
3 Replies

6. UNIX for Dummies Questions & Answers

Check the size of files

Hi, I need to put a script working to see in a directory with logs if exists file or files with size more than 12Mb. If exists it shoul send mail. Can anyone help me? thanks (3 Replies)
Discussion started by: osramos
3 Replies

7. Shell Programming and Scripting

To check file size

Hi All, I am in small problem.. i have one script which transfers some big files to my ftp usign normal command like put .... my problem is how to check whether my file have been transferred successfully on ftp or not... i know only inside ftp we have option like 'size' command which... (2 Replies)
Discussion started by: Shahul
2 Replies

8. Shell Programming and Scripting

file size check

How can I perform size check of any character file(which switch)? For example: I have to perform certain actions if file size is not zero. How can I do that? Is this syntax fine? if test ! -z $filename then fi (2 Replies)
Discussion started by: malaymaru
2 Replies

9. Filesystems, Disks and Memory

Transfering size between partitions

Below is a list of the file system on my Sun system. How can I transfer more disk space from the "/space" partition to the "/" partition with out rebuilding? / /dev/dsk/c0t0d0 6191949 5736718 393312 94% /proc /proc 0 0 0 0% /dev/fd fd 0 0 0 0% /etc/mntta ... (10 Replies)
Discussion started by: meyersp
10 Replies

10. Shell Programming and Scripting

check logfile size

Hello everyone! Can anyone help me with this? I need a script that looks at a logfile and check itīs size. If itīs over a sertain size the i should get an email. Dont really know how the grep that info "the size" Please help.... (4 Replies)
Discussion started by: dozy
4 Replies
Login or Register to Ask a Question