Well check for big directories in this logical tree:
----------------
Recreating the directory tree has the advantage that directories will be low in every directory, shortening directory transit time. If a directory has many files and then a directory is added, it is a long search every time that directory is located. Of course, this points to the wisdom of keeping big collections of files in leaf directories, where nobody will be traversing.
Last edited by DGPickett; 11-11-2010 at 12:54 PM..
Can you give a very basic definition of file system vs. directory in unix. The context is around monitoring for disk capacity maxing out.
Why would /appl/sbe/inst_2/config/logs not be able to be because it is a directory
but appl/cce can be monitored because it is a unix file system. They... (1 Reply)
I have a question and seek help. How many directory can be mounted on one file system on UNIX with solaris 9? For example, I have one file system as /dev/dsk/cieit0a6. I have created one directory as /u01/app/oracle and mounted this directory to cieit06. It works. Then I create another directory as... (4 Replies)
Hi all,
Complete and utter virgin Unix person here (I don't even have the OS yet)
As I'm doing a "looking into it" kinda thing before I move from MS I hope my questions are not inappropriate.
1. Should I get some kind off anti virus software. I know Unix is pretty good for not getting them... (2 Replies)
Hi All,
I want to find the percentage occupied by the directory in the file system.
Say, i have the file system
/home/arun/work
under this file system i have the directories
/home/arun/work/yesterday
/home/arun/work/today
/home/arun/work/tomorrow
The size of the file system is... (5 Replies)
I need to write a script which will check all the directories in / and find out which is separate filesystem or a directory inside /
suppose i have
/application -->/dev/hdisk0 is a partitiom
/abc --> is a directory
/xyz-->is a directory
/db-->/dev/hdisk1 is a partition
actually my / gets... (2 Replies)
I need to change how a posting procedure currently works in order to improve load balancing but I am hitting a potential file contention problem that I was wondering if someone here could assist me with...
In a directory called FilePool I would have a bunch of files that are constantly coming in... (3 Replies)
Hey,
I actually do have a question which seems rather easy for those you know more about this topic, since I am pretty new to bashscripting and don't know where it's limits are I have to ask you guys :)
Imagine a system where all possible code execution methods (binary executables or... (15 Replies)
Hi Experts,
Need some help with a script which is definetly beyond my scripting skills.
Here is flat file that I have with 4 Key Columns
KEYCOLUMN1 KEYCOLUMN2 KEYCOLUMN3 KEYCOLUMN4
123ABC AEG MANCHESTER BIGBOX... (2 Replies)
Discussion started by: PG3
2 Replies
LEARN ABOUT HPUX
add_directory
add directory(1m) add directory(1m)NAME
add directory - Adds a value to a modifiable, set-valued attribute (including application-defined attributes) of a directory
SYNOPSIS
cdscp add directory directory-name attribute-name = attribute-value
ARGUMENTS
The full name of the directory. The name of a particular attribute. Specify only one attribute at a time. See the cds_attributes file
for the list of attributes that your application uses. attribute-value The value of a particular attribute. The value of an application-
defined attribute is dependent on the type of attribute. See the cds_attributes file for the list of attributes and corresponding data
types that your application uses. If you enter a byte data type, you must enter an even number of digits in length. You can only enter
pairs of hexadecimal values for user-defined attributes.
DESCRIPTION
The add directory command adds a value to a modifiable, set-valued attribute (including application-defined attributes) of a directory. If
the attribute does not exist, this command creates it. Usually, this task is performed through the client application. See the DCE Admin-
istration Guide for more information about attributes.
Privilege Required
You must have write permission to the directory.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
To add the value ontario to the attribute myname of a directory named /.:/sales, read the cds_attributes file to verify that the attribute
shown in the following display exists:
OID LABEL SYNTAX
1.3.22.1.3.91 myname char
Enter the following command to assign the value ontario to the attribute myname: cdscp> add directory /.:/sales myname = ontario
RELATED INFORMATION
Commands: remove directory(1m), show directory(1m)
Books: OSF DCE Administration Guide
add directory(1m)