How to find Hung connection in UNix Systems ?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to find Hung connection in UNix Systems ?
# 1  
Old 01-16-2012
How to find Hung connection in UNix Systems ?

Hi Gurus ,

How to find Hung connection in Unix Systems

I use ps -ef | grep "XXXX"

it lists out some conections..How to know what is hung connection in there..
# 2  
Old 01-16-2012
what do you call "hung connection"?
# 3  
Old 01-16-2012
Like any process which is showing runing ..but nothing happening from that script...

Suppose i run some calculation ...which is suppose to increase a file size....but the calcualtion is still runing and file size isnt updating...
# 4  
Old 01-16-2012
Only you can answer...
e.g. When I have suspicion on a process, its because I have an idea of its average execution time, if it is still there 5 hours later I contact the user to see if its normal...
when it come from batches, you will notice them for they will consume more an more process time and start to impact the load, which means you will find them on the first screen of top display...
if they are "defunct" then search with ps using | grep efu
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Find all log files under all file systems older than 2 days and zip them

Hi All, Problem Statement:Find all log files under all file systems older than 2 days and zip them. Find all zip files older than 3days and remove them. Also this has to be set under cron. I have a concerns here find . -mtime +2 -iname "*.log" -exec gzip {} Not sure if this will work as... (4 Replies)
Discussion started by: saurabh.mishra
4 Replies

2. Red Hat

How to find the process which is caused system hung state?

when system is hung state due to swap, we will reboot it through ILO. i want to know which process caused system hung. (1 Reply)
Discussion started by: Naveen.6025
1 Replies

3. Shell Programming and Scripting

Find a particular directory in multiple file systems and calculate total size

Hello : I need some help in writing a ksh script which will find a particular directory in all the file systems in a server and finally report the total size of the direcotry in all the file systems. Some thing like this.. find /u*/app/oracle -type d -name "product" -prune and then... (1 Reply)
Discussion started by: Sam1974
1 Replies

4. Solaris

Solaris 10 ftp connection problem (connection refused, connection timed out)

Hi everyone, I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies

5. HP-UX

Compare 2 systems to find any differences

Hi there, I have 2 machines running HP-UX. One off these controllers is able to send mail and the other cannot. I have looked at all the settings that I know and coannot find any differences. Is there a way to audit the 2 machinces by pulling all the settings then compare any differences? ... (2 Replies)
Discussion started by: lodey
2 Replies

6. HP-UX

ssh session getting hung (smilar to hpux telnet session is getting hung after about 15 minutes)

Our network administrators implemented some sort of check to kill idle sessions and now burden is on us to run some sort of keep alive. Client based keep alive doesn't do a very good job. I have same issue with ssh. Does solution 2 provided above apply for ssh sessions also? (1 Reply)
Discussion started by: yoda9691
1 Replies

7. Shell Programming and Scripting

Script to find systems logged in with a particular userid

Hello All, I need to design a script to get all the systems names(IP Addresses) logged in with a particular userid say 'xyz' from different terminals. This is to track the use of the particular userid and take action if it is being misused. The script would accomplish the following steps: 1.... (1 Reply)
Discussion started by: mehimadri
1 Replies

8. SCO

Sharing unix drives from two unix systems

I have two SCO openserver systems, 1 in the US and 1 in the UK. I am setting up a vpn to connect the two local networks that also have windows pc's on them. Is there a way that either unix system can see the hard drive on the other unix system so that I can share data between them. I run a cobol... (1 Reply)
Discussion started by: rongrout
1 Replies

9. Filesystems, Disks and Memory

firewall for unix systems

I was wondering if anyone knew of any good firewall softwares to run on open bsd. I'm currently running ip chains but I'm looking for easier to configure. thanks (1 Reply)
Discussion started by: shadieshad
1 Replies
Login or Register to Ask a Question