1748112 Members
3511 Online
108758 Solutions
New Discussion юеВ

Re: TUSC Command

 
SOLVED
Go to solution
RK_7
Advisor

TUSC Command

Dear all,

Can anybody tell me about tusc command.

regards,
Reni
8 REPLIES 8
Joseph Loo
Honored Contributor
Solution

Re: TUSC Command

hi reni,

refer to this man page:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.7/man.html

hope it helps.

regards.
what you do not see does not mean you should not believe
Arunvijai_4
Honored Contributor

Re: TUSC Command

Tusc is a trace/truss-like system call tracing tool for HP-UX 11. A system call trace utility runs another command and displays, as it runs, every system call that it makes. You can download it from http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.7/

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Adisuria Wangsadinata_1
Honored Contributor

Re: TUSC Command

Hi,

check the url below for tusc (tusc - trace unix system calls) :

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.7/

Check the url below for tusc man page :

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.7/man.html

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Orhan Biyiklioglu
Respected Contributor

Re: TUSC Command

tusc command is used to trace system calls a process invokes and the signals it receives while executing. It is like the strace utility on Linux systems.

It can be used as

tusc [options] command [args ...]

executes the command and displays invoked system calls or received signals by the executed command.
RK_7
Advisor

Re: TUSC Command

Hi,

Can I specify any time interval with this command.

regards
Reni
Vibhor Kumar Agarwal
Esteemed Contributor

Re: TUSC Command

For any command to run it has to use a lot of system calls to interact with the kernel.

As kernel is the mail workhorse.

This each and every call to the kernel is tracked via tusc.

This will help you in identifying if anything is going wrong or not.
Vibhor Kumar Agarwal
Arunvijai_4
Honored Contributor

Re: TUSC Command

I dont think it is possible to specify time interval. But you can print CPU time with -c option.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
rick jones
Honored Contributor

Re: TUSC Command

I suspect the other places will be catching-up soon; there is a version 7.8 of tusc available for download via:

ftp://ftp.cup.hp.com/dist/networking/tools/

one for PA-RISC, the other for IPF.

WRT "timing" tusc, I do not recall there being such an option from tusc itself, but you could in theory do something akin to:

tusc .... &
sleep N
kill -QUIT %1

from the shell. I've not tried it myself though.
there is no rest for the wicked yet the virtuous have no pillows