1834645 Members
2992 Online
110069 Solutions
New Discussion

Re: tusc output

 
SSP_1
Regular Advisor

tusc output

Hi Experts,

I am getting following output when I run tusc on hpux11.11 server. Process belongs to OID-LDAP and it's the one who is eating more cpu share. Could anyone having idea what does these system calls mean?

root@kansas:>./tusc -a 14098

( Attached to process 14098 ("oidldapd

") [64-bit] )

poll(NULL, 0, 51) ........................................ [running]

select(206, 0x8000000100053660, NULL, NULL, 0x8000000100053768) [running]

select(11, 0x800003ffff4bb3e0, NULL, NULL, 0x800003ffff4bb4e0) [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]

In user-mode ............................................. [running]
poll(NULL, 0, 51) ........................................ = 0
select(11, 0x800003ffff4bb3e0, NULL, NULL, 0x800003ffff4bb4e0) = 0
select(206, 0x8000000100053660, NULL, NULL, 0x8000000100053768) = 0
select(11, 0x800003ffff4bb3e0, NULL, NULL, 0x800003ffff4bb4e0) = 0
select(11, 0x800003ffff4bb3e0, NULL, NULL, 0x800003ffff4bb4e0) = 1
select(206, 0x8000000100053660, NULL, NULL, 0x8000000100053768) = 0
lwp_sema_wait(0xc00000000008a008) ........................ = 0
recvmsg(10, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0".., 0) ..... = 48
lwp_sema_post(0xc00000000008a008) ........................ = 0
select(206, 0x8000000100053660, NULL, NULL, 0x8000000100053768) = 0
select(11, 0x800003ffff4bb3e0, NULL, NULL, 0x800003ffff4bb4e0) = 1
poll(NULL, 0, 51) ........................................ = 0
select(206, 0x8000000100053660, NULL, NULL, 0x8000000100053768) = 0
recvmsg(10, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0".., 0) ..... = 48
lwp_sema_wait(0xc00000000008a008) ........................ = 0
select(206, 0x8000000100053660, NULL, NULL, 0x8000000100053768) = 0
lwp_sema_post(0xc00000000008a008) ........................ = 0
select(11, 0x800003ffff4bb3e0, NULL, NULL, 0x800003ffff4bb4e0) = 1
select(206, 0x8000000100053660, NULL, NULL, 0x8000000100053768) = 0
select(206, 0x8000000100053660, NULL, NULL, 0x8000000100053768) = 0
( Detaching from process 14098 ("oidldapd
Obstacles exist to challenge you to keep going. Not to quit.
3 REPLIES 3
Paula J Frazer-Campbell
Honored Contributor

Re: tusc output

Hi can you do a longer tusc run, say 10 seconds.

tusc -a (pid) >/tmp/tusc.out


and then attach that file.


Paula
If you can spell SysAdmin then you is one - anon
SSP_1
Regular Advisor

Re: tusc output

Hi Paula,

here U go.

Pl open the attached file [tusc.out] using wordpad.

thanks
shripad
Obstacles exist to challenge you to keep going. Not to quit.
Adam J Markiewicz
Trusted Contributor

Re: tusc output

Hi

What could be usefull here are some additional parameters for tusc:
1) If it is multithreaded:
-u or -l
(identify the thread for each entry - the difference between these shouldn't be very important)
2) -E
Print an entry when the function is called, not only when it returns (yes, it'll double the log size).
3) -T %T
Prints timestamp in notation specified by template (arguments like for function strftime() - see man strftime).
I'm curious how long does it take for another message to arrive.

Good luck
Adam
I do everything perfectly, except from my mistakes