Cant find Unix process with ps -ef


 
Thread Tools Search this Thread
Operating Systems Solaris Cant find Unix process with ps -ef
# 1  
Old 06-01-2011
Cant find Unix process with ps -ef

Hi All,

Heres a little background. We have essbase installed on a solaris server. We are running a report script. The script starts and runs ok..
1. after some time if i do the ps -ef i can see the process, and it generally completes successfully.
2. Most of the times, when i do the ps with even the process id, nothing comes up. but after two hours or so, the log file gets updated that the script failed. All the two hours the log file is also in a standstill, like 'report script is being executed' and then it fails.

Why am i not able to find the process? And since the error log gets updated, doesnt it mean that that script is running? Is there a command that I can use to cehck such processes?

Regards,
Noufal Shah
# 2  
Old 06-01-2011
I think the issue is that the report runs as a lwp - a thread. The thread runs off the essbase process. Reformat your ps output to show lwp's.
# 3  
Old 06-01-2011
Thanks for the reply Jim. But this happens like at times. and whenever I am not able to see the process with the ps, the script fails... So would it still be lwp... or is the process getting hung or something?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to write program that find winner who choose the smallest number. UNIX process?

In the game of “Unique”, multiple players privately choose an integer. They then reveal their choice. The winner is the player who chose the smallest unique number. The game is considered a draw if no unique integer was chosen. You would write a program that simulate such a game according to the... (1 Reply)
Discussion started by: dantesma
1 Replies

2. Programming

Find parent process (not process ID)

Hi: I have a program written in FORTRAN running on AIX platform. It is because missing of documentation and without root password, therefore we want to modify the program so that we can find out which script/program that call this FORTRAN program. I have google for few days, all of them are... (3 Replies)
Discussion started by: cstsang
3 Replies

3. UNIX for Dummies Questions & Answers

Find the process and their files

Hi all, when i run a program in a Linux, it may call bunch of other files. How do i find those files? thanks in adanvance Sajith (1 Reply)
Discussion started by: email2sajith
1 Replies

4. Shell Programming and Scripting

Shell Script to Kill Process(number of process) Unix/Solaris

Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies

5. Shell Programming and Scripting

Unix Script to find and kill a process with high memory utilization

Hi Unix Gurus i am somewhat new to unix scripting so need your help to create a script as below. # This script would find the process consuming memory beyond a certain #limit. if the meemory consumption is more than 100% for a period of 1 # minute for the specific process. the script would... (0 Replies)
Discussion started by: robinforlinux
0 Replies

6. Shell Programming and Scripting

How to find the actual process name

Dear All I have created customisation appliaction for my application process which look likes below, 364688 ach_outbound -proc nla_acho_equ_01 -format EQUENS0001 DEQ WAIT 1167452 listener -p 42662 hostget_server -proc at_vld 11874 at_vld IDLE 1560634 listener -p 11870 menu IDLE... (4 Replies)
Discussion started by: manas_ranjan
4 Replies

7. Red Hat

How to find out the Process ID for particular one file

Hi, How to find out the Process ID for particular one file. Tell the all mostly used PS options in the real time I could you appreciate if anyone answered Thanks Bhuvan (4 Replies)
Discussion started by: Bhuvan
4 Replies

8. AIX

find file with process ID

hello I have a process ID and i want to known what files are use with this process. fuser give to me the process with a file...i search a similar command but the reverse: to know the files with a process thank you (1 Reply)
Discussion started by: pascalbout
1 Replies

9. Programming

How to get process name from process id in all Unix platforms?

Hi, i need to find the process name using the process id in C. This has to be done in HP, AIX, Solaris & Linux?? How can this be done? Is there any common solution to all platforms? On linux i have heard that /proc/<pid>/cmdline can be used. Is there a structure available to read this? ... (3 Replies)
Discussion started by: molu
3 Replies

10. Shell Programming and Scripting

how to find the chid process id from given parent process id

how to find the chid process id from given parent process id.... (the chid process doesnot have sub processes inturn) (3 Replies)
Discussion started by: guhas
3 Replies
Login or Register to Ask a Question