1753771 Members
4961 Online
108799 Solutions
New Discussion юеВ

system responding slow.

 
khilari
Regular Advisor

system responding slow.

Hi Guys, one of my boxes is responding really slow... What command should i run and also if i am running glance then what terminal emulator i should use..
Thanks
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: system responding slow.

Shalom,

Look for memory leaks:
http://www.hpux.ws/?p=8

Performance check scripts:
http://www.hpux.ws/?p=6

glance or gpm to see what processor is running.

Terminal emulator is meaningless here.

Use a Linux box perhaps.

ssh -X hostname gpm

OR use an X windows front end like Hummingbird or CRX

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Pete Randall
Outstanding Contributor

Re: system responding slow.

Performance problems stem from one of four usual causes: lack of cpu, lack of i/o, lack of network bandwidth, or lack of memory. I would guess that cpu problems are probably number 1 and are pretty easy to spot using top or Glance. For all the other issues, I turn to Glance.

And Glance will run just fine in TUI mode, so your terminal emulation should not be an issue.


Pete

Pete
Mel Burslan
Honored Contributor

Re: system responding slow.

putty in xterm emulation mode (default unless your server forces something else) works great for character based glance plus viewing.

and glance is your best bet as the starting point. Once you discover the root cause of the slowness, i.e., disk bottle neck, network bottleneck, CPU or Memory exhaustion, you will be able to figure out the next steps.
________________________________
UNIX because I majored in cryptology...
R.K. #
Honored Contributor

Re: system responding slow.

Hi Khilari,

Responding slow---

Is it responding slow for every command?
Or is it slow for any specific files system/application.

Try to narrow this.

If it is entire system that is slow, try finding out where is bottleneck.
Use sar with different option to check disk, cpu bottlenecks.

Use swapinfo to find if memory is an issue.
Use top to find if any application is using more than usual memory.

If any application or accessing fs is slow, look at the disks involved.

Redgs..

Don't fix what ain't broke
Yogesh M Puranik
Valued Contributor

Re: system responding slow.

Hi,

system responding slow,

Your check points

1]If database is there, please check for number of active and inactive sessions.

2]Memory/CPU checks
Using,

#top- Check top resource taking process and whther these are running or not.

#Glance -Will give u detailed output, you get the exact count of memory,cpu and swap utilisation.


#vmstat -Check number of blocked process.


swap devices/ shared memory segments

Well some times processes completes but still dont release memory segmaents which can cause swap utilisation high ultimately slow response.

So, check

#ipcs -mob

in this if you find NATTCH parameter value as "0" the process you can relase using

#ipcrm -m (Be careful while running this command)

3]disk utilisation,
Please check using perticular disk is casing more outage.



Thease are some key checks u can go through.

Rgds

YMP


Alzhy
Honored Contributor

Re: system responding slow.

Just use vt100 or any text based terminal and send this esteemed forum screen captures (ALT-PRTSCR) of your glance session using:

glance

glance -m (or hit m whilst in glance)

glance -l (or hit l whilst in glance)

glance -u (or hit u whilst in glance)

and

uptime.






Hakuna Matata.
Bill Hassell
Honored Contributor

Re: system responding slow.

> what terminal emulator i should use

HP or Wyse or DEC -- the emulator is important. What is critically important is to never lie to HP-UX about your emulator. That means that there must never be something like:

TERM=vt100
export TERM

in /etc/profile or $HOME/.profile. Instead, you replace every hardcoded TERM= line with the terminal identifier: ttytype. Use it like this:

eval $(ttytype -s)

To see what this command will do, just type: ttytype -s. Now truly dumb terminals like vt100 will have no navigation keys (like f1, f2, f3, etc) but a smart terminal such as Reflection for HP or QCterm will have the function keys enabled.


Bill Hassell, sysadmin