A good tool is lsof used like this:-
You will get a few lines of output and the PID should be obvious. Be careful, because you will also list processes connected to remote port 10000 too.
Well, i changed my lan card and finally i got it up and running, i have /etc/resolv.conf with
domain xxx.xxx
nameserver xxx.xxx.xxx.xxx
and it was working with me earlier with the old lan card, with the new one i added it ip using auto-dhcp and its received an ip from my dhcp and it can ping... (4 Replies)
Dear Sir / Madam,
With due respect, I am putting forwarad a question that whenever I am trying to check the current Service Pack & Hotfixes in Windows XP, I am getting the response like as under:
(Windows can't find the" qfecheck.exe " check it again) in GUI mode
... (1 Reply)
hi,
i am new to this scripting stuff so please help.
i need a script that should check network connection while process.bsh is running which connects to a server for some time (e.g. 30 secs to a minute) and I wanted to make sure that network interruption does not happen during this time period... (2 Replies)
How can I tell, in a shell script, if a certain service is running? I know how to do this on the command line, but not in a script. Is an error thrown somehow that I can check?
Thanks. (6 Replies)
May i please know
1) How to check if FIFO process is down?
2) How to bring FIFO up and running?
we are using redhat Linux OS and bash shell
Thank you. (1 Reply)
I want to check the postgres service for client PC which is remotely placed through shell script , whether the Postgres service is working or not.I don't have an idea to develop this script.Please give me a code.
Client PC IP Address:
10.66.1.133 (2 Replies)
Hi
How ssh service at all levels always running in her file /etc/inittab?
vi /etc/inittab
10::respawn:/etc/init.d/sshd
I added this line
& save
run init q
But it did not (6 Replies)
Hi
I have created a PowerShell script which successfully checks whether windows service pgsql-9.2 is running.
I have tried to call that PowerShell script with a shell/bash script within a LINUX machine but have been unsuccessful.
Is there a way of a shell/Perl script to check whether a... (5 Replies)
Discussion started by: simpsa27
5 Replies
LEARN ABOUT DEBIAN
nnslog
nnslog(3tcl)nnslog(3tcl)__________________________________________________________________________________________________________________________________________________NAME
nnslog - Name service facility, Commandline Logging Client Application
SYNOPSIS
nnslog ?-host host? ?-port port?
_________________________________________________________________DESCRIPTION
Please read Name service facility, introduction first.
The application described by this document, nnslog, is a simple command line client for the nano name service facility provided by the
Tcllib packages nameserv, and nameserv::server.
It essentially implements "nns search -continuous *", but uses a different output formatting. Instead of continuously showing the current
contents of the server in the terminal it simply logs all received add/remove events to stdout.
This name service facility has nothing to do with the Internet's Domain Name System, otherwise known as DNS. If the reader is looking for a
package dealing with that please see either of the packages dns and resolv, both found in Tcllib too.
USE CASES
nnslog was written with the following main use case in mind.
[1] Monitoring the name service for all changes and logging them in a text terminal.
COMMAND LINE
nnslog ?-host host? ?-port port?
The command connects to the specified name service, sets up a search for all changes and then prints all received events to stdout,
with each events on its own line. The command will not exit until it is explicitly terminated by the user. It will especially sur-
vive the loss of the connection to the name service and reestablish the search and log when the connection is restored.
The options to specify the name service will be explained later, in section OPTIONS.
OPTIONS
This section describes all the options available to the user of the application
-host name|ipaddress
If this option is not specified it defaults to localhost. It specifies the name or ip-address of the host the name service to talk
to is running on.
-port number
If this option is not specified it defaults to 38573. It specifies the TCP port the name service to talk to is listening on for
requests.
BUGS, IDEAS, FEEDBACK
This document, and the application it describes, will undoubtedly contain bugs and other problems. Please report such in the category
nameserv of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may
have for either application and/or documentation.
SEE ALSO nameserv(3tcl), nameserv::common(3tcl)KEYWORDS
application, client, name service
CATEGORY
Networking
COPYRIGHT
Copyright (c) 2008 Andreas Kupries <andreas_kupries@users.sourceforge.net>
Name service facility 1.0 nnslog(3tcl)