cancel
Showing results for 
Search instead for 
Did you mean: 

Delay in executing command

madan_2
Advisor

Delay in executing command

Hi All

We are having HP-Ux B.11.11 server (HP rp3440), my problem is that when I login to server after entering username it will take 10-15 sec for password and when i login to server and enter any command, it will take 10-15 seconds to execute commands, at that time server is almost 99% idle, I have check syslog but not found any problem.
6 REPLIES
Suraj K Sankari
Honored Contributor

Re: Delay in executing command

Hi,

Check is there any script is running through you .profile.

check your system memory, cup utilization and io performance.

post this things

swinfo -tam
sar -u 2 10
vmstat 2 10
iostat 2 10


Suraj
Dennis Handly
Acclaimed Contributor

Re: Delay in executing command

Is your home directory on NFS? And are you getting NFS delays for the shell history?
Jeeshan
Honored Contributor

Re: Delay in executing command

is this server is resolving from DNS?

check the following entries

1. /etc/resolv.conf
2. /etc/nsswitch.conf
a warrior never quits
madan_2
Advisor

Re: Delay in executing command

Hi Suraj

there's no any script running through .profile, please find attached output of commands
Robert-Jan Goossens
Honored Contributor

Re: Delay in executing command

Hi,

As Ahsan aksed you, do you use DNS on this server?

run below commands on your rp3440 host
# nslookup host_name_of_the_server
# nslookup ip_of_the_server

Do they match?

Regards,
Robert-Jan
madan_2
Advisor

Re: Delay in executing command

Hi Robert-Jan

Output of nslookup command

teamdb # nslookup teamdb
Using /etc/hosts on: teamdb

looking up FILES
Name: teamdb
Address: 151.92.238.133

teamdb # nslookup 151.92.238.133
Using /etc/hosts on: teamdb

looking up FILES
Name: teamdb
Address: 151.92.238.133