X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=adu.1.inc;h=1bf06c214873ba132cc5a01d4aba046aeb399c16;hb=e013b5cf3657d02b3eea27cf8e77d84ac3210a5d;hp=b8be2e178af076472aa9e5620cf7d5ad2fb7ead5;hpb=b7f46167a4bfd96be138e15274af3c01caa5e995;p=adu.git diff --git a/adu.1.inc b/adu.1.inc index b8be2e1..1bf06c2 100644 --- a/adu.1.inc +++ b/adu.1.inc @@ -13,12 +13,27 @@ 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 +To print the one-line global summary instead, use +.IP + $ adu --select --database-dir /root/adu-var --select-options '--select-mode global_summary' +.PP +To sort the user summary by file count rather than by file size, run +.IP + $ adu --select --database-dir /root/adu-var --select-options '--list-sort=file_count' .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' + $ adu --select --database-dir /root/adu-var --select-options '--select-mode user_list --user root --user mysql --limit 5' +.PP +The same, using short options: +.IP + $ adu -Sd /root/adu-var -s '-m user_list -u root -u mysql -l 5' +.PP +Again the same, but omitting /var/cache: +.IP + $ adu -Sd /root/adu-var -s '-m user_list -u root -u mysql -l 5 -p !^cache/' [SEE ALSO] .BR du (1)