Solaris & Linux memory stress test?

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Solaris & Linux memory stress test?
# 1  
Old 07-20-2009
Solaris & Linux memory stress test?

I'm looking for a script or some other application that will use up a lot of memory on a Solaris or Linux server, in order to test a monitoring application. So far I have found a script that's good for CPU usage but it does nothing for memory. I have also tried the application called 'stress' (found here) but either it isn't using up enough memory to hit the monitoring threshold, or I'm not using it right, or it's just not suited to this kind of test.

So far the only method I have found is just lowering the threshold enough for an alarm to get sent, but that kinda seems like cheating n_n
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Network stress test.

Hi there. First things first, this is nothing to do with the internet or ISP speed, I know what that is, I know what it's doing. I have a cluster of 128 single board computers running a branch of Debian. I want to run some kind of stress test to ensure they can transfer data (a) to each... (2 Replies)
Discussion started by: MuntyScrunt
2 Replies

2. Solaris

Swap stress test

I was hoping to test a bug posted by oracle, which indicates that the system may crash when using a zfs volume as a swap device. We moved swap away from zfs and over to raw disk devices in order to stop the crashes we've been experiencing. What I wanted to do was to re-create the crash in a... (8 Replies)
Discussion started by: butchie3980
8 Replies

3. Solaris

Check Solaris Zones Processor & Memory allocations

Hi, I am a newbee in the solaris administration. My question is how to 1. Check the total CPU and memory of a global zone. 2. Check the allocated CPU and memory for each of the residing non-global zones. I have already tried prtconf which gives the following output /usr/sbin/prtconf... (4 Replies)
Discussion started by: poga
4 Replies

4. IP Networking

Stress Test a NIC

I need to find out if the NIC on my MP-RAS box is bad. Unfortunately just sending out a ping to the loop back is not going to cut it. I need to be able to send out packets of information for several minutes at a time. I can't seem to find a tool or command to do this. Is anyone aware of a way to... (1 Reply)
Discussion started by: wardduncan
1 Replies

5. UNIX for Advanced & Expert Users

linux memory buffers & cache usage

18:45:47 # free -m total used free shared buffers cached Mem: 96679 95909 770 0 1530 19550 -/+ buffers/cache: 74828 21851 Swap: 12287 652 11635 Hi all. The below output is from a RHEL 4.5... (0 Replies)
Discussion started by: drummerrob
0 Replies

6. Shell Programming and Scripting

Stress testing php files at Unix/Linux Command line

Hi, Your great help is very appreciated. I am looking for any Unix command or tool for doing Stress/Load test of php files at command prompt. I tried torture.pl but it is not working after20 concurrent threads/users. as it is very urgent for me..please suggest ur ideas asap. thanks (5 Replies)
Discussion started by: Malleswari
5 Replies

7. Programming

Stress testing memory using malloc in linux ??

Hi to all, Recently i am testing an equipment that runs in i586 fedora linux. I have to test mmap function. For that i determined to fill the memory and run the required application to check whether it throws any mmap error regarding low resources. This is the line that does the allocation. ... (3 Replies)
Discussion started by: frozensmilz
3 Replies

8. Solaris

how to stress the memory

Hi All, Is there way to stress memory on Solaris 10? If yes, how do I monitor the memory usage? (3 Replies)
Discussion started by: samnyc
3 Replies

9. Filesystems, Disks and Memory

Memory Test Solaris 2.6

Anyone know of the best tools for the job, I've used vmstat, prtdiag and dmesg but want somehting to really interogate the memory and report. Any ideas ? its on a SUN e6500 :D thanks (2 Replies)
Discussion started by: kie
2 Replies
Login or Register to Ask a Question
tiotest(1)																tiotest(1)

NAME
tiotest - Threaded I/O bench SYNOPSIS
tiotest [-h] [-W] [-f SizeInMB] [-d TestDir] [-b BlkSizeInBytes] [-r NumberRandOpsPerThread] [-t NumberOfThreads] [-T] [-c] [-L] [-S] [-R] [-D DebugLevel] [-k SkipTestNoN] DESCRIPTION
tiotest is a file system benchmark especially designed to test I/O performance with multiple running threads. OPTIONS
-h Display a brief help and exit. -W Instructs tiotest to wait for previous thread to finish before starting a new one in the writing phase. This results in the files to be sequentially allocated and thus prevents them to be fragmented. Of course the writeside test is not parallel then but in readside the files are physically more sequentially placed on the media (well this depends on the filesystem too). -f SizeInMB The filesize per threat in MBytes. Defaults to 10 MB. -d TestDir The directory in which to test. Defaults to ., the current directory. -b BlkSizeInBytes The blocksize in Bytes to use. Defaults to 4096. -r NumberRandOpsPerThread Random I/O operations per thread. Defaults to 1000. -t NumberOfThreads The number of concurrent test threads. Defaults to 4. -T More terse output. -c Consistency check data. This should be used for stresstesting the media rather than benchmarking (it will slow io and raise cpu percentage). It is especially usefull to seek media for very hard to detect errors. -L Hide latency output. -S Do writing synchronously. -R Use raw drives. -D DebugLevel Set the debug level. -k fISkipTestNoN Skip test number n. Could be used several times. Example: while tiotest -c -f 2000 ; do echo run ok ; done To get usefull results the used file sizes should be a lot larger than the physical amount of memory you have. A good idea is to boot with 16 Megs of RAM (Try passing the "mem=16M" option to the kernel to limit Linux to using a very small amount of memory) and into Single User mode only. SEE ALSO
tiobench(1), bonnie(1), hdparm(8) AUTHOR
tiotest was written by Mika Kuoppala <miku@iki.fi>. This manual page was written by Peter Palfrader <weasel@debian.org>, for the Debian GNU/Linux system (but may be used by others). Mac-2001 tiotest(1)