02-11-2004
Uuuh, mister Manduva.
Perderabo is not a "Dude", but as he shows a master.
Try to be polite and respectfull.
Thanks Perderabo.
netstat -a does show you the process where you can grep for using ps. Indeed lsof is much more suited for this job.
Regs David
10 More Discussions You Might Find Interesting
1. IP Networking
hither!
whatz the command to find which process is using a specific port number? for example, port 8082? (3 Replies)
Discussion started by: darkcastle
3 Replies
2. Shell Programming and Scripting
Hi All,
I am trying to write a shell script which firstly will search some files and then increase the port numbers mentioned in them by a certain no.
let me clear it with an example-
suppose there r few files a,b,c,d....
file a's content-
<serverEntries xmi:id="ServerEntry_1"... (3 Replies)
Discussion started by: ankushsingh10
3 Replies
3. Solaris
Hi all ,
I want know the port no on which a particular application is running.
How to find that?
Thanks in anticipation (11 Replies)
Discussion started by: kumarmani
11 Replies
4. Shell Programming and Scripting
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies
5. Solaris
Hi
I would like to know, how to find that particular process is running on which port other than /etc/services as this file shows well known ports information. (1 Reply)
Discussion started by: amity
1 Replies
6. AIX
I would like to know, how to find that particular process is running on which port other than /etc/services as this file shows well known ports information
Double post, continued here. If you want answers for different OS, post in a general section instead. If you want your other post moved... (0 Replies)
Discussion started by: amity
0 Replies
7. SCO
How can I determine what process is currently using a serial port? A good bit of google searching hasn't turned up anything useful, but it seems like there has to be a way to do this without too much difficulty.
When I first started looking into this problem, I assumed that when a port was in... (2 Replies)
Discussion started by: jdsnatl
2 Replies
8. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
9. Shell Programming and Scripting
Hello,
I have multiple scripts (vlc1, vlc2,...vlc5) and as I do not know how to run them as upstart processes, I entered my script links into rc.local file.
Here is the sample one for process vlc1:
$ nano /etc/rc.local
added below line into rc.local
/var/bin/./vlc1 &
Port nr of vlc1... (7 Replies)
Discussion started by: baris35
7 Replies
10. Shell Programming and Scripting
Team,
I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list.
How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies
LEARN ABOUT DEBIAN
rpcregistry
RpcRegistry(3I) InterViews Reference Manual RpcRegistry(3I)
NAME
RpcRegistry - name space for finding RPC services
SYNOPSIS
#include <Dispatch/rpcregistry.h>
DESCRIPTION
RpcRegistry provides a name space for finding RPC services based on the use of NFS filesystems among a group of hosts. When an RPC service
wishes to record its host name and port number, it will give the path of a file in which to store the information. When a client wants to
find the RPC service's host name and port number, it will give the path of a file from which to read the information. Usually the path
will be the name of a file in the current working directory since different hosts may have different absolute pathnames for the same file
in a NFS filesystem. The RPC service's name space is the name space of the host's filesystem and the file's contents provides the informa-
tion needed to open a connection to the RPC service.
PUBLIC OPERATIONS
Each function is a static member function, which means a program can call it without having to instantiate an RpcRegistry object. Each
function returns true if it succeeded or false if some error occurred.
boolean record(const char* path, int port)
Record the RPC service's host name and port number in the given file. If the file already exists, its previous contents will be
lost.
boolean erase(const char* path)
Remove the file which stores the RPC service's host name and port number so that no more clients will be able to contact the RPC
service.
boolean find(const char* path, char*& hostname, int& port)
Open the file which stores the RPC service's host name and port number. If the file does not exist, return failure silently. If
the file does exist, read the RPC service's host name and port address from it. If ``hostname'' is nil upon entry, it will contain
the address of a dynamically allocated string upon exit (which must be freed by the caller).
SEE ALSO
RpcService(3I)
InterViews 27 March 1991 RpcRegistry(3I)