06-04-2002
Using 1K Blocks:
(NumBlocks*1024)/2^20 will yield MegaBytes
(NumBlocks*1024)/2^30 will yield GigaBytes
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need some help in determining disc space. I ran the following commands on my IBM RS6000 server and this is what I get
# dfspace
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 32768 19832 40% 1225 15% /
/dev/hd2 802816 277256 66% ... (2 Replies)
Discussion started by: Docboyeee
2 Replies
2. Shell Programming and Scripting
I would like to create a script for calculating size and remaining space of a directory automatically every 24 hours, then send an email to report to the admin.
* POSIX and PERL are preferred.
Can anyone help, please? (1 Reply)
Discussion started by: leonall
1 Replies
3. Filesystems, Disks and Memory
what's the best way to calculate the raw disk space in format. the system is a Solaris system using EMC disks- df -k will give me what's used plus available.Now I need the total disk space that the system is using/assigned. Which means I must inventory the raw disks in format. the system uses... (6 Replies)
Discussion started by: sholiver
6 Replies
4. Filesystems, Disks and Memory
I trying to calculate drive space with RAID. I know the equation is:
(n-1)/n * drive capacity
but, when I use that my calculations don't come out when I compare to what I already know exists:
I have 3 - 18.2gb SCSI drives that contain two logical drives C & D.
Using the math, (3-1)/3 * 18.2... (1 Reply)
Discussion started by: JTalbot017
1 Replies
5. Filesystems, Disks and Memory
Hi,
Just wanted to confirm that what Im doing is correct to calculate the space allocated to filesystem:
>df -k .
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/test 48720000 9337904 81% 14846 1% /home
The space allocated = 48720000/1024 =... (1 Reply)
Discussion started by: deepakgang
1 Replies
6. Shell Programming and Scripting
I am Connected With 4 servers
I want to check the free space available in each server HOW to do this ?
Edit/Delete Message (3 Replies)
Discussion started by: pranabrana
3 Replies
7. Shell Programming and Scripting
I am Connected With 4 servers
I want to check the free space available in each server HOW to do this ? (8 Replies)
Discussion started by: pranabrana
8 Replies
8. Emergency UNIX and Linux Support
Hi Experts,
In a particular dir, I have many files *AJAY*.
How can I get total size of all such files.
I tried du -hs *AJAY* but it gave me individual size of all files.
All I require is summation of all.
Thanks,
Ajay (4 Replies)
Discussion started by: ajaypatil_am
4 Replies
9. Shell Programming and Scripting
Hi All,
I am looking forward to create a unix shell script to purge the files.
The requirement is:
1) Do df -k and check the current space occupied for the /a1 folder.
2) If the space consumed is greater than 90 %, delete all the DEF* files from a subfolder /a1/archive.
Example:
df... (4 Replies)
Discussion started by: shilpa_acc
4 Replies
10. Shell Programming and Scripting
How to Calculating space used in GB for any particular directory in unix
Currently I am using : df -h which gives me space for each mout point
ldndyn1:/vol/v01/dyn/sbcexp/dyn
1.1T 999G 29G 98% /sbcimp/dyn
but I need for some internal particular directory... (3 Replies)
Discussion started by: RahulJoshi
3 Replies
vdltodmx(1) General Commands Manual vdltodmx(1)
NAME
vdltodmx - dmx configuration file parser and printer
SYNOPSIS
vdltodmx infile outfile
DESCRIPTION
vdltodmx reads the input file, which should be in VDL configuration file format. After a successful parse, a file in Xdmx configuration
file format is written to the output file.
The VDL file format is used with xmovie, which is available from http://www.llnl.gov/icc/lc/img/xmovie/xmovie.html
EXAMPLE
Given the following VDL-format file:
0
2
#
#
2560 2048 Left two-thirds [restrict=*:2]
2
:2.1 1280 2048 0 0 0 0
:2.2 1280 2048 1280 0 0 0
4
1280 1024 0 0
1280 1024 0 1024
1280 1024 1280 0
1280 1024 1280 1024
#
2560 2048 Right two-thirds [restrict=*:2]
2
:2.2 1280 2048 0 0 0 0
:2.3 1280 2048 1280 0 0 0
4
1280 1024 1280 0
1280 1024 1280 1024
1280 1024 2560 0
1280 1024 2560 1024
the following DMX-format file will be produced:
#
#
virtual "Left two-thirds" 2560x2048 {
display :2.1 1280x2048;
display :2.2 1280x2048 @1280x0;
}
#
virtual "Right two-thirds" 2560x2048 {
display :2.2 1280x2048;
display :2.3 1280x2048 @1280x0;
}
BUGS
If the VDL file is not in the expected format, the program will probably dump core.
SEE ALSO
Xdmx(1), xdmxconfig(1), vdl(3), xmovie(1)
X Version 11 xorg-server 1.12.4 vdltodmx(1)