zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: "Greg Sylvain" <gsylvain@landmark.com>, zsh-users@sunsite.auc.dk
Subject: Re: Problem w/ ulimit killing compiles on sol 2.4&2.6 ...
Date: Wed, 3 Feb 1999 11:23:42 -0800	[thread overview]
Message-ID: <990203112342.ZM12452@candle.brasslantern.com> (raw)

On Feb 3,  1:29pm, Greg Sylvain wrote:
> Subject: Re: Problem w/ ulimit killing compiles on sol 2.4&2.6 ...
> 
> 1 - where is the most appropriate place to put the unlimit call (~/.zshenv
> or ~/.zshrc).  I never have been able to figure out what goes where.

Stuff you want in every shell goes in .zshenv.
Stuff you want in any interactive shell goes in .zshrc.
Stuff you want only in login shells goes in .zprofile or .zlogin (depending
on whether it needs to precede or follow stuff that's in .zshrc; usually
you won't need both).

Often stuff from your first login shell is inherited by all other shells
(exceptions include shells started with "rsh host command"), so anything
like that should go in .zlogin to speed startup of other shells.

Hey, PWS, why isn't this in the FAQ?  It's probably THE most FAQ I've
ever seen.

> Currently, I only specify my path in ~/.zshenv and everything else is done
> in ~/.zshrc, is this correct ?

It might be.

I'd say put the unlimit in .zshenv, too; but it may be sufficient for your
usage to have it happen once the first time you log in, thus in .zlogin.

> 2 - is there any way to determine the amount of resources consumed by zsh
> and in what areas ?

Only by using the "ps" command or something like the /proc filesystem on
linux, as far as I know.


             reply	other threads:[~1999-02-03 19:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-03 19:23 Bart Schaefer [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-02-05  9:02 Peter Stephenson
1999-02-05  8:28 Bart Schaefer
1999-02-05  6:40 Andrej Borsenkow
1999-02-04 13:11 Peter Stephenson
1999-02-04  8:46 Peter Stephenson
1999-02-03 18:48 Sweth Chandramouli
1999-02-03 18:29 Greg Sylvain
1999-02-03 18:09 Greg Sylvain
1999-02-03 17:54 Bart Schaefer
1999-02-03 17:38 Greg Sylvain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=990203112342.ZM12452@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=gsylvain@landmark.com \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).