Re: memory usage
Ray Andrews <[email protected]> Sun, 3 May 2026 17:45:32 -0700
| Newsgroups | gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <[email protected]> |
On 2026-05-03 17:24, Bart Schaefer wrote: > On Sun, May 3, 2026 at 5:16 PM Alexis <[email protected]> wrote: >> You could use ps(1). Inside the shell, you could run: >> >> $ ps -q $$ -o comm,rss,vsize > % ps > PID TTY TIME CMD > 179518 pts/0 00:00:00 zsh > 179522 pts/0 00:00:06 devilspie2 > 179533 pts/0 00:03:29 geany > 254999 pts/0 00:00:00 zsh > 255001 pts/0 00:00:00 devilspie2 > 255008 pts/0 00:00:00 ps > > % ps -p $$ -o comm,rss,vsize > COMMAND RSS VSZ > zsh 9640 13568 > The 'ps' above -- different terminal, restart shell, but only two mentions of zsh, vs. four in the other terminal, most perplexing. But at least the VSZ is the same. And if that's 13,566K, that's believable. So that's loaded, all in, functions and all? Then that's my number.