Sponsored Content
Top Forums UNIX for Advanced & Expert Users detecting the running services Post 302468936 by programAngel on Thursday 4th of November 2010 08:30:37 AM
Old 11-04-2010
detecting the running services

I did search on the subject on services in linux and they do explain how to find what are the services that loaded when the linux boot.

however I have not find how to detect what services run right now.
I would like to now that and how to kill services.

Thanks.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Looking for administration tool to check if services are running

Hi! We are having problems with our unix servers (SunOS 5.9) that services for some of our applications are continuously going down. (this is more due to the applications installed than the UNIX OS). What I am looking for is some kind of administrative tool where I can set what service to scan... (1 Reply)
Discussion started by: erinor
1 Replies

2. UNIX for Dummies Questions & Answers

List services running in UNIX

We have lost our Sys Admin and with the DST changes.. i need to make sure all services are re-started on a SUN server running SUNOS 5.9 How can i list what is running and make sure they are running after the DST patches are applied? (2 Replies)
Discussion started by: JanSP
2 Replies

3. UNIX for Dummies Questions & Answers

Running services, how to disable some?

Hello all happy people! :) Iam trying to figure out how to disable running services, and witch i can disable. Iam running ssh,apache,ftp and identd. Here is an output from nmap: 21/tcp open ftp Solaris ftpd 22/tcp open ssh SunSSH 1.1 (protocol 2.0) 23/tcp ... (2 Replies)
Discussion started by: empty
2 Replies

4. SuSE

Which command can be used to show running services?

Hi Dear Guys: I want to get a list of running services. Is there any command having this functionality? (3 Replies)
Discussion started by: crest.boy
3 Replies

5. Red Hat

Restart of services if port no is changed in /etc/services in RHEL

I had a doubt if any services need to be restarted if port no in /etc/services in an RHEL setup is changed. For eg, the port no of 443 for SSL may need to be changed. I hope my query is clear whether any services need to be restarted if port no in /etc/services is changed. Please revert with... (10 Replies)
Discussion started by: RHCE
10 Replies

6. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies

7. AIX

List running services, Package name and status on AIX.

Hi, How can I list running services, corresponding package name and status on the AIX host? On Linux (Centos), I use the below code snippet:- for i in `chkconfig --list | awk '{ print $1}'`; do status=`/sbin/service $i status` packagename=`rpm -qf /etc/init.d/$i` done Is there... (2 Replies)
Discussion started by: Vipin Batra
2 Replies

8. HP-UX

List running services, corresponding package name and status.

Hi, I am trying to list down list of running services, corresponding package name and status on HP-UX box. The output will be a CSV in a fashion:- Service Name, Package Name, Status. While working on Linux centos, I used chkconfig to do the same. Below was the snippet:- for i in `chkconfig... (3 Replies)
Discussion started by: Happy83
3 Replies

9. HP-UX

How to fetch all running services on HP-UX?

Hi All, I have a requirement to get all the running services on few HP-UX boxes. In Linux systems I am able to do that successfully using: chkconfig --list. However I can't find anything equivalent in HP-UX. If anyone has any pointers on the same then please suggest. Adyan (4 Replies)
Discussion started by: Adyan Faruqi
4 Replies
dceping(8)																dceping(8)

NAME
dceping - test the ability to contact DCE services from a local DCE client. SYNOPSIS
dceping [-n number] [-s time] [-v] [-C] [service_name ...] required to specify the literal strings, NAMESPACE or STRING_BINDING (see nond- cesvc(4)). OPTIONS
-n number Specify the number of pinging cycles. Each service is tested once per cycle. The default is one pinging cycle. Specifying -n 0 makes pinging continuous. -s time Specify time, in seconds, to wait between pinging cycles. You must specify more than one pinging cycle with the -n option in order to use -s. -v Run in verbose mode. -C Ping only core DCE services. This option is ineffective if a service_name is specified on the command line. DESCRIPTION
dceping verifies that a local DCE client can communicate with DCE and other services. It uses the RPC management interface to determine if the DCE service is listening. The core DCE services that dceping checks include secd, cdsd, gdad, rpcd, cdsadv, dtsd, and sec_clientd. You can ping other DCE and non-DCE services by naming them in the file, /opt/dcelocal/hpadmin/etc/nondcesvc. If you want to determine at run time what services you want dceping to ping, you may do so using the same file. See the manpage, nondcesvc(4), for more information. You may specify the services to ping on the command line separated by blanks. In this case, dceping does not ping any DCE core services or the services listed in /opt/dcelocal/hpadmin/etc/nondcesvc. The service_name specified could be either a name in the DCE Cell Directory Service Namespace or an RPC string binding. It is not AUTHOR
dceping was developed by HP. FILES
/opt/dcelocal/hpadmin/etc/nondcesvc /opt/dcelocal/hpadmin/etc/wellknownif SEE ALSO
nondcesvc(4), wellknownif(4) HP DCE
dceping(8)
All times are GMT -4. The time now is 02:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy