how about putting 

  quota | awk '{if(NR>2){if($2>$3){printf("Quota exceced on %s by %i 
  blocks\n",$1,$2-$3)}}}'

(one line, naturally...) in the /etc/csh.login and /etc/profile?

-matt

-----------------------------------------------------------------------------
Matthew Nelson
Dynamics Technology, Inc. 
21311 Hawthorne Blvd., Suite 300, Torrance, CA 90503-5610
Voice: (310) 543-5433   FAX: (310) 543-2117   Email: [EMAIL PROTECTED]

On Wed, 16 Feb 2000, Adrian Walters wrote:

> got no response on this the last time but i figured i would try again.....
> 
> i already have quota set up on two of my partitions, now i want to be able
> to have it echo a message upon login that says when a user is over quota
> and by how much . i know this can be done on solaris, but i am not sure
> how to do on linux. can anyone point me in the right direction...
> 
> 
> 
> -- 
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
> 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to