truss


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users truss
# 1  
Old 07-21-2004
truss

I'm a DBA so no abuse please! I've for 5 Oracle Forms processes that are spinning and am trying to find out if they're doing anything:
Running HPUX 11.11
Code:
CPU TTY  PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND
 9   ?  2735 oracle   241 20 24228K 16668K run   2607:29 84.92 84.78 f60webm
 4   ? 15925 oracle   241 20 24228K 16636K run   2664:49 84.43 84.28 f60webm
11   ? 16088 oracle   241 20 26676K 19116K run   2602:14 82.92 82.77 f60webm
 8   ?   726 oracle   241 20 24228K 16636K run   2432:42 79.87 79.73 f60webm
10   ? 17403 oracle   241 20 26676K 20016K run   2616:34 71.73 71.61 f60webm

I've run tusc -p against them and get the following from all the processes:

Code:
$ tusc -p 15925
( Attached to process 15925 ("f60webm webfile=5,2408,PID387") [32-bit] )
[15925] In user-mode ................................................................................... [running]

When I run tusc against some other Oracle forms processes I can see they are sleeping, then waking up and doing something:
Code:
[27795] read(4, 0x4009ef98, 6000) ................................................................. [sleeping]
[27795] read(4, "c4e89da1h 1f~ 11", 6000) ......................................................... = 8
[27795] setitimer(ITIMER_REAL, 0x680f4374, NULL) .................................................. = 0
[27795] setitimer(ITIMER_REAL, 0x680f4188, NULL) .................................................. = 0
[27795] write(4, "K 05", 2) ....................................................................... = 2
[27795] setitimer(ITIMER_REAL, 0x680f4188, NULL) .................................................. = 0
[27795] setitimer(ITIMER_REAL, 0x680f4374, NULL) .................................................. = 0
[27795] read(4, 0x4009ef98, 6000) ................................................................. [sleeping]

I guess my question is - can I kill the 5 spinning processes as they dont look like they're doing anything.

Thanks,
Fraze
# 2  
Old 07-21-2004
Something is really wrong with those Forms processes.
Running in user mode means they are using cpu to execute user mode code - not making any system calls. They're stuck in a loop.
# 3  
Old 07-21-2004
Thanks Jim - think its time for a kill!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Truss output

Hi, I want to trace a background java program which runs in infinite loop. I have used truss command for this. But the program terminated after some hours with below truss output: Received signal #1, SIGHUP, in lwp_cond_wait() /1: siginfo: SIG#0 Please let me know what... (5 Replies)
Discussion started by: Hara Prasad
5 Replies

2. UNIX for Advanced & Expert Users

Truss output interpretation

hi, anyone can help on this piece of truss output? 8094: 0.7028 write(4, 0x0043BE90, 236) = 236 8094: T S H \0\0\0EC020101\0\0\0\0\0\0\0\0\0 "02\0\0 303\0\0 I D 8094: \f %\0\0\0\0 2\0F67F\0\0\0\0 @06FFC99A ; 8094: L D6\0 303 8094: ... (6 Replies)
Discussion started by: ghostdog74
6 Replies

3. UNIX for Dummies Questions & Answers

Truss output

Hi, I want to trace a background java program which runs in infinite loop. I have used truss command for this. But the program terminated after some hours with below truss output: Received signal #1, SIGHUP, in lwp_cond_wait() /1: siginfo: SIG#0 Please let me know what... (0 Replies)
Discussion started by: Hara Prasad
0 Replies

4. AIX

Truss output

Hello, I'm using AIX 5.3.12.5 and trying to understand truss output. I'm running a job with real time of 16 minutes but only 4 minutes of CPU time. I'm trying to understand what the process is doing. I'm getting a lot of kread, kpread, kwrite, kpwrite... localhost:~ x$ grep... (1 Reply)
Discussion started by: Kovacs
1 Replies

5. Shell Programming and Scripting

need help with truss !

i have to gather some info about a process and redirect it to a1.txt file. For this i m using truss command truss -po a1.txt $PID_Detail where $PID_Detail= 1482944 3362976 -------------------------------------------------------------------------- Below the script: #!/bin/ksh for i... (6 Replies)
Discussion started by: ali560045
6 Replies

6. Shell Programming and Scripting

truss output

Hi I have to get redirect the truss ouput to file. I am doing truss -p 12121 >> output.txt But it still displays on the screen adn output.txt is empty Can some help how to do this? Thanks in advance Ammu (1 Reply)
Discussion started by: ammu
1 Replies

7. Shell Programming and Scripting

how to use truss?

Hi all, while trying to debug and figure out why a lofiadm command was not working on my script, i came across a cmd called "truss" all i know about it is that it executes the specified command and produces a trace of the system calls it performs, the signals it receives, and the machine faults... (5 Replies)
Discussion started by: wrapster
5 Replies

8. UNIX for Advanced & Expert Users

truss output

Hi, We keep getting hanging Oracle process for our ETL. The dba's asked me to do o truss. All I see is pages and pages of the following,:cool: pollsys(0xFFFFFFFF7FFF38C8, 1, 0xFFFFFFFF7FFF3800, 0x00000000) = 0 pollsys(0xFFFFFFFF7FFF38C8, 1, 0xFFFFFFFF7FFF3800, 0x00000000) = 0... (0 Replies)
Discussion started by: happyadm
0 Replies

9. IP Networking

truss results

I have tried to analyze the log of truss shown below. I haven't found anything clear for me indicating the problem. The process is the server that accepts client connections. To establish the connection it starts the child thread then it should transfer data. In reality it gets only connection.... (1 Reply)
Discussion started by: gogogo
1 Replies

10. Solaris

truss results

moved to the Netwoking (0 Replies)
Discussion started by: gogogo
0 Replies
Login or Register to Ask a Question