But this will give the directories occupying maximum space. What my command is intended is to get the directories containing maximum number of files (size may be of smaller but count wise they will be high)
Does Solaris impose limits on :
- the maximum number of files a directory can have,
- total file size in a directory
If there is such limits, how can I can check for each?
Thanks...:confused: (1 Reply)
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
Hi legends,
I am writing a script, in that my requirement is, if all the fill types stored in one directory from that we need to separate different different directories based on the file types.
for example in a directory(anish). 5 different types files
1- directory
2- .txt files
2- .sh... (1 Reply)
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
Hi ,
I'm using Ksh 88
I've the following files in a directory with YearMonthDate (Ex:20130601)
YDT:FILE1:20130601
YDT:FILE1:20130615
YDT:FILE2:20130601
YDT:FILE2:20130615
YDT:FILE3:20130601
YDT:FILE3:20130615
And i need the files having maximum timestamp , Means i need to display ... (8 Replies)
how can i move "dataName".sql.gz into a folder called 'database' and then move "$fileName".tar.gz * .htaccess into a folder called 'www' with the entire gzipped file being "$fileName".tar.gz? Is this doable or overly complex.
so
mydemo--2015-03-23-1500.tar.gz
> database
-... (5 Replies)
Hi,
I'm using Kali linux, I think it's a debian linux ?
I'm trying to create a folder in which there'll be 256 folders, and in each of this folders there will also be 256 folders.
Then in each terminate folders I want to create 4096 files.
It will look like /dir/aa/aa/aaa.txt,... (3 Replies)
Discussion started by: ganon551
3 Replies
LEARN ABOUT DEBIAN
cacheadm
cacheadm(1) ShapeTools cacheadm(1)NAME
cacheadm - administer and configure AtFS derived object cache
SYNOPSIS
cacheadm [-Amax_cached_per_cacheattr] [-Nmax_cached_per_name] [-Tmax_total_cached] [-q] [-v] directories
DESCRIPTION
cacheadm provides control over the size of a derived object cache. You may set the maximum total number (T) of derived files to be stored,
the maximum number of derived files per name (N) and the maximum number of derived files with the same name and the same caching attribute
(A). Called without any options, cacheadm returns the actual sizes of the derived object caches in the named dirctories. An empty list of
directories causes cacheadm to operate on the current directory.
The relationship of the three cache size values must always be T >= N >= A. The caching attribute mechanism is described on the af_cache(3)
manual page. When calculating your caching sizes you should keep in mind that you may set the total size (T) to any value but your cache
will never grow bigger than N*number_of_names. Number_of_names is the number of source object histories in your directories, where derived
objects may be compiled from. If you set T to an astronomic value, the cache adapt it's size to the number of source histories automati-
cally.
In the current implementation, the caching sizes can only be increased. Reduction of the maximum cache size is only possible when the cache
is empty. Hence you have to clean your cache (atfsrepair -C (1)) first if you want to shrink its size.
OPTIONS -A max_cached_per_cacheattr
Set the maximum number of derived files with the same name and the same caching attribute to be stored. Default is 1.
-N max_cached_per_name
Set the maximum number of derived files with the same name to be stored. Default is 3.
-T max_total_cached
Set the total maximum number of derived files to be stored in the derived object cache. Default is 64. -q Quiet operation. Sup-
presses any output to stdout. This option does not affect error messages (stderr).
-v Output version identification string.
SEE ALSO chgrp(1), chmod(1), atfsrepair(1), af_cache(3)AUTHOR
Andreas.Lampen@cs.tu-berlin.de
AtFS-1.71 Thu Jan 13 15:30:55 1994 cacheadm(1)