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.