LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-02-2009, 03:45 PM   #1
sehgalnamit
LQ Newbie
 
Registered: Feb 2002
Location: punjab
Posts: 12

Rep: Reputation: 0
Stress Tools


Hi ,

Please help to provide the stress tools for the Linux Type operating systems.

1. CPU Stress
2. Memory Stress
3. Network Stress.
4. Hard Disk Stress.

I need these tools to test if the internal system (3rd party) can generate alerts if the threshoild reaches.

Thanks
Namit Sehgal
 
Old 03-02-2009, 03:52 PM   #2
tokico
Member
 
Registered: Jan 2009
Posts: 49

Rep: Reputation: 18
Try this forum topic:

http://www.ocforums.com/showthread.php?t=486495

It has lots and lots of tools to test the stress of CPU, Memory, Network and Hard Disk (I/O).
 
Old 03-02-2009, 04:39 PM   #3
sehgalnamit
LQ Newbie
 
Registered: Feb 2002
Location: punjab
Posts: 12

Original Poster
Rep: Reputation: 0
Many Thanks for providing thelink.

I am trying to untar the cpu stress file and its giving me block error:-

root@hdcp-aaaldap01 # tar -xvf cpuburn_1_4_tar.tar
tar: tape blocksize error


Can you please provide me the link for the file directly.

Same for the network , memory and hard drive.

Please mention after generating the load how can I kill the process.

Thanks
Namit Sehgal
 
Old 03-02-2009, 05:31 PM   #4
tokico
Member
 
Registered: Jan 2009
Posts: 49

Rep: Reputation: 18
It's because it's not a tar file. It's a tarball, or by other means, a gzipped tar file. Here's the direct link:

http://pages.sbcglobal.net/redelm/cpuburn_1_4_tar.gz

After downloading it, untar it with tar -xvzf cpuburn_1_4_tar.gz.

Enter into the extracted files directory: cd cpuburn-1.4

Then compile. Just type make

To stop the load, type "ps aux | grep [and the name of the program, e.g. burnMMX]" to find out the PID of the process causing the load.
Code:
tokico    6642 18.0 22.7 257592 116968 ?       Sl   21:42   8:41 /usr/lib/firefox-3.0.6/firefox
tokico    7048  0.0  0.1   3240   808 pts/0    S+   22:30   0:00 grep firefox
The PID is the 1st number after your username, in my case (firefox) is 6642. Then, to kill, type "kill 6642" or if it doesn't kill, "kill -9 6642".

Hope you understood.
 
Old 03-02-2009, 06:04 PM   #5
sehgalnamit
LQ Newbie
 
Registered: Feb 2002
Location: punjab
Posts: 12

Original Poster
Rep: Reputation: 0
After unzipping I got the below files:-

root@hdcp-aaaldap01 # ls -ltr
total 52
-rw-r--r-- 1 1000 sanadmin 3847 Jun 16 2001 README
-rwxr--r-- 1 1000 sanadmin 80 Jun 16 2001 Makefile
-rw-r--r-- 1 1000 sanadmin 5854 Jun 16 2001 Design
-rwxr--r-- 1 1000 sanadmin 1351 Jun 16 2001 burnP6.S
-rw-r--r-- 1 1000 sanadmin 1291 Jun 16 2001 burnP5.S
-rw-r--r-- 1 1000 sanadmin 3173 Jun 16 2001 burnMMX.S
-rw-r--r-- 1 1000 sanadmin 1397 Jun 16 2001 burnK7.S
-rw-r--r-- 1 1000 sanadmin 1258 Jun 16 2001 burnK6.S
-rw-r--r-- 1 1000 sanadmin 2505 Jun 16 2001 burnBX.S




How can i run the command for :-

root@hdcp-aaaldap01 # uname -a
SunOS hdcp-aaaldap01 5.10 Generic_127112-08 i86pc i386 i86pc



root@hdcp-aaaldap01 # prtdiag |more
System Configuration: IBM IBM eServer BladeCenter HS21 -[8853PNC]-
BIOS Configuration: IBM -[BCE130AUS-1.09]- 01/07/2008
BMC Configuration: IPMI 1.5 (KCS: Keyboard Controller Style)

==== Processor Sockets ====================================

Version Location Tag
-------------------------------- --------------------------
Intel Xeon Socket 1 CPU 1
Intel Xeon Socket 2 CPU 2

==== Memory Device Sockets ================================

Type Status Set Device Locator Bank Locator
------- ------ --- ------------------- --------------------
DDR in use 1 DIMM1 Slot 1
DDR in use 1 DIMM2 Slot 3
DDR in use 2 DIMM3 Slot 2
DDR in use 2 DIMM4 Slot 4
DDR empty 3 DIMM5 Slot 5
DDR empty 3 DIMM6 Slot 7
DDR empty 4 DIMM7 Slot 6
DDR empty 4 DIMM8 Slot 8

==== On-Board Devices =====================================
ATI RN50
Ethernet 1 BroadCom 5708S Ethernet Controller
Ethernet 2 BroadCom 5708S Ethernet Controller
LSI Logic SAS 1064E SAS Adapter

==== Upgradeable Slots ====================================

ID Status Type Description
--- --------- ---------------- ----------------------------



Thanks
Namit Sehgal
 
Old 03-03-2009, 10:56 AM   #6
tokico
Member
 
Registered: Jan 2009
Posts: 49

Rep: Reputation: 18
The downloaded files are not binary, so they cannot be executed. You have to compile them yourself. Inside the folder containing the extracted files (burnBX.S, burnK6.S, etc.), type "make". Make sure you have, before typing make, the make, gcc, and other compiling-related packages.

To find out what version ot CPUBurn you should use (each version, burnBX, burnK6, burnMMX, ... is optimized for a type of processor) you have to type "cat /proc/cpuinfo" and post here the result, so we can figure out what processor are you using (Xeon, but I need more info).

Then, if compilation worked, you should be able to type "./burn[we don't know this yet, eg MMX]" and run the CPU stress load. But be sure that the binaries that you compiled have permission to execute: "chmod u+x [the file, eg burnMMX]". The previous command will give that permission.

Hope it helped.
 
Old 03-03-2009, 11:04 AM   #7
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,787

Rep: Reputation: 211Reputation: 211Reputation: 211
All that is very good practice in linux but...

You can get cpuburn on the UBCD live-cd.

http://www.ultimatebootcd.com/download.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stress testing tools Risc91 AIX 7 10-10-2012 02:36 PM
Looking for Stress Test Tools for Web Servers SwoLy-D General 2 04-26-2006 06:23 PM
Stress relief DanTaylor General 17 04-02-2006 07:55 PM
Stress benchmarking linear Linux - General 0 01-13-2002 02:44 AM
Again, a moment of stress... c0c0deuz Linux - Software 6 11-21-2001 11:20 AM


All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration