Operating System - HP-UX
1752672 Members
5952 Online
108789 Solutions
New Discussion юеВ

how to know the application

 
SOLVED
Go to solution
gany59
Regular Advisor

how to know the application

how to find out what are all the applications are running in the hp-ux server, apart from
ps -ef,glance, is there any command
3 REPLIES 3
Suraj K Sankari
Honored Contributor

Re: how to know the application

Hi,
>>ps -ef,glance, is there any command

Apart from this command you can use "top"

Suraj
James R. Ferguson
Acclaimed Contributor
Solution

Re: how to know the application

HI:

Fundamentally, the 'pstat(2)' system call is the API used by 'ps' and tools like 'glance' and 'top' to gather information about running processes.

Therefore, I would say 'ps' is your best friend. On 11.31 you have some cousins, 'ptree' and 'pgrep' which help you "see" the process hierarchy and help you find processes of interest.

Regards!

...JRF...
Dennis Handly
Acclaimed Contributor

Re: how to know the application

>JRF: help you "see" the process hierarchy

You can also use ps(1):
UNIX95=EXTENDED_PS ps -H -ef

Instead of -e, you can use "-u user" to limit the processes.