12-13-2005
the command is simple, you can use
df|awk '{print $1 $3 $4}' | mail username
To make is check every 24 hours, you ll have to set this command as a cron job.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
DOES ANYONE KNOW IF THERE IS ANY C CODE YOU CAN USE WITHIN UNIX TO FIND THE REMAINING DISK SPACE ON A HARD DRIVE. (4 Replies)
Discussion started by: spu230479
4 Replies
2. Programming
Does anyone know any C code to get the remaining disk space ? (2 Replies)
Discussion started by: spu230479
2 Replies
3. Filesystems, Disks and Memory
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)
Discussion started by: Docboyeee
5 Replies
4. HP-UX
My HP9000 has 10 disks of 9.1 GB each.
With help of the fpmurphy (thank you) it is knowing that 8 of them are mirrored (using lvdisplay).
What should i do to know which is the existent free space after mirroring.
Regards (1 Reply)
Discussion started by: cgege
1 Replies
5. Programming
Hi,
Is there any way to calculate the size of a built in data type without using 'sizeof' operator? I also don't have the option to read it from std .h file.
regards
Apoorva Kumar (10 Replies)
Discussion started by: apoorvasharma80
10 Replies
6. Shell Programming and Scripting
Hi All,
I am very new to shell scripting. I have a text file which is the output of another utility. This text file has a list of SAF files which is basically a list of orphan attachments in the attachments directory. Now I want to read each file name from the file, get its size and repeat this... (6 Replies)
Discussion started by: RajeshReddy
6 Replies
7. Shell Programming and Scripting
I have some C++ code in the following directory structure
/home/chrisd/tatsh/trunk/hstmy/
├── baseLib
├── bin
│ ├── awk
│ ├── bash
│ ├── diag
│ ├── ksh
│ │ └── TAG201011
│ ├── old
│ ├── perl
│ ├── prog
│ ├── py
│ └── tcsh
├── docs
├── fortran
├── others... (0 Replies)
Discussion started by: kristinu
0 Replies
8. 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
9. UNIX for Beginners Questions & Answers
hi everyone
i have a backup share mounted with me on solaris 10 which have daily backups. everyday i need to calculate all individual sizes of files and need to report somewhere. e.g i have .rman 7backup files daily . what i need that is there any commnd or variation of du command which can add... (1 Reply)
Discussion started by: janakors
1 Replies
10. UNIX for Beginners Questions & Answers
hi everyone
i have posted this query but i dont where it has gone
i am posting again . my issue is that i have many backup files in a backup nfs share and i need to calculate it size just by adding their individual file sizes which is repetitive jobs. so is there any command or variation of du... (1 Reply)
Discussion started by: janakors
1 Replies
LEARN ABOUT SUNOS
sccs-comb
sccs-comb(1) User Commands sccs-comb(1)
NAME
sccs-comb, comb - combine SCCS deltas
SYNOPSIS
/usr/ccs/bin/comb [-os] [-csid-list] [-psid] s.filename...
DESCRIPTION
comb generates a shell script (see sh(1)) that you can use to reconstruct the indicated s.files. This script is written to the standard
output.
If a directory name is used in place of the s.filename argument, the comb command applies to all s.files in that directory. Unreadable
s.files produce an error; processing continues with the next file (if any). The use of `-' as the s.filename argument indicates that the
names of files are to be read from the standard input, one s.file per line.
If no options are specified, comb preserves only the most recent (leaf) delta in a branch, and the minimal number of ancestors needed to
preserve the history.
OPTIONS
The following options are supported:
-o For each `get -e' generated, access the reconstructed file at the release of the delta to be created. Otherwise, the recon-
structed file is accessed at the most recent ancestor. The use of -o may decrease the size of the reconstructed s.file. It
may also alter the shape of the delta tree of the original file.
-s Generate scripts to gather statistics, rather than combining deltas. When run, the shell scripts report: the file name,
size (in blocks) after combining, original size (also in blocks), and the percentage size change, computed by the formula:
100 * ( original - combined ) / original
This option can be used to calculate the space that will be saved, before actually doing the combining.
-csid-list Include the indicated list of deltas. All other deltas are omitted. sid-list is a comma-separated list of SCCS delta IDs
(SIDs). To specify a range of deltas, use a `-' separator instead of a comma, between two SIDs in the list.
-pSID The SID of the oldest delta to be preserved.
FILES
s.COMB reconstructed SCCS file
comb????? temporary file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsprot |
+-----------------------------+-----------------------------+
SEE ALSO
sccs(1), sccs-admin(1), sccs-cdc(1), sccs-delta(1), sccs-help(1), sccs-prs(1), sccs-prt(1), sccs-rmdel(1), sccs-sccsdiff(1), what(1), sccs-
file(4), attributes(5)
DIAGNOSTICS
Use the SCCS help command for explanations (see sccs-help(1)).
BUGS
comb may rearrange the shape of the tree of deltas. It may not save any space; in fact, it is possible for the reconstructed file to actu-
ally be larger than the original.
SunOS 5.10 1 Nov 1999 sccs-comb(1)