This proved to be a bit more tricky, you need to set some environment variables first. ![]() You should also test the build before proceeding. I guess that’s owed at the relatively new Oracle client version. *PLEASE* notify dbi-users about exactly _why_ you had to build it this way. It is possible that it won’t be supported in future versions of DBD::Oracle. This kind of guess work is very error prone and Oracle-version sensitive. WARNING: I will now try to guess how to build and link DBD::Oracle for you. WARNING: Oracle /u01/app/martin/product/11.2.0/client_1/rdbms/lib/ins_rdbms.mk doesn’t define a ‘build’ rule. I was a bit surprised to see the following warning during the execution of the perl command. Using /u01/app/martin/product/11.2.0/client_1/rdbms/lib/ins_rdbms.mk Remember to actually *READ* the README file! Especially if you have any problems. ![]() This is particularly useful for installations on nagios servers to enable monitoring of Oracle databases directly through perl’s DBD::Oracle without those ugly “sqlplus -S….=) at Makefile.PL line 61.Ĭonfiguring DBD::Oracle for perl 5.010001 on linux (x86_64-linux-thread-multi) If you ( and you system administrator don’t mind mangling your distribution’s perl you might skip the first bit and continue straight with the section DBD::Oracle. I recommend not to mess around with your distribution’s perl, that’s why I will base it on ActivePerl 5.10 from. This article discusses how to compile DBD::Oracle for Oracle client 11.2 x86-64 on Linux (Fedora 12 to be precise). The “ouch” has been caused by my CTRL-c to stop the execution.Ĭollectl is organised to work by subsystems, the standard option is to print CPU, disk and network subsystem, aggregated. #cpu sys inter ctxsw KBRead Reads KBWrit Writes KBIn PktIn KBOut PktOut This is all you need to get started! The impatient could type “collectl” at the command prompt now to get some information. I suggest you get the archive-independent RPM and install it on your system. ![]() The project website including very good documentation is available from sourceforge as well, but uses a slightly different URL: Getting collectl is quite easy-get it from sourceforge: Especially in conjunction with the nmon-analyzer, an Excel plug in it can create very impressive reports. In the past I have used nmon to do similar things, and still love it for what it does. It can also play information back, but this is out of scope of this introduction. So why did I start with this? First of all, I was after a tool that records a lot of information on a Linux box. Some of you may have seen on twitter that I was working on understanding collectl.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |