[mythtv-users] `Mythbackend leaks memory` continued
Udo van den Heuvel
udovdh at xs4all.nl
Fri Jul 11 18:11:19 UTC 2008
Jay R. Ashworth wrote:
> On Thu, Jul 10, 2008 at 04:17:26PM +0200, Udo van den Heuvel wrote:
>> So far:
[snip]
> Did you use (or create) a tool to capture those numbers? Or just do it
> manually?
I used a small cron job:
$ crontab -l
4 5 * * * /bin/ps aux | /bin/grep /usr/bin/mythbackend | /bin/grep -v
grep >> ~/psmyth.txt
(all on one line)
This logs, every 24 hours, at 5:04 in the morning the ps aux line for
mythbackend.
This line shows real and virtual process sizes, % of real memory used, etc
(see the heading of `ps aux` and the man page)
Udo
More information about the mythtv-users
mailing list