Re:

2014-07-20 Thread Tran Thuan
Hi all, I check that simple script by valgrind. root@linux-7qs3:[workspace] [] $ valgrind --leak-check=full ./script ==2274== Memcheck, a memory error detector ==2274== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==2274== Using Valgrind-3.6.1 and LibVEX; rerun with -h for

Re:

2014-07-16 Thread Tran Thuan
, 2014 at 3:23 AM, Chet Ramey chet.ra...@case.edu wrote: On 7/14/14, 12:46 AM, Tran Thuan wrote: I wrote a simple loop as following: while true; do sleep 1 echo hello done But the RSS (resident set size

[no subject]

2014-07-14 Thread Tran Thuan
Hi team, I am a user of bash. Could you help explain this? I wrote a simple loop as following: while true; do sleep 1 echo hello done But the RSS (resident set size) continue increase. (Check by ps command) Is it