11-23-2008
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I display the size of a directory and contents witin a directory
df only gives me the mounts (3 Replies)
Discussion started by: t4st33@mac.com
3 Replies
2. UNIX for Dummies Questions & Answers
Hi Friends,
I'm a Oracle Dba first time working in Solaris, i have worked on linux (redhat). I want to see the size of the particular directory e.g oracle and also the size of the database files.
Thank you (1 Reply)
Discussion started by: shaan_dmp
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I want to display all the directories with ascending order in size. For example,
$ du -k .
1111111 ./dir1
222222222 ./dir2
333333333 ./dir3
444444444 ./dir4
How do i get the above desired result with du -k . command?
Thanks (1 Reply)
Discussion started by: welldone
1 Replies
4. Solaris
Hi,
We currently have an Oracle database running and it is creating lots of processes in the /proc directory that are 1000M in size. The size of the /proc directory is now reading 26T. How can this be if the root file system is only 13GB?
I have seen this before we an Oracle temp file... (6 Replies)
Discussion started by: sparcman
6 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I am using Red Hat linux system. I see my /work directory has used space 300GB. But there are so many sub directory under /work. I want to list each direcotry and under all subdirectory. But i want to know how much space occupied by each directory. What kind of command i can use to... (3 Replies)
Discussion started by: govindts
3 Replies
6. UNIX for Dummies Questions & Answers
hai,
I am new to Unix, I have a requirement to display owner name , directory or sub directory name, who's owner name is not equal to "oasitqtc".
(here "oasitqtc" is the owner of the directory or sub directory.)
i have a command (below) which will display all folders and sub folders, but i... (6 Replies)
Discussion started by: gagan4599
6 Replies
7. Shell Programming and Scripting
To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
Discussion started by: shaal89
0 Replies
8. UNIX for Dummies Questions & Answers
I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms.
Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies
9. UNIX for Beginners Questions & Answers
Hello guys,
Please i need to know the biggest files in my directory let's say$
>du -h | egrep 'M|G|G'
195M ./TMP
3.6M ./TP_DEC2012
146G .
But here the result it's giving me the biggest directory in the path.
Actually i want to know the biggest file in 146G .
Can anyone... (6 Replies)
Discussion started by: gillesi
6 Replies
10. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
NcdT(1) General Commands Manual NcdT(1)
NAME
ncdt - directory tree printer with extended capabilities
SYNOPSIS
ncdt [-db?] [--dirs] [--bitrate] [--prefix text ] [--help] [ directory [ name ]]
DESCRIPTION
ncdt is a small utility for printing directory trees. It has some additional features not found in tree(1). Additional capabilities are:
- size field for directories displays the summary size of directory subtree instead of the size of the special file (which is somewhat
more useful)
- sizes are displayed in a more readable format (that's a minor improvement, but it helps a little)
- MP3 files are detected; additional info is displayed for them (which is probably the nicest thing about NcdT) The info is displayed
in a compact form, like <2:53 v168JR+> where 2:53 is play time, v (if present) means the file is encoded using VBR, 168 is bitrate
(average bitrate for VBR files), J describes channel encoding (Mono, Stereo, Joint-Stereo, Dual channel), R (if present) means the
file has a RIFF header at the beginning, + (if present) means the file has ID3v2 tag attached - (if present) means there's no ID3
tag at all (none of these means there's only ID3v1 tag present).
NcdT is particularily nice for indexing CDs.
OPTIONS
-d --dirs
Print only directories, omit files. This mode is a rough equivalent of du(1).
-b --bitrate
Print bitrate info for directories. Bitrates are displayed both for ordinary files and directories. If all MP3 files in a given
directory subtree have the same bitrate only one number is printed, if they have various bitrates the range is printed.
--prefix text
Prefix listing with given text. This option is not intended for general use. It might be used by programs using NcdT to index CDsor
doing similar operations to record additional information.
-? --help
Display usage summary.
USAGE
When called without any parameters ncdt displays directory tree for current directory (.).
When called with one parameter ncdt displays directory tree for specified directory.
When called with two parameters ncdt displays directory tree for the directory specified as its first parameter. Second parameter is used
as directory label for the top level directory (instead of directory name from parameter 1).
EXAMPLES
ncdt prints directory tree for the current directory. It will be labeled .
ncdt /usr
prints directory tree of /usr. It will be labeled /usr
ncdt /cdrom 'CD #21'
prints directory tree of /cdrom. It will be labeled CD #21
ncdt -db /cdrom
lists directory sizes, play times and bitrate ranges
SEE ALSO
tree(1), du(1)
BUGS
NcdT uses quite a lot of memory. It's also not very fast, but on a decent CPU it should not be noticeable.
There are no real bugs I'm aware of. I don't think there are any now.
AUTHOR
Pawel Wiecek <coven@vmh.net>
NcdT(1)