Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Script for continuous RAM activity?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1099

PostPosted: Wed Feb 05, 2014 6:30 pm    Post subject: Script for continuous RAM activity? Reply with quote

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
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Thu Feb 06, 2014 7:16 am    Post subject: Reply with quote

how about:

PORTAGE_TMPDIR=/tmp while true ; do emerge --buildpkgonly sys-devel/gcc ; done

this will keep RAM and CPU busy :)
Back to top
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1099

PostPosted: Thu Feb 06, 2014 2:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum