01-06-2010
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?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a command that I can run (currently running AIX) that will tell me what is running on, as an example, port 7002? Also, would this command be able to list all of the ports and what's running on them? Any help is appreciated.
Thanks. (1 Reply)
Discussion started by: dsimpg1
1 Replies
2. UNIX for Dummies Questions & Answers
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
3. UNIX for Dummies Questions & Answers
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
4. UNIX for Dummies Questions & Answers
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
5. Shell Programming and Scripting
Hi,
I have 2 shell scripts ,one for taking hot backup of oracle Database while other is for progress bar.
But I don't have an idea hoe should I incorporate the shell script of progress bar in my hot backup code .
Please help.
My shell script for hot backup is as below:
... (0 Replies)
Discussion started by: dwiravi
0 Replies
6. Solaris
Hi,
I have freshly installed solaris 10 update 5 on my desktop, and during the installation, I specified a static IP address, gateway, netmask.
When I run "ifconfig rtls0" after the installation, I get the following message
#ifconfig rtls0
rtls0: flags=1000803<UP,BROADCAST,MULTICAST,IPv4>... (8 Replies)
Discussion started by: krishisthere
8 Replies
7. UNIX for Advanced & Expert Users
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. (3 Replies)
Discussion started by: programAngel
3 Replies
8. Shell Programming and Scripting
Hi.
I use this command to get list of running process:
ps -ef|grep ICP|grep -v grep
But how do I set the terminal to show full command? It seems that it always truncated to 60 chars no matter what options I put.
e.g output
oracle9 25011 24998 0 03:00:05 ? 0:00 /usr/bin/sh... (14 Replies)
Discussion started by: aimy
14 Replies
9. 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
inets(3erl) Erlang Module Definition inets(3erl)
NAME
inets - The inets services API
DESCRIPTION
This module provides the most basic API to the clients and servers, that are part of the Inets application, such as start and stop.
COMMON DATA TYPES
Type definitions that are used more than once in this module:
service() = ftpc | tftp | httpc | httpd
property() = atom()
EXPORTS
services() -> [{Service, Pid}]
Types Service = service()
Pid = pid()
Returns a list of currently running services.
Note:
Services started as stand_alone will not be listed.
services_info() -> [{Service, Pid, Info}]
Types Service = service()
Pid = pid()
Info = [{Option, Value}]
Option = property()
Value = term()
Returns a list of currently running services where each service is described by a [{Option, Value}] list. The information given in
the list is specific for each service and it is probable that each service will have its own info function that gives you even more
details about the service.
service_names() -> [Service]
Types Service = service()
Returns a list of available service names.
start() ->
start(Type) -> ok | {error, Reason}
Types Type = permanent | transient | temporary
Starts the Inets application. Default type is temporary. See also application(3erl)
stop() -> ok
Stops the inets application. See also application(3erl)
start(Service, ServiceConfig) -> {ok, Pid} | {error, Reason}
start(Service, ServiceConfig, How) -> {ok, Pid} | {error, Reason}
Types Service = service()
ServiceConfig = [{Option, Value}]
Option = property()
Value = term()
How = inets | stand_alone - default is inets
Dynamically starts an inets service after the inets application has been started.
Note:
Dynamically started services will not be handled by application takeover and failover behavior when inets is run as a distributed applica-
tion. Nor will they be automatically restarted when the inets application is restarted, but as long as the inets application is up and run-
ning they will be supervised and may be soft code upgraded. Services started as stand_alone , e.i. the service is not started as part of
the inets application, will lose all OTP application benefits such as soft upgrade. The "stand_alone-service" will be linked to the process
that started it. In most cases some of the supervision functionality will still be in place and in some sense the calling process has now
become the top supervisor.
stop(Service, Reference) -> ok | {error, Reason}
Types Service = service() | stand_alone
Reference = pid() | term() - service specified reference
Reason = term()
Stops a started service of the inets application or takes down a "stand_alone-service" gracefully. When the stand_alone option is
used in start, only the pid is a valid argument to stop.
SEE ALSO
ftp(3erl) , httpc(3erl) , httpd(3erl) , tftp(3erl)
Ericsson AB inets 5.5.2 inets(3erl)