Operating System - HP-UX
1753485 Members
4365 Online
108794 Solutions
New Discussion юеВ

Re: Slow response of the server

 
Mel Burslan
Honored Contributor

Re: Slow response of the server

You need to be a little more specific about what "slow response" means.

Is it hanging after you hit enter and before you see the output, or the output od ll is scrolling the screen in bursts/slowly.

also please post the outputs from

dmesg
sar 5 5

Another good thing to check is to open up a separate window and watch the syslog, live, with

tail -f /var/adm/syslog/syslog.log

as you do commands that respod slowly. See if any errors are getting logged into the syslog.

Performance problems are very site specific and without sitting on a terminal on your system, it is very hard to make even an educated guess.

Hope this helps
________________________________
UNIX because I majored in cryptology...
Steven E. Protter
Exalted Contributor

Re: Slow response of the server

Shalom,

System could be busy UniRock.

Look for memory leaks.

http://www.hpux.ws/?p=8


Look for performance problems:

http://www.hpux.ws/?p=6

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
UniRock
Regular Advisor

Re: Slow response of the server

Hi All,

By slow response I mean when I enter the command it takes a lot of time to display the output.

Performance script is already attached in my first post.

USED % is ZERO here.

Swapinfo

Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 0 8192 0% 0 - 1 /dev/vg00/lvol2
dev 20000 0 20000 0% 0 - 1 /dev/vg00/lvswap02
localfs 50882 0 50882 0% 54000 0 3 /swap03/paging
reserve - 32768 -32768
memory 69499 39636 29863 57%
total 148573 72404 76169 49% - 0 -
localfs 50882 0 50882 0% 54000 0 3 /swap03/paging
reserve - 32768 -32768
memory 69499 39636 29863 57%
total 148573 72404 76169 49% - 0 -



Thanks....
doug hosking
Esteemed Contributor

Re: Slow response of the server

One thing that jumps out at me is that both ll and su deal with user IDs and groups. If these are slow but a command like "date" runs at normal speed, I'd be interested to see if maybe your pwgrd process is unhappy or if there is some other problem with resolving IDs and groups (such as NIS/LDAP configuration problems or equivalent).

Is there an obvious difference in performance of "ls" vs. "ls -l" ?

Is there an obvious difference in performance of chmod vs. chown on the same file?

What is in your /etc/nsswitch.conf file?