X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=adu.1.inc;h=b8be2e178af076472aa9e5620cf7d5ad2fb7ead5;hp=9faf62d1d3426f5b45e2823287a08f5ea6e67c40;hb=b7f46167a4bfd96be138e15274af3c01caa5e995;hpb=b556b0ba35fde1f0e3d0a61856e1ab74774d5d23 diff --git a/adu.1.inc b/adu.1.inc index 9faf62d..b8be2e1 100644 --- a/adu.1.inc +++ b/adu.1.inc @@ -1,4 +1,24 @@ [NAME] adu \- advanced disk usage +[EXAMPLES] + +.PP +The following example creates a database containing the disk usage +patterns of the /var directory: +.IP + $ adu --create --database-dir /root/adu-var --base-dir /var + +.PP +Here's a simple query that uses the newly created database to print +the user-summary: +.IP + $ adu --select --database-dir /root/adu-var + +.PP +The command below prints the five largest directories of the users root and +mysql: +.IP + $ time adu --select --database-dir /root/adu-var --select-options '--select-mode user_list --user root --user mysql --limit 5' + [SEE ALSO] .BR du (1)