View previous topic :: View next topic |
Author |
Message |
grant123 Veteran

Joined: 23 Mar 2005 Posts: 1099
|
Posted: Wed Feb 05, 2014 6:30 pm Post subject: Script for continuous RAM activity? |
|
|
I have /tmp mounted to tmpfs. Is there a simple script I could use to keep the RAM active but not saturated so I can debug something? |
|
Back to top |
|
 |
roarinelk Guru


Joined: 04 Mar 2004 Posts: 520
|
Posted: Thu Feb 06, 2014 7:16 am Post subject: |
|
|
how about:
PORTAGE_TMPDIR=/tmp while true ; do emerge --buildpkgonly sys-devel/gcc ; done
this will keep RAM and CPU busy :) |
|
Back to top |
|
 |
grant123 Veteran

Joined: 23 Mar 2005 Posts: 1099
|
Posted: Thu Feb 06, 2014 2:48 pm Post subject: |
|
|
Actually any heavy system activity seems to do it. I'm really not sure if it's CPU, I/O, or RAM. I'm going to experiment with 'stress'. I'd like to find something I can keep running all the time. |
|
Back to top |
|
 |
|