{"action":"created","issue":{"url":"https://api.github.com/repos/zevv/duc/issues/30","labels_url":"https://api.github.com/repos/zevv/duc/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/zevv/duc/issues/30/comments","events_url":"https://api.github.com/repos/zevv/duc/issues/30/events","html_url":"https://github.com/zevv/duc/issues/30","id":36567604,"number":30,"title":"Per user filtering","user":{"login":"ech3","id":7995517,"avatar_url":"https://avatars.githubusercontent.com/u/7995517?v=3","gravatar_id":"","url":"https://api.github.com/users/ech3","html_url":"https://github.com/ech3","followers_url":"https://api.github.com/users/ech3/followers","following_url":"https://api.github.com/users/ech3/following{/other_user}","gists_url":"https://api.github.com/users/ech3/gists{/gist_id}","starred_url":"https://api.github.com/users/ech3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ech3/subscriptions","organizations_url":"https://api.github.com/users/ech3/orgs","repos_url":"https://api.github.com/users/ech3/repos","events_url":"https://api.github.com/users/ech3/events{/privacy}","received_events_url":"https://api.github.com/users/ech3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-06-26T11:34:22Z","updated_at":"2015-04-21T00:31:47Z","closed_at":null,"body":"At work I have to monitor files that differ on a per-user basis, so it would be nice to produce graphs that are limited to a single user and / or use the data to produce a graph that showed the percentage of the disk space used by a specific user. This way I could send users graphs of the disk usage limited to their user.\r\n\r\nThe basic use case is I want to have a cron job that sends out an e-mail to each user telling them how much disk they are using as a percentage in a pie chart with all users listed, and below that another graph that shows them where their specific user's disk usage is concentrated in, which is a normal duc graph filtered for their user. The user could tell from the first graph whether they needed to take action, then from the second graph they could figure out where big files were if they wanted to delete them."},"comment":{"url":"https://api.github.com/repos/zevv/duc/issues/comments/94599608","html_url":"https://github.com/zevv/duc/issues/30#issuecomment-94599608","issue_url":"https://api.github.com/repos/zevv/duc/issues/30","id":94599608,"user":{"login":"ech3","id":7995517,"avatar_url":"https://avatars.githubusercontent.com/u/7995517?v=3","gravatar_id":"","url":"https://api.github.com/users/ech3","html_url":"https://github.com/ech3","followers_url":"https://api.github.com/users/ech3/followers","following_url":"https://api.github.com/users/ech3/following{/other_user}","gists_url":"https://api.github.com/users/ech3/gists{/gist_id}","starred_url":"https://api.github.com/users/ech3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ech3/subscriptions","organizations_url":"https://api.github.com/users/ech3/orgs","repos_url":"https://api.github.com/users/ech3/repos","events_url":"https://api.github.com/users/ech3/events{/privacy}","received_events_url":"https://api.github.com/users/ech3/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T00:31:47Z","updated_at":"2015-04-21T00:31:47Z","body":"Well my understanding of the UNIX file structure was that the real problem with this feature was that you had to do an additional request for inode information for each file to get file ownership info. Sorry, I would have to pull my APUE to remember the exact way things are organized and I don't have it handy. The problem is that if I have to re-index for each user, I would probably have to beat on the filers with more traffic is something that my IT department will not be particularly overjoyed about. I will admit that most of the time I am doing this I care mostly about one user who is particularly offensive in terms of disk usage.\r\n\r\nSince I don't grok the code the way you do, I don't know how is easy or difficult it is to add this, and don't have the ability to invest the time you do, I won't criticize you if you decide to implement this whatever way you need to."}}