01-10-2007
try this
du -hs directoryname
that will give you the total size of the directory
10 More Discussions You Might Find Interesting
1. 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
2. UNIX for Dummies Questions & Answers
Hi all,
Is there any built in function that can display the content of a directory showing the size of directories?
I want to see the content of a directory without recursion. I don't want to see the content of all subdirectories.
I want to see the contained files with their size and the... (6 Replies)
Discussion started by: chebarbudo
6 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
LEARN ABOUT DEBIAN
autodia
AUTODIA(1p) User Contributed Perl Documentation AUTODIA(1p)
NAME
autodia - a perl script using the Autodia modules to create UML Class Diagrams or documents. from code or other data sources.
INTRODUCTION
AutoDia takes source files as input and using a handler parses them to create documentation through templates. The handlers allow AutoDia
to parse any language by providing a handler and registering in in autodia.pm. The templates allow the output to be heavily customised from
Dia XML to simple HTML and seperates the logic of the application from the presentation of the results.
AutoDia is written in perl and defaults to the perl handler and file extension matching unless a language is specified using the -l switch.
AutoDia requires Template Toolkit and Perl 5. Some handlers and templates may require additional software, for example the Java SDK for the
java handler.
AutoDia can use GraphViz to generate layout coordinates, and can produce di-graphs (notation for directional graphs) in dot (plain or
canonical) and vcg, as well as Dia xml.
Helpful information, links and news can be found at the autodia website - http://www.aarontrevena.co.uk/opensource/autodia/
USAGE
"autodia ([-i filename [-p path] ] or [-d directory [-r] ]) [options]"
"autodia -i filename : use filename as input"
"autodia -i 'filea fileb filec' : use filea, fileb and filec as input"
"autodia -i filename -p .. : use ../filename as input file"
"autodia -d directoryname : use *.pl/pm in directoryname as input files"
"autodia -d 'foo bar quz' : use *pl/pm in directories foo, bar and quz as input files"
"autodia -d directory -r : use *pl/pm in directory and its subdirectories as input files"
"autodia -d directory -F : use files in directory but only one file per diagram" =item "autodia.pl -d directory -C : use
files in directory but skip CVS directories"
"autodia -o outfile.xml : use outfile.xml as output file (otherwise uses autodial.out.dia)"
"autodia -O : output to stdout"
"autodia -l language : parse source as language (ie: C) and look for appropriate filename extensions if also -d"
"autodia -t templatefile : use templatefile as template (otherwise uses template.xml)"
"autodia -l DBI -i "mysql:test:localhost" -U username -P password : use test database on localhost with username and password as username
and password"
"autodia -l Mason -i "/index.html" -p comp_root -G '$c' : use HTML::Mason to fetch /index.html from comp_root and show all components in
reach. -G corresponds to allow_globals."
"autodia -z : output via graphviz"
"autodia -Z : output via springgraph"
"autodia -v : output via VCG "
"autodia -s skipfile : exclude files or packagenames matching those listed in file"
c<autodia -D : ignore dependancies (ie do not process or display dependancies)>
"autodia -K : do not display packages that are not part of input"
"autodia -k : do not display superclasses that are not part of input"
"autodia -H : show only Public/Visible methods"
"autodia -m : show only Class methods"
"autodia -M : do not show Class Methods"
"autodia -a : show only Class Attributes"
"autodia -A : do not show Class Attributes"
"autodia -S : silent mode, no output to stdout except with -O"
"autodia -h : display this help message"
"autodia -V : display version and copyright message"
perl v5.12.4 2011-05-23 AUTODIA(1p)