From: "Maurizio Fuschetto" <maufus@tin.it>
Subject: Memory consuming script for CSH
Date: Thu, 5 Sep 2002 16:24:26 +0000 (UTC) [thread overview]
Message-ID: <80b03cfdcc74c6f6130e83cf4a3db806.105464@mygate.mailgate.org> (raw)
Under Digital Unix 4.0F and csh, the following script:
while (1)
sleep 1
kill -USR2 `cat pidfile`
end
where pidfile contains a pid of a target process, cause the csh in which
is executed to eat lot of memory - say, about 500K per second.
Interrupting the script execution with CTRL-C, produces the csh to break
the script but NOT frees the allocated memory.
Replacing `cat pidfile` with a constant or using anything but kill (I
tried with echo) does not have such effect.
Some tips??
--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
next reply other threads:[~2002-09-05 16:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-05 16:24 Maurizio Fuschetto [this message]
2002-09-05 21:26 ` Memory consuming script for CSH Paul Szabo
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