04-17-2009
Need Help With Quota Script
Hi everyone
I'm really new to all this but i need help creating a script that will produce the following for each user when they log on using bash
You are currently using 91% of your quota
Consider reducing your usage
The 10 biggest directories in your home directory are:
Size Directory
---- ---------
112K .gconf
136K old-cs362.tgz
136K performance
376K bin
384K cs362
384K old-home.tgz
392K yallara.web.tgz
456K .newsrc
664K old-cs262.tgz
672K .tin
I have no idea how to start this so all help would be appreciated
Last edited by Snoop180; 04-17-2009 at 04:26 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm new to Unix and I'm trying to determin how much space I have on this system. the box is dedicated to Oracle and I log in as the oracle user and type quota. It retrunes nothing. Then I log on as root and type quota -v oracle.. It returns nothing! Gosh this is actually a solaris 5.7 box. ... (1 Reply)
Discussion started by: jarthda
1 Replies
2. HP-UX
Hello,
I'm having some trouble with the quota's I've set on our HP-UX B.11.00 U 9000/800. Well not really with the quota's because I was able to set them and get them working without a problem but the problem resides somewhere with our AS/U (Advanced Server for HP9000 Release B.04.06.07 and... (5 Replies)
Discussion started by: chrizz
5 Replies
3. UNIX for Dummies Questions & Answers
Hi all!
I'm a user of Debian Etch. I've problem with my accoun't quota. After I removed all of my files from my home directory, and typed:
du -hs
It showed me:
76K .
But when I used quota command, it showed me:
Disk quotas for user X (uid *********):
Filesystem blocks quota ... (2 Replies)
Discussion started by: mjdousti
2 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I am new to Unix admin. Can anyone tell me how to set disk quota for the users in /export/home directory? Pls specify the exact command. Thanks (1 Reply)
Discussion started by: solaris5.10
1 Replies
5. Shell Programming and Scripting
Hi
I'm a student who is studying system administration. I need to write a perl script to allocate disk quota to users. I'm using ubuntu and When I try to run edquota command in command line it says that Can't find file system with quota. pls help me. I tried to edit fstab. but didn't work.
... (1 Reply)
Discussion started by: piumali
1 Replies
6. UNIX for Advanced & Expert Users
Hi,
I am trying to make a script in which the user is notified once the disk space of the environment increases a particular threshold.
I have made a script for it but I am facing an error while executing it.
Could any one here guide me further??
Script
#!/bin/sh
warninglimit=350000... (22 Replies)
Discussion started by: Taranjeet Singh
22 Replies
7. Red Hat
Hi,
I want to apply the user quota, but i am unable to apply the quota to user.
Kindly provide the guide line, so that i can sortout the problem.
Step 1: Create partion on device
#fdisk /dev/sda (because hard disk is scsi)
#n (new partition table) i.e /dev/sda8.
#p ( to print the partition... (2 Replies)
Discussion started by: sahu.tapan
2 Replies
8. Linux
I am running on CentOS 5.3 x86 64bit.
I setup quotas on /home as I thought successfully, I tested numerous times with a couple of different users. I login this morning and find my /home near 100% wondering what happened.
I have one user that some how blew through his 3.5 gig quota and... (1 Reply)
Discussion started by: beaker457
1 Replies
9. Windows & DOS: Issues & Discussions
Hi
I am Samba server which is working as a domain log on server for winxp client and user home directories are assigned 100MB quota on the linux drive.
I am trying to get below script working so that user gets informed of his disk space usage.
dim oFS, oFolder
set oFS =... (0 Replies)
Discussion started by: upengan78
0 Replies
10. Red Hat
I would like to set quota for ALL USERS on a particular filesystem and the quota to be set for NEWLY CREATED USERS also.
I am not sure, whether my question is clear. I can set quota for all users but my requirement is, I want the same quota to be set automatically for the user which is going... (2 Replies)
Discussion started by: atanubanerji
2 Replies
LEARN ABOUT DEBIAN
dist::zilla::app::command::build
Dist::Zilla::App::Command::build(3pm) User Contributed Perl Documentation Dist::Zilla::App::Command::build(3pm)
NAME
Dist::Zilla::App::Command::build - build your dist
VERSION
version 4.300020
SYNOPSIS
dzil build [ --trial ] [ --tgz | --no-tgz ] [ --in /path/to/build/dir ]
DESCRIPTION
This command is a very thin layer over the Dist::Zilla "build" method, which does all the things required to build your distribution. By
default, it will also archive your distribution and leave you with a complete, ready-to-release distribution tarball.
EXAMPLE
$ dzil build
$ dzil build --no-tgz
$ dzil build --in /path/to/build/dir
OPTIONS
--trial
This will build a trial distribution. Among other things, it will generally mean that the built tarball's basename ends in -TRIAL.
--tgz | --no-tgz
Builds a .tar.gz in your project directory after building the distribution.
--tgz behaviour is by default, use --no-tgz to disable building an archive.
--in
Specifies the directory into which the distribution should be built. If necessary, the directory will be created. An archive will not be
created.
AUTHOR
Ricardo SIGNES <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-21 Dist::Zilla::App::Command::build(3pm)