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)
Ok....
Can someone please point me in the right direction.
I simply want to know how to take the results of a dfspace or df command and be able to know how to determine how much disk space is either used or remaining.
1$ dfspace
Filesystem 512-blocks Free %Used Iused %Iused Mounted... (5 Replies)
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)
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)
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)
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)
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
LEARN ABOUT V7
mp
MP(3X)MP(3X)NAME
itom, madd, msub, mult, mdiv, min, mout, pow, gcd, rpow - multiple precision integer arithmetic
SYNOPSIS
typedef struct { int len; short *val; } mint;
madd(a, b, c)
msub(a, b, c)
mult(a, b, c)
mdiv(a, b, q, r)
min(a)
mout(a)
pow(a, b, m, c)
gcd(a, b, c)
rpow(a, b, c)
msqrt(a, b, r)
mint *a, *b, *c, *m, *q, *r;
sdiv(a, n, q, r)
mint *a, *q;
short *r;
mint *itom(n)
DESCRIPTION
These routines perform arithmetic on integers of arbitrary length. The integers are stored using the defined type mint. Pointers to a
mint should be initialized using the function itom, which sets the initial value to n. After that space is managed automatically by the
routines.
madd, msub, mult, assign to their third arguments the sum, difference, and product, respectively, of their first two arguments. mdiv
assigns the quotient and remainder, respectively, to its third and fourth arguments. sdiv is like mdiv except that the divisor is an ordi-
nary integer. msqrt produces the square root and remainder of its first argument. rpow calculates a raised to the power b, while pow cal-
culates this reduced modulo m. min andmout do decimal input and output.
The functions are obtained with the loader option -lmp.
DIAGNOSTICS
Illegal operations and running out of memory produce messages and core images.
MP(3X)