码迷,mamicode.com
首页 > 其他好文 > 详细

【翻译自mos文章】在hp-ux操作系统下以非root用户安装tusc

时间:2016-01-01 19:06:49      阅读:189      评论:0      收藏:0      [点我收藏+]

标签:

来源于:

Installing TUSC for HP-UX 11.00, 11.11,11.23,11.31(PA-RISC and Itanium) on the fly as a non-root user (文档 ID 314533.1)

 

APPLIES TO:

ALL PRODUCT ACCESS - Version: 
HP-UX PA-RISC (64-bit)
HP-UX PA-RISC (32-bit)
HP-UX Itanium

GOAL

The goal of this document is to help an Oracle user who does not have root permission get the TUSC trace utility installed on the HP-UX 11.0/11.11/11.23/11.31 server that does not have the TUSC tracing utility so that they can use TUSC to trace operating system calls in support of an Oracle related issue.

SOLUTION

1. Do ‘which tusc‘ and verify that tusc is not already on the box.  Also check /usr/bin and /usr/sbin directories for it

2. On a Windows PC via web browser go to the following link:

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.8/

3. The next few steps detail how to obtain TUSC for 11.11 (PA-RISC), please substitute your particular HP version and architecture type accordingly.  In the following row on the webpage, click on the HTTP link with the right mouse button to do a "Save Target as ..." and browse to a location that is easy to locate and save the file :

HP-UX 11i v1
(HP-UX 11.11)
PA-RISC
(64-bit)
Gzipped
Binary Depot
151 K 25 Sep 2004

4. Open a Command window and ftp to the HP server and set the ftp session into binary mode by typing "bin" and also "cd /tmp" and go to the location on the PC by doing a "lcd <location of the tusc file>"

5. ftp> put tusc-7.8-hppa-11.11.depot.gz

6. On the HP server go to the /tmp directory:  $ cd /tmp

7. $ gunzip tusc-7.8-hppa-11.11.depot.gz

8. $ tar xvf tusc-7.8-hppa-11.11.depot

9. $ cd /tmp/tusc/tusc-RUN/usr/local/bin

10.  Now you can run tusc against a process, e.g.

      $ tusc -aefo /tmp/tusc.out sqlplus ‘/ as sysdba‘

NOTE:  Since the location of the TUSC files in this example is in /tmp directory please be aware that they can be removed by the operating system at anytime. If you wish for them to be permanent then you need to move the tusc-7.8-hppa-11.11.depot.gz to a directory where you have permissions to create directories like your home directory "cd ~" and then perform steps 7 and above.

 

【翻译自mos文章】在hp-ux操作系统下以非root用户安装tusc

标签:

原文地址:http://blog.csdn.net/msdnchina/article/details/50440990

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!