1834814 Members
2554 Online
110070 Solutions
New Discussion

behaviour of a process

 
Joyce Suganthy
Advisor

behaviour of a process

Hi Gurus,

Need some help here, when i run a process, how do i know what is the stage of the process... for example is the process running, other than ps -ef command is there any other helpful command i can use to see that the process is running fine?

Thanks
3 REPLIES 3
Michael Tully
Honored Contributor

Re: behaviour of a process

You could use 'top' to view the process, but you may not easily find it. 'glance' is better if you have it installed.

Another piece of software out there is 'tusc' which actually attaches itself to the process. You can get it here:

http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.5/
Anyone for a Mutiny ?
twang
Honored Contributor

Re: behaviour of a process

I usually trace a process's life stage by looking at the processes forked by the root process. For example, you run a process "helloworld" and its PID is 3001, you may search for PPID=3001 to find out what processes were created by this "helloworld" process.
Piergiacomo Perini
Trusted Contributor

Re: behaviour of a process

Hi,
somenthing similar to Twang's check is

ps -flp PID

where PID is the process that you run/control.