1、查看tusc是否安装在默认目录
引用# which tusc
2、下载tusc
3、上传至服务器,并将其解压
# ll tusc-8.0-ia64-11.23.depot*
-rw-r--r-- 1 root sys 983040 Jun 13 15:55 tusc-8.0-ia64-11.23.depot
4、对于depot文件有两种安装方法推荐用第一种
1)使用swinstall安装
2)直接解压安装
5、安装完成之后即可调用tusc进行进程调度跟踪
附:tusc用法
tusc [-
Most common options:
-f: follow forks
-p: print pid values
-e: show environment variables
-a: show arguments to the exec() call
-o file : send output to file
-v: verbose output for calls that have this instrumented
-T format: print timestamps in the given format
see 'man 3c strftime' for possible formats
Typical invocations:
1. execute sqlplus, and follow children. Send output to /tmp/tusc.out
% tusc -faepo /tmp/tusc.out sqlplus scott/tiger
2. as (1), but be verbose
% tusc -faepo /tmp/tusc.out -v sqlplus scott/tiger
3. as (1), but print timestamps
% tusc -faepo /tmp/tusc.out -T %H:%M:%S sqlplus scott/tiger
4. attach to a running process. Send output to /tmp/tusc.out
% tusc -faepo /tmp/tusc.out -p
Unless advised otherwise, the minimum options used should be:
% tusc -faepo