Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Script to show space usage by user in home partition

by gaal (Parson)
on Jan 12, 2007 at 06:57 UTC ( [id://594319]=note: print w/replies, xml ) Need Help??


in reply to Script to show space usage by users in home partition

    > We don't do hard quotas, but I am thinking of ways to nip these situations in the bud, as it were.

Perhaps you should do hard quotas. :-)

I'm no fan of the bureaucratic process of looking for someone to grant me more space. But if it happens often that (for example) developers on your server accidentally leave some tool running in a very high debug level, it's easier for them to ask for more space when they need it than for you to start hunting the offending dev when *you* (and everyone else) needs it.

This depends on the usage of the server, of course -- I'm only recommending this because it sounds like you've had this occurrence frequently. On feather, Juerd++ just made a note asking people nicely to clean up after themselves and I'm pretty sure they did. Of course that requires noticing a problem before it turns critical.

  • Comment on Re: Script to show space usage by user in home partition

Replies are listed 'Best First'.
Re^2: Script to show space usage by user in home partition
by OfficeLinebacker (Chaplain) on Jan 12, 2007 at 07:10 UTC

    I guess I should have said "they won't do hard quotas." I'm not a sysadmin so I don't have the right to do that, and when I requested it the admin guys said it was too "Big Brother" ish or something. Well, when some inconsiderate person is just too lazy or "in a hurry" to do their work in one of the other partitions that are there for exactly this kind of thing (I believe the cuplrit(s) was/were large dataset(s) and/or log file(s))causing problems where my other users can't even log in to their workstations, it's kind of annoying.

    I don't want to have to run around to peoples' offices at 6 pm asking them to delete some files so that things won't get even more fubar. At the very least this program or some incarnation thereof will end up as a bookmarked CGI script so that myself or someone else can look up the space usage and ask someone person to move their music files out of their roaming profile and on to the workstation hard drive or delete their log files or move their datasets or whatever.

    Sorry if I am a little cranky, but I had to work late today because of this and missed getting to spend time with my wife and kid.

    My boss is a big fan of the public accountability thing; he had me write a web page where each person records if they've tested access to certain websites that they're supposed to be able to get to in an emergency. When he outlined it for me he said like "the checklist on the back of bathroom doors at fast food restaurants." I figure publicly posting disk space usage is something that will be right up his alley.


    I like computer programming because it's like Legos for the mind.

      I see from one of your other posts that you're restricted by sudo to a small set of commands, so you're unlikely to be able to run this directly, but...

      durep is really nice for this sort of thing:

      durep creates disk usage reports with bar graphs, allowing one to easily deduce which directories are using the most space. Although durep can produce text output similar to du, its real power lies in the ability to store reports in a file, which can then be viewed as a web page with the supplied cgi script

      Who knows, your boss may like this enough to possibly persuade your sysadmins to install it ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://594319]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2024-04-24 07:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found