TUSC Command (659 Views)
Reply
Advisor
RK_7
Posts: 27
Registered: ‎02-23-2005
Message 1 of 9 (659 Views)
Accepted Solution

TUSC Command

Dear all,

Can anybody tell me about tusc command.

regards,
Reni
Honored Contributor
Joseph Loo
Posts: 1,981
Registered: ‎10-23-2000
Message 2 of 9 (659 Views)

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
Honored Contributor
Arunvijai_4
Posts: 4,194
Registered: ‎04-07-2005
Message 3 of 9 (659 Views)

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"
Honored Contributor
Adisuria Wangsadinata_1
Posts: 814
Registered: ‎01-07-2001
Message 4 of 9 (659 Views)

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
Respected Contributor
Orhan Biyiklioglu
Posts: 153
Registered: ‎09-12-2005
Message 5 of 9 (659 Views)

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.
Advisor
RK_7
Posts: 27
Registered: ‎02-23-2005
Message 6 of 9 (659 Views)

Re: TUSC Command

Hi,

Can I specify any time interval with this command.

regards
Reni
Esteemed Contributor
Vibhor Kumar Agarwal
Posts: 787
Registered: ‎04-05-2005
Message 7 of 9 (659 Views)

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
Honored Contributor
Arunvijai_4
Posts: 4,194
Registered: ‎04-07-2005
Message 8 of 9 (659 Views)

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"
Honored Contributor
rick jones
Posts: 3,814
Registered: ‎12-02-1996
Message 9 of 9 (659 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.