View previous topic :: View next topic |
Author |
Message |
grant123 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
roarinelk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/838331152404721ec919a4.jpg)
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 |
|
![](templates/gentoo/images/spacer.gif) |
grant123 Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
|