Sponsored Content
Full Discussion: how to increase cpu load
Top Forums Shell Programming and Scripting how to increase cpu load Post 302694687 by learnbash on Friday 31st of August 2012 08:47:19 AM
Old 08-31-2012
Quote:
Originally Posted by jim mcnamara
google for this:
Code:
sourceforge.net: stress test

Assuming you want to clobber your system to test something.
I have already tried stress.

Code:
  stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 10s

It increase mostly server load, while i need to increase CPU/MEM.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

CPU load unit of measure?

If unix says my cpu load is 2.15 exactly what does that mean? --Jason (1 Reply)
Discussion started by: Mac J
1 Replies

2. AIX

Application high CPU load

after a long period of running, the network application's CPU load in our syst em increase slowly, the failed at the end. we use "truss" tool to trace the process, found that it processes something like "semop" ,"semctl","thread_waitlock","kread" kernel call . The trace log file looks like the... (0 Replies)
Discussion started by: Frank2004
0 Replies

3. Red Hat

High cpu load average

Hi Buddies, Thanx for reading my first post... After googling a lot and searching so many forums I am feeling down a bit... Please don't mind my ignorence, and my grammer ... :) My server is running RHEL 2.6.9-5.EL. The cpu load is going higher than roof, almost 100 sometimes. I am... (2 Replies)
Discussion started by: squid04
2 Replies

4. AIX

increase load for testing

Hi, Anyone know of a good procedure or command that will significantly increase the load of my server without crashing it? I want to run some threshold tests and monitor load, cpu and memory usage. Thanks Chris. (1 Reply)
Discussion started by: chlawren
1 Replies

5. Linux

How to find the load on CPU ?

Hi ALL, I have to develop a script which checks for the load on CPU on regular intervals. I created a simple script which uses 'uptime' command to find out the avg load in the last 5 min. I then used grep and put the value of the avg load in a variable OUT. It was working fine till... (5 Replies)
Discussion started by: vikings.svnit
5 Replies

6. Solaris

CPU load -12.50 in server.

Friends I have noticed that the Sun Fire v490 server with Solaris9 OS in my office, is showing a load of 12.50 during peak time and the CPU showing a max of 75% and an average of 60%. The Application running in this machine hung last month(For reasons unknown) and is running fine after... (5 Replies)
Discussion started by: Renjesh
5 Replies

7. Shell Programming and Scripting

awk & CPU Load

Deal All, I'm writing a simple awk to generate some sort of report. The awk will check 24 files (file generated each one hour in a wholoe day) and then it will print one field to another file for counting purposes. The script is working fine but the problem is that the CPU load is very high... (10 Replies)
Discussion started by: charbel
10 Replies

8. Red Hat

Load average in a multi CPU machine

I had the query as to whether the load average in a multi CPU machine should be (load average/no of CPUs) We have 4 CPU on our VMware RHEL instance, so the load average should be Load average/4. I hope, my question is clear. Please revert with the reply to my query. Regards (0 Replies)
Discussion started by: RHCE
0 Replies

9. UNIX for Dummies Questions & Answers

CPU load in video decoding using SAR

Hi, I'm John_giova and I'm new in this Forum. Sorry my english, it's not my first language. So, I'm trying to check the CPU utlization during the video encoding and decoding (making a comparison between SW and HW ) using the SAR tool. According to a past thread I saw as CPU utilization I should... (4 Replies)
Discussion started by: John_giova
4 Replies

10. UNIX and Linux Applications

Load above normal, qmail, bogofilter, increase CPU?

Hello, on my VPS load is above normal. It is around 2.00 all the time. But VPS has assigned: 1000 CPU units, one core. Does it mean VPS needs faster CPU, or can balance high load any other way? The load is 70% used by process: bogofilter the maillog file is full of: vps qmail:... (2 Replies)
Discussion started by: postcd
2 Replies
CRASHME(1)						      General Commands Manual							CRASHME(1)

NAME
crashme - test operating environment software robustness SYNOPSIS
crashme [NBYTES] [SRAND] [NTRYS] [NSUB] [VERBOSE] DESCRIPTION
crashme is a very simple program that tests the operating environment's robustness by invoking random data as if it were a procedure. The standard signals are caught and handled with a setjmp back to a loop which will try again to produce a fault by executing random data. Some people call this stress testing. COMMAND LINE OPTIONS [NBYTES] The [NBYTES] should be an integer, specifying the size of the random data string in bytes. If given negative then the bytes are printed instead of being executed. If given with an explicit plus sign then the storage for the bytes is freshly malloc'ed each time. This can have an effect on machines with seperate I and D cache mechanisms. The argument can also have a dot in it, X.Y, in which case Y is a increment for a pointer into the random data. The buffer is recalculated only when the pointer gets near the end of the data. [SRAND] The [SRAND] is an input seed to the random number generator, passed to srand. [NTRIES] The [NTRIES] is how many times to loop before exiting normally from the program. [NSUB] The [NSUB] is optional, the number of vfork subprocesses running all at once. If negative run one after another. If given as a time hrs:mns:scs (hours, minutes, seconds) then one subprocess will be run to completion, followed by another, until the time limit has been reached. If this argument is given as the empty string or . then it is ignored. When in sequential-subprocess mode there is a 30 second time limit on each subprocess. This is to allow the instruction-set-space random walk to continue when a process bashes itself into an infinite loop. For example, the ntrys can be bashed to a very large number with nbytes bashed to zero. (10 second limit on Windows NT). The SRAND argument is incremented by one for each subprocess. [VERBOSE] The [VERBOSE] arg is optional. 0 is the least verbose, 5 the most. EXAMPLE
This is a suggested test, to run it for a least an hour. crashme +2000 666 100 1:00:00 FILES
crashme.c DIAGNOSTICS
When a signal is caught the number and nature of the signal is indicated. Setting the environment variable CRASHLOG will cause each sub- process to record the arguments it was given. BUGS
Not all signals are caught, and the state of the user program/process enviroment can be sufficiently damaged such that the program termi- nates before going through all [NTRIES] operations. If the architecture uses some kind of procedure descriptor but no special code has been not been added to castaway() in crashme.c then the stress test will not be as potent as it would otherwise be. Beware: This program can crash your computer if the operating system or hardware of same is buggy. User data may be lost. AUTHOR
George J Carrette. GJC@world.std.com VERSION
2.4 20-MAY-1994 LOCAL CRASHME(1)
All times are GMT -4. The time now is 05:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy