In my Solaris 10 based server, I have noticed the following mounts when a use DF -K
/dev/dsk/c0t0d0s0 5062414 3213876 1797914 65% /
/ 5062414 3213876 1797914 65% /net/se420
I understand the first mount because it appears in my vfstab file and is the mount of root that I would expect.... (1 Reply)
ok i am setting up a script to run daily using crontab. This script will search the root filesystem and delete any and all core files. I have set up this script
The only problem i get with this script is it searches for directories and attempts to delete them. Since i have probably... (7 Replies)
Hi there all,
#!/usr/bin/ksh
Set -x
MIN_MB_FREE="100MB" # Min. MB of Free FS Space
MAX_PERCENT="85%" # Max. FS percentage value
FSTRIGGER="1000MB" # Trigger to switch from % Used to MB Free
WORKFILE="/tmp/df.work" # Holds filesystem data
>$WORKFILE #... (0 Replies)
I'd like to create a cron script that checks filesystems. For example if it reaches 95% USED, I'd like it to send me an email. Can this be possible for up to say 4 filesystems using the df -k command? Any samples to get me started would be much appreciated. (7 Replies)
Hi all,
I got an error when running this script (from BigAdmin community)
the error is
test: argument expected
my server version is
SunOS XXX 5.8 Generic_117350-46 sun4u sparc SUNW,Sun-Fire-V890
any idea on it?
#! /usr/bin/ksh
###
### This script can be run from cron to... (9 Replies)
Hi all.
New to the forum and new to Unix admin... / filesystem filled up and I can't find where the large files are. Any help will be apppreciated:
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c1t0d0s0 8063580 7941745 41200 100% /
/proc ... (4 Replies)
As I am new to the Unix field, I would like to get the clarification regarding the Filesystem.
The scenario is.. The filesystem (/drbackup) is getting monitored and if it exceeds the threshold, we will receive an alert from it. The issue is that we receive an alert with the description of... (2 Replies)
Hi,
I am new to shell scripting in unix HP-UX.
I need to determine how much a perticular file system is full and if it goes over 80% it should notify through mail about which are the files which are greater than 1 GB size.
I used df -k command it is showing the alloocated KB and the %used... (14 Replies)
Discussion started by: Soma Das
14 Replies
LEARN ABOUT OSF1
vdf
vdf(8) System Manager's Manual vdf(8)NAME
vdf - Display disk information for AdvFS domains and filesets
SYNOPSIS
/sbin/advfs/vdf [-k] [-l] domain | domain#fileset
OPTIONS
Display disk blocks as 1024-byte blocks instead of the default of 512-byte blocks. When the -l option is specified, the default informa-
tion for both the domain and filesets is reformatted to show the relationships between them. For example, any domain metadata displayed is
the total metadata shared by filesets in the domain.
OPERANDS
The full path name of an AdvFS file domain.
When a domain argument is specified, the default display contains information about the number of disk blocks allocated to the
domain, the number of disk blocks in use by the domain, and the number of disk blocks that are available to the domain. The name of
an AdvFS fileset in an AdvFS file domain.
When a domain#fileset argument is specified, the default display contains information about the number of disk blocks allocated to
the fileset, the number of disk blocks in use by the fileset, and the number of disk blocks that are available to the fileset. This
information is in the same format as that displayed by the df command.
DESCRIPTION
The vdf utility is a script that reformats output from the showfdmn, showfsets, shfragbf, and df utilities in order to display information
about the disk usage of AdvFS file domains and filesets. In addition, the utility computes and displays the sizes of metadata files in a
domain or fileset.
NOTES
The disk space used by clone filesets is not calculated.
If clone filesets are present in the specified domain, the utility displays the following warning message: Clone fileset(s) in this domain;
totals may not be accurate
RESTRICTIONS
You must be the root user to use this command.
The command cannot be used on filesets that are NFS mounted.
All filesets in a domain must be mounted in order to calculate the disk usage of the domain.
EXIT STATUS
The utility returns a value of 0 (zero) on successful completion. It returns a value of 1 on failure.
EXAMPLES
The following example shows the summary information for a fileset named testfs in a domain named test. The output is the same as for the
df command: # vdf test#testfs Filesystem 512-blocks Used Available Capacity Mounted on test#testfs 60000 20800 39200
35% /mnt The following example shows the summary information for a domain named usr_domain where the number of blocks used for meta-
data and data equal 89% of the domain's capacity: # vdf usr_domain Domain 512-blocks Metadata Used Available Capacity usr_domain
65536 11219 47549 6768 89% The following example shows a detailed display of the domain that contains the fileset
test#testfs. There are two filesets in the domain; each has a quota limit of 60,000 blocks: # vdf -l test#testfs Domain 512-blocks
Metadata Used Available Capacity test 266240 5824 29128 231288 13%
Fileset QuotaLimit Used Available Capacity testfs 60000 20800 39200 35% testfs2 60000
8328 51672 14% The following example shows a detailed display of a fileset that is the only fileset in the domain and that
the fileset has a quota limit that is greater than the domain can hold: # vdf -l test#testfs Domain 512-blocks Metadata Used Avail-
able Capacity test 266240 5824 29128 231288 13%
Fileset QuotaLimit Used Available Capacity testfs 300000 20800 231288 8%
FILES SEE ALSO
Commands: df(1), showfdmn(8), showfsets(8), shfragbf(8)
Files: advfs(4)vdf(8)