tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: DISK QUOTA on Files
@ 1996-04-16 18:39 Pulak Rakshit
  0 siblings, 0 replies; only message in thread
From: Pulak Rakshit @ 1996-04-16 18:39 UTC (permalink / raw)
  To: tru64-unix-managers

The following people responded with a number of suggestion:

	Knut.Hellebo@nho.hydro.com
	BRENNAN@HAL.HAHNEMANN.EDU
	CJS35102%US0A20.decnet@usav01.glaxo.com
	rwa@cs.athabascau.ca
	hagan@cih.com

1. In csh/tcsh you have the 'limit' command, in sh/ksh you have the 'ulimit'
command.

2. Use AdvFS fetures.  Create a file set for the file you want limited.  
Set the 'file-set' quota to the maximum size you want the file to reach.  Move 
the file from the original partition or file set to this new file set.  Create
a soft (symbolic?) link from the original home of the file to the new file, or
if the file is in a directory by itself, simply mount the file set at the proper
location in your File system.

3. If you want to cut it back, you could have a job that runs every so 
    often that does something like ...

    	find /var/adm -name BIGLOGFILE -size +2000k \
    		-exec cat /dev/null > /var/adm/BIGLOGFILE \;


Thanks

Pulak

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-04-16 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-16 18:39 SUMMARY: DISK QUOTA on Files Pulak Rakshit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox