Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
server-administration:installing-iotop-centos5 [2011-04-28 11:43:04]
garrett.plasky [Pre-Requisites]
server-administration:installing-iotop-centos5 [2011-04-28 11:43:43]
garrett.plasky [Installing & Configuring IOTop]
Line 18: Line 18:
 Let's install the RPM: Let's install the RPM:
  
-<sxh bash>rpm -ivh http://​guichaz.free.fr/​iotop/​files/​iotop-0.4.1-1.noarch.rpm</​sxh>​+<sxh bash; auto-links: false>rpm -ivh http://​guichaz.free.fr/​iotop/​files/​iotop-0.4.1-1.noarch.rpm</​sxh>​
  
 Now, CentOS will typically keep Python2.4 as your default Python, so we can tell IOTop to use Python 2.6 in two ways. One would be to relink the <​c>/​usr/​local/​bin/​python</​c>​ binary to <​c>/​usr/​local/​bin/​python2.6</​c>,​ or we can simply change the sha-bang at the beginning of the iotop script to use he 2.6 binary instead. We choose the latter so as to not break compatibility with Python2.4-exclusive scripts. Now, CentOS will typically keep Python2.4 as your default Python, so we can tell IOTop to use Python 2.6 in two ways. One would be to relink the <​c>/​usr/​local/​bin/​python</​c>​ binary to <​c>/​usr/​local/​bin/​python2.6</​c>,​ or we can simply change the sha-bang at the beginning of the iotop script to use he 2.6 binary instead. We choose the latter so as to not break compatibility with Python2.4-exclusive scripts.