01-20-2008
knowing the services in Solaris
after logging in u can use the following command to know the service types
who -X
Rgds,
T
10 More Discussions You Might Find Interesting
1. AIX
How can i check which service is activated on my AIX Box?
how one can check particular port is open or not (like ftp/telnet port)?
I dont have admin rights (1 Reply)
Discussion started by: ashish4422
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
Please advise how do i find services status running on windows machines
from Linux.
=-=====================
Some one developed a script use rsh command to find the status but it stopped working.
rsh <Some IIS server Name> service -S < Windows Server name where service running>... (1 Reply)
Discussion started by: ashish_uiit
1 Replies
3. AIX
Hi,
As in Management Modules of IBM it is possible to find out wheather out of dual powersupply , if one goes down.
is it possible to find out in HMC to find out if one power supply goes down of P Series server? if server is remotely
HOw to find out if one power supply of server is down?... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
There are 2000 jobs in the list and i need to draw their status. I put all the jobs in the list and trying to read one by one from the list and to find out the status.
Help me out in correcting the script.
#!/bin/csh
for a in $(cat Jobs_List.txt);
do
source <<path>>
autorep -j $a... (1 Reply)
Discussion started by: venkatesht
1 Replies
5. Red Hat
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
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. Shell Programming and Scripting
Hello All,
I need to run a set of scripts, say 50 of them, parallely. I'm running these 50 scripts, from inside a script with the help of 'nohup' command.
1.The fifty scripts are stored in a separate file.
2.In a master script, i'm reading every line of the file through loop and executing... (4 Replies)
Discussion started by: SriRamKrish
4 Replies
8. 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
9. HP-UX
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
10. Solaris
My system suddenly crash and when it rebooted there was an error:
/dev/rdsk/c1t0d0s3 is logging
svc.startd: svc:/network/nis/client:default: Method "/method/yp" failed with status 96.
The system completes booting however when I log in a user account / directory is not longer... (1 Reply)
Discussion started by: NeedSolarisHelp
1 Replies
LEARN ABOUT SUNOS
services
services(4) File Formats services(4)
NAME
services - Internet services and aliases
SYNOPSIS
/etc/inet/services
/etc/services
DESCRIPTION
The services file is a local source of information regarding each service available through the Internet. The services file can be used in
conjunction with or instead of other services sources, including the NIS maps "services.byname" and the NIS+ table "services." Programs
use the getservbyname(3SOCKET) routines to access this information.
The services file contains an entry for each service. Each entry has the form:
service-name port/protocol aliases
service-name This is the official Internet service name.
port/protocol This field is composed of the port number and protocol through which the service is provided, for instance,
512/tcp.
aliases This is a list of alternate names by which the service might be requested.
Fields can be separated by any number of SPACE and/or TAB characters. A number sign (#) indicates the beginning of a comment; any charac-
ters that follow the comment character up to the end of the line are not interpreted by routines which search the file.
Service names may contain any printable character other than a field delimiter, a NEWLINE, or a comment character.
Any changes to a port assignment do not affect the actual port registration of the service.
FILES
/etc/nsswitch.conf configuration file for name-service switch
SEE ALSO
getservbyname(3SOCKET), inetd.conf(4), nsswitch.conf(4)
NOTES
/etc/inet/services is the official SVR4 name of the services file. The symbolic link /etc/services exists for BSD compatibility.
SunOS 5.10 12 Oct 2000 services(4)