tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Leonardo Mosquera <lmosquer () col1 ! telecom ! com ! co>
To: tru64-unix-managers
Subject: SUMM 2: core question
Date: Thu, 16 Jul 1998 21:54:02 +0000	[thread overview]
Message-ID: <96078715811738.tru64-unix-managers.marc@archive.invalid> (raw)

Hi folks I got this last recomendation from  Burch Seymour RTPS
<bseymour@ns.encore.com>, and it seems to me very useful, so I think
would be good idea to share it:

"Another, less generic way, is to create a directory called 'core' in
the directory where a core file is likely to appear. Like the one you
are running the core-dumping-application from. Unix won't create a core
file if there is a core directory already there. This provides some
degree of tuning in case you want some core dumps but not others...."

Regards,

Leonardo Mosquera
System Manager
Internet Telecom
Colombia


Leonardo Mosquera wrote:
> 
> Hi everybody, I got these answers from
> 
> 1) Richard Westlake <r.westlake@mail.cryst.bbk.ac.uk>
> 2) Girish Phadke <pgirish@binariang.maxisnet.com.my>
> 
> My question was:
> 
> Hi everybody, I remember that something about this question was
> answered some time ago, but I can't find it, so I know that this
> wonderful list has the answer, how can I stop coredumps from being
> generated even for root? I have DU 4.0B and 4.0D, thanks a lot for your
> help.
> 
> The answers are in order:
> 
> 1) Try the shell command limit coredumpsize size
> 
> the limit command on ists own will show the current limits
> e.g.
> # limit
> cputime         unlimited
> filesize        unlimited
> datasize        131072 kbytes
> stacksize       2048 kbytes
> coredumpsize    unlimited
> memoryuse       152848 kbytes
> vmemoryuse      1048576 kbytes
> descriptors     4096
> 
> for csh use limit
> for sh and ksh use ulimit
> 
> ulimit -c is for core dumps ( I think)
> look at the man pages for sh
> its is near the end of man 1b sh
> 
> 2) you can set in /etc/profile for ksh
> ulimit -c 0
> to limit coredump size to 0
> But user can change...this
> 
> You can limit core dumping capablity which user can not change in C2
> level security .
> 1) enable C2 level security
> 2) use edauth or dxaccount to add entry u_rlimit_core#0  if you defined
> default template
> update the template also.
> 
> Thanks to you,
> 
> Leonardo Mosquera
> System Manager
> Internet Telecom
> Colombia

                 reply	other threads:[~1998-07-16 21:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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