I rather like agedu It probably does what you want. But as Mohammad says you do have to traverse your filesystem.
https://www.chiark.greenend.org.uk/~sgtatham/agedu/
From: gluster-users-bounces@xxxxxxxxxxx <gluster-users-bounces@xxxxxxxxxxx> on behalf of Alex Chekholko <alex@xxxxxxxxxxxxxx>
Sent: 01 May 2018 18:45 To: mohammad kashif Cc: gluster-users Subject: Re: Usage monitoring per user Hi,
There are several programs that will basically take the outputs of your scans and store the results in a database. If you size the database appropriately, then querying that database will be much quicker than querying the filesystem. But of course the
results will be a little bit outdated.
One such project is robinhood. https://github.com/cea-hpc/robinhood/wiki
A simpler way might be to just have daily/weekly cron jobs that output text reports, without maintaining a separate database.
But there is no way to avoid doing a recursive POSIX tree traversal, since that is how you get your info out of your filesystem.
Regards,
Alex
On Tue, May 1, 2018 at 5:30 AM, mohammad kashif
<kashif.alig@xxxxxxxxx> wrote:
|
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-users