LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-02-2016, 10:48 PM   #1
sysmicuser
Member
 
Registered: Mar 2010
Posts: 389

Rep: Reputation: 0
Unable to use stress program even after installation.


Hi Unix Gurus,

I installed "stress" program but not able to use it even after its installation. Please see below the output from console.
Code:
[jim@agent2 ~]$ stress
-bash: stress: command not found
[jim@agent2 ~]$ su - root
Password: 
[root@agent2 ~]# stress
-bash: stress: command not found
[root@agent2 ~]# yum search stress
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centos.mirror.crucial.com.au
 * extras: centos.mirror.crucial.com.au
 * updates: centos.uberglobalmirror.com
base                                                                                                                                                                         | 3.7 kB     00:00     
extras                                                                                                                                                                       | 3.4 kB     00:00     
puppetlabs-pc1                                                                                                                                                               | 2.5 kB     00:00     
puppetlabs-pc1/primary_db                                                                                                                                                    |  59 kB     00:00     
updates                                                                                                                                                                      | 3.4 kB     00:00     
========================================================================================= Matched: stress ==========================================================================================
systemtap-testsuite.x86_64 : Instrumentation System Testsuite
[root@agent2 ~]# yum install stress
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.mirror.crucial.com.au
 * extras: centos.mirror.crucial.com.au
 * updates: centos.uberglobalmirror.com
No package stress available.
Error: Nothing to do
[root@agent2 ~]# yum install systemtap-testsuite.x86_64 : Instrumentation System Testsuite
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.mirror.crucial.com.au
 * extras: centos.mirror.crucial.com.au
 * updates: centos.uberglobalmirror.com
No package : available.
No package Instrumentation available.
No package System available.
No package Testsuite available.
Resolving Dependencies
--> Running transaction check
---> Package systemtap-testsuite.x86_64 0:2.9-4.el6 will be installed
puppetlabs-pc1/filelists_db                                                                                                                                                  | 336 kB     00:02     
--> Processing Dependency: systemtap-server = 2.9-4.el6 for package: systemtap-testsuite-2.9-4.el6.x86_64
--> Processing Dependency: systemtap-sdt-devel = 2.9-4.el6 for package: systemtap-testsuite-2.9-4.el6.x86_64
--> Processing Dependency: systemtap = 2.9-4.el6 for package: systemtap-testsuite-2.9-4.el6.x86_64
--> Processing Dependency: perl(HTML::Entities) for package: systemtap-testsuite-2.9-4.el6.x86_64

...
....
..

Installation continues.

Installed:
  systemtap-testsuite.x86_64 0:2.9-4.el6                                                                                                                                                            

Dependency Installed:
  avahi.x86_64 0:0.6.25-15.el6         dejagnu.noarch 1:1.4.4-17.el6         expect.x86_64 0:5.44.1.15-5.el6_4   gcc-c++.x86_64 0:4.4.7-17.el6             glibc.i686 0:2.12-1.192.el6           
  glibc-devel.i686 0:2.12-1.192.el6    libstdc++-devel.x86_64 0:4.4.7-17.el6 nc.x86_64 0:1.84-24.el6             nss-softokn-freebl.i686 0:3.14.3-23.el6_7 perl-HTML-Parser.x86_64 0:3.64-2.el6  
  perl-HTML-Tagset.noarch 0:3.20-4.el6 systemtap.x86_64 0:2.9-4.el6          systemtap-client.x86_64 0:2.9-4.el6 systemtap-devel.x86_64 0:2.9-4.el6        systemtap-sdt-devel.x86_64 0:2.9-4.el6
  systemtap-server.x86_64 0:2.9-4.el6  tcl.x86_64 1:8.5.7-6.el6             

Dependency Updated:
  cpp.x86_64 0:4.4.7-17.el6                 gcc.x86_64 0:4.4.7-17.el6        glibc.x86_64 0:2.12-1.192.el6     glibc-common.x86_64 0:2.12-1.192.el6     glibc-devel.x86_64 0:2.12-1.192.el6     
  glibc-headers.x86_64 0:2.12-1.192.el6     libgcc.x86_64 0:4.4.7-17.el6     libgomp.x86_64 0:4.4.7-17.el6     libstdc++.x86_64 0:4.4.7-17.el6          systemtap-runtime.x86_64 0:2.9-4.el6    

Complete!
[root@agent2 ~]# stress
-bash: stress: command not found
[root@agent2 ~]# systemtap-testsuite
-bash: systemtap-testsuite: command not found
[root@agent2 ~]#
I wonder what I am doing wrong here?

Please guide me.

Thank you.
 
Old 06-02-2016, 11:34 PM   #2
rhamel
Member
 
Registered: Sep 2009
Location: Caribbean
Distribution: Slackware 14.2
Posts: 55

Rep: Reputation: Disabled
So, there's a website with documentation

https://sourceware.org/systemtap/Sys...systemtap.html

Check it out!
 
Old 06-03-2016, 12:18 AM   #3
sysmicuser
Member
 
Registered: Mar 2010
Posts: 389

Original Poster
Rep: Reputation: 0
Even though the name of package is same the one you have given seems to be different. I want to induce high cpu and memory on my machine and see the output.

stap doesn't seems to be doing that.
 
Old 06-03-2016, 12:19 AM   #4
sysmicuser
Member
 
Registered: Mar 2010
Posts: 389

Original Poster
Rep: Reputation: 0
stap and stress are two different commands.
 
Old 06-03-2016, 01:55 AM   #5
sysmicuser
Member
 
Registered: Mar 2010
Posts: 389

Original Poster
Rep: Reputation: 0
Here we go:

Problem solved:
http://pkgs.repoforge.org/stress/

Installed it using
rpm -Uvh <package name>
 
  


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
write stress to file? run vmstat/iostat simultaneously with stress commands rmcateer Programming 5 02-27-2015 07:27 PM
Good network performance/stress test program??? dbrazeau Linux - Software 3 05-18-2010 05:56 PM
Eat Mem/CPU program for Stress Testing steak-house Linux - Software 7 04-10-2008 01:25 PM
pre-compiled CPU stress program for linux glock19 Linux - General 1 11-01-2001 12:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:31 PM.

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