Sponsored Content
Operating Systems Solaris Checking if service is running Post 302996551 by rbatte1 on Thursday 27th of April 2017 09:05:40 AM
Old 04-27-2017
A good tool is lsof used like this:-
Code:
lsof -i tcp:10000

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.


I hope that this helps,
Robin
 

10 More Discussions You Might Find Interesting

1. Solaris

How to be sure the dns service is running ?

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)
Discussion started by: XP_2600
4 Replies

2. UNIX for Dummies Questions & Answers

daemon running in AIX checking

how do u check if a daemon is running in AIX.. Is it ps -ef|grep daemon lssrc -s demon ??? Thanks! (0 Replies)
Discussion started by: karthikosu
0 Replies

3. Windows & DOS: Issues & Discussions

Checking Current Service Pack & Hot Fixes of XP

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)
Discussion started by: swapan
1 Replies

4. Shell Programming and Scripting

Network checking while running a script

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)
Discussion started by: bun $ ny
2 Replies

5. Shell Programming and Scripting

Checking availability of service

HI CAN ANY ONE HELP ME FOR BELOW QUESTION CHECKING AVAILABILITY OF SERVICE IN LINUX (2 Replies)
Discussion started by: satheeshkr_cse
2 Replies

6. Shell Programming and Scripting

checking to see if a service is running in a shell script

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)
Discussion started by: daflore
6 Replies

7. UNIX for Dummies Questions & Answers

FIFO Status Checking/Running

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)
Discussion started by: Ariean
1 Replies

8. Shell Programming and Scripting

Service checking through shell script

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)
Discussion started by: kannansoft1985
2 Replies

9. Red Hat

How a service is always running ?

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)
Discussion started by: mnnn
6 Replies

10. Shell Programming and Scripting

Checking to see if windows service is running

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
nameserv::common(n)					       Name service facility					       nameserv::common(n)

__________________________________________________________________________________________________________________________________________________

NAME
nameserv::common - Name service facility, shared definitions SYNOPSIS
package require Tcl 8 package require nameserv::common ?0.1? ::nameserv::common::port _________________________________________________________________ DESCRIPTION
Please read Name service facility, introduction first. This package is internal and of no interest to users. It provides the commands of the name service facility which are shared by the client and server implemented by the packages nameserv::server and nameserv (the client). This service is built in top of and for the package comm. It has nothing to do with the Internet's Domain Name System. If the reader is looking for a package dealing with that please see Tcllib's packages dns and resolv. API
The package exports a single command, as specified below: ::nameserv::common::port The result returned by the command is the id of the default TCP/IP port a nameservice server will listen on, and a name service client will try to connect to. BUGS, IDEAS, FEEDBACK This document, and the package 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 package and/or documentation. SEE ALSO
nameserv::client(n), nameserv::server(n) KEYWORDS
client, name service, server CATEGORY
Networking COPYRIGHT
Copyright (c) 2007-2008 Andreas Kupries <andreas_kupries@users.sourceforge.net> nns 0.1 nameserv::common(n)
All times are GMT -4. The time now is 07:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy