Hey there again... If you need to exhaust the linux OS memory to its limits there is an useful tool at: http://people.seas.harvard.edu/~apw/stress/
You can find the most accurate information there for that tool. I found there places with follow steps and these were not updated, so in a while mine also might be obsolete, anyway here we go:
Step 1 Get the tool
Step 2 Build/Install it
Step 3 Execute it
# wget http://people.seas.harvard.edu/~apw/stress/stress-1.0.4.tar.gz
# tar -xvf stress-1.0.4.tar.gz
# cd stress-1.0.4
# ./configure
# make
# sudo make install
# stress --help
# stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 10s
stress: info: [4487] dispatching hogs: 8 cpu, 4 io, 2 vm, 0 hdd
stress: info: [4487] successful run completed in 10s
alex@acer-kozlex:~/tmp$
note: make sure you have gcc installed #yum install gcc
Enjoy!
P.S. Currently there is a proposal to change New Zealand flag
You can find the most accurate information there for that tool. I found there places with follow steps and these were not updated, so in a while mine also might be obsolete, anyway here we go:
Step 1 Get the tool
Step 2 Build/Install it
Step 3 Execute it
# wget http://people.seas.harvard.edu/~apw/stress/stress-1.0.4.tar.gz
# tar -xvf stress-1.0.4.tar.gz
# cd stress-1.0.4
# ./configure
# make
# sudo make install
# stress --help
# stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 10s
stress: info: [4487] dispatching hogs: 8 cpu, 4 io, 2 vm, 0 hdd
stress: info: [4487] successful run completed in 10s
alex@acer-kozlex:~/tmp$
note: make sure you have gcc installed #yum install gcc
Enjoy!
P.S. Currently there is a proposal to change New Zealand flag
No hay comentarios:
Publicar un comentario