1826480 Members
3962 Online
109692 Solutions
New Discussion

Re: TOP command

 
sunil_34
Occasional Advisor

TOP command

My top command just displays CPU states
and list down various cpu's ,but doesn't display the top processes information..

is there anyway i can find top processes.
my version of o/s is
>uname -a
HP-UX nbcitsv1 B.11.00 U 9000/800 71922 unlimited-user license

10 REPLIES 10
Manish Srivastava
Trusted Contributor

Re: TOP command

Hi,

This has never happened to me on all releases of HPUX. Just do a top -f file and check the output in the file. It should have the process data alog with it.

manish
Naveej.K.A
Honored Contributor

Re: TOP command

hi,
echo $TERM ???
regds
Naveej
practice makes a man perfect!!!
Bharat Katkar
Honored Contributor

Re: TOP command

Sunil,
Try doing
# ps -ef
Did you see processes running in this.
This is strange and you must see processes in top also.

Try rerunning and post the results back.

Regards,
You need to know a lot to actually know how little you know
sunil_34
Occasional Advisor

Re: TOP command

Thanx ..this does catch the processes
but for that instant only.
How can i catch the process activity for a period of say 15 minutes.

regards,
Sunil

Manish Srivastava
Trusted Contributor

Re: TOP command

Hi,

just have look at manpage of top.
You can try
top -s60 -d15 -f file

This will display one page for every minute and and put in the file

A simple top will do that dynamically and for ever.


manish
Pnaidu
Frequent Advisor

Re: TOP command

try using the PAK utilty "xps" it shows the graphical presentation , /opt/langtools/bin/xps is the actual direcory

regards,
naids
Jose Mosquera
Honored Contributor

Re: TOP command

Hi,

Pls check the last top cumulative patch configuration in your system (PHCO_26020):
#swlist -l fileset -a state|grep PHCO_26020

This patch not have dependencies and don't need reboot.

Rgds.
Jose Mosquera
Honored Contributor

Re: TOP command

Hi again,

A way to list sorted CPU proccess consumption:
#UNIX95= ps -e -o pcpu -o pid -o ruser -o args|sort -nr

Have you reviewed PHCO_26020 status in your system?

Rgds.
sunil_34
Occasional Advisor

Re: TOP command

Jose ,

i don't have root privileges...but i have got thigs
working with
top -s10 -d5 -f

thanx.

sunil
Jose Mosquera
Honored Contributor

Re: TOP command

Ooooops, a little late to indicate it!
Anyway, don't worry and don't forget to assign points!

Rgds.