strace: command not found

# strace -p 17723
-bash: strace: command not found
# 

This is because strace not installed on the server. Install it with yum

# yum install strace
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for strace to pack into transaction set.
strace-4.5.16-1.el5.1.i38 100% |=========================|  15 kB    00:00
---> Package strace.i386 0:4.5.16-1.el5.1 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 strace                  i386       4.5.16-1.el5.1   base              163 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 163 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): strace-4.5.16-1.el 100% |=========================| 163 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: strace                       ######################### [1/1]

Installed: strace.i386 0:4.5.16-1.el5.1
Complete!
#
Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *