Re: memory usage

Bart Schaefer <[email protected]> Sun, 3 May 2026 17:24:38 -0700
Newsgroups gmane.comp.shells.zsh.user
Message-ID <CAH+w=7bs860duyxhOu+PUxBQDq9eD9VV7R=DeVDhvpdeazrZcg@mail.gmail.com>
On Sun, May 3, 2026 at 5:16=E2=80=AFPM Alexis <[email protected]> wrote:
>
> You could use ps(1). Inside the shell, you could run:
>
>   $ ps -q $$ -o comm,rss,vsize

-q isn't portable, better to use -p.