LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2009, 10:59 PM   #1
sahil.jammu
Member
 
Registered: Jun 2008
Distribution: Ubuntu
Posts: 83

Rep: Reputation: 15
Workarea Issue - - Notify user with status


Hi Friends,

I needed some inputs on this, I am having a system set up with 8 users, all using common workarea and having their email addresses as –

user1@abc.com , user2@abc.com etc etc


Now I want to keep track of data usage of each user. Which I can check by du --max-depth=1 -h
This command does a complete traversal and gives details of all the user specific space usage and also total usage.

Now is there is some way out where we can directly email user with status on this particular date, or some kind of auto email send to user moment he crosses critical mark and reaches towards quota usage.
For example – All users on one particular day should get an email about their status usage.

Kindly provide your inputs.

THnx in advance.

Cheers,
Sahil
 
Old 04-03-2009, 08:24 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by sahil.jammu View Post
Hi Friends,

I needed some inputs on this, I am having a system set up with 8 users, all using common workarea and having their email addresses as –

user1@abc.com , user2@abc.com etc etc


Now I want to keep track of data usage of each user. Which I can check by du --max-depth=1 -h
This command does a complete traversal and gives details of all the user specific space usage and also total usage.

Now is there is some way out where we can directly email user with status on this particular date, or some kind of auto email send to user moment he crosses critical mark and reaches towards quota usage.
For example – All users on one particular day should get an email about their status usage.
Yes...write a script to run that command and pipe it into sendmail, to the various users on the system. Put the script in CRON to run whenever you'd like.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
notify user space application from the kernel space lordofring Linux - Software 2 06-22-2009 12:32 PM
DSL (The 'net connection) status issue Dralnu Linux - Networking 0 05-10-2006 10:40 PM
Tomcat Status 404 issue FirmbIT Linux - Software 18 04-22-2006 10:30 AM
Notify user of event through enlightenment/X11 Quantum0726 Linux - Software 5 07-25-2005 09:28 PM
PHP & Apache2 issue status? theetderks Linux - General 2 01-25-2004 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration