SERVICE(8) BSD System Manager's Manual SERVICE(8)NAME
service
SYNOPSIS
service service command
service --list
service --test-if-configured-on service
service --test-if-available service
DESCRIPTION
service is deprecated and will be removed in a future release of Mac OS X.
service is a simple utility to abstract the management of services provided by the system. It can be used to start and stop services, as
well as to determine the status of services.
OPTIONS
service command
Attempt to execute a given command for a given service. Currently, the available commands are 'start' and 'stop'.
--list List all available services.
--test-if-configured-on service
Exit with status 0 if the service is currently enabled. Otherwise, exit with status 1.
--test-if-available service
Exit with status 0 if the service's daemon exists on your system. Otherwise, exit with status 1.
Darwin October 15, 2004 Darwin
Check Out this Related Man Page
XRCTL(1) Man Page XRCTL(1)NAME
xrctl - Crossroads control-script
SYNOPSIS
xrctl [OPTION]...
DESCRIPTION
This manual page briefly documents xrctl, the Crossroads control-script. Instead of starting XR by hand, consider using xrctl.
Edit /etc/xrctl.xml, which is the configuration file, and configure your service(s), all their options, and back ends. Then type xrctl
start to start all your services, or xrctl stop to stop them.
OPTIONS
list [SERVICE] - show configuration of a service, or of all
start [SERVICE] - start a service, or all configured services
stop [SERVICE] - stop a service, or all configured services
kill [SERVICE] - brutal stop, interrupts connections
force [SERVICE] - start a service (or all) if not running
stopstart [SERVICE] - stop and start a service, or all
killstart [SERVICE] - kill and start a service, or all
status [SERVICE] - show running status of a service, or of all
rotate [SERVICE] - rotate logs of a service or of all
generateconfig [SERVICE] - queries running XR's for the configuration
and shows it in the format of /etc/xrctl.xml
SEE ALSO xr(1), xrctl.xml(5)AUTHOR
xrctl was written by Karel Kubat <karel@kubat.nl>. Web page: http://crossroads.e-tunity.com
This man page was written by Frederik Dannemare <frederik@dannemare.net> and updated by Karel Kubat <karel@kubat.nl>.
Crossroads 2008,2009 XRCTL(1)
I'm just looking for really good unix book on programming in all shells, and system adminstrator books, and well as just all around really good books on unix.
I know the "Unix Shell Programming" book that Neo recommends I recently purchased that it is very good.
But when I heard that Neo has... (13 Replies)
I'm just looking for really good unix book on programming in all shells, and system adminstrator books, and well as just all around really good books on unix.
I know the "Unix Shell Programming" book that Neo recommends I recently purchased that it is very good.
But when I heard that Neo has... (13 Replies)
I am trying to set up my internet connection for my unix system and cannot seem to do it. I have a optimum on line service, and use a cable modem, with a usb. The 3 com ethernet card in my Gateway Labtop is recognized but when I hook up the usb and try and connect the usb is unrecognized. I... (14 Replies)
Hi everyone,
I am a new comer in this forum.
When I try to send email in my Linux machine with command "mail" or "sendmail", I always find it include the IP address of my machine in the email header. Does anybody know how to eliminate this IP address or replace it with a fake one in the email... (20 Replies)
I want to add auto startup and shutdown script to Solaris 10's legacy services as they run in Solaris 9 or in Linux.
To make this work, I created the crontrol script in /etc/init.d and then link it to /etc/rc0.d and /etc/rc2.d directories. rc0.d is for shutdown and rc2.d is for srat. After I... (15 Replies)
Hi,
I have 3 solaris servers. Two servers of differnet network and one gateway.
Server1 --> 192.168.0.1 --> Solaris 9
Server2 --> 10.27.40.2 --> Solaris 10
Server3 --> Iface1 --> 192.168.0.5 --> Solaris 10 --> Gateway
Iface2 --> 10.27.40.5
Now I am able to ssh... (36 Replies)
My distribution details.
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: EnterpriseEnterpriseServer
Description: Enterprise Linux Enterprise Linux Server release 5.2 (Carthage)
Release: 5.2
Codename: ... (13 Replies)
Need help from the unix admins out there. I am trying to telnet from a windoze machine to a sun machine. It won't let me connect. I looked at etc/services and I found the port that telnet was listening on. But, how can I tell if its actually up and available? is there a unix command I can issue?... (15 Replies)
Hello, am working on a suse linux system and trying to connect the server to the monitoring system we use. On checking the logs, i see that the snmp service is unavailable and would appreciate any help on how to fix this.
snmpd stop - done
snmpd start - done
snmpd status - unused (instead... (16 Replies)
I have been instructed to disable the finger service for our Solaris 10 box. However when I input #svcadm disable finger I receive: "svcadm: Pattern 'finger' does not match any instances. I have also tried to edit the inetd config file and comment out the finger part but Solaris has basically... (14 Replies)
Hi,
I am running on Ubuntu 12 (precise) 64 bit and came to know that i cannot install any packages using apt-get and aptitude.
Linux test01 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
But the same /etc/apt/sources.list file is... (20 Replies)
Guys,
I am trying to use this command to find out the occurrence of the service "Loadservice" from the log file "log.06102010.svr1" in between the time frame 02:00:00 to 03:00:00 on the day 06-10-2010.
sed -n '/2010-06-10 02:00:00/,/2010-06-10 03:00:00/p' | fgrep "Loadservice"... (14 Replies)
Hi
I am trying to figure out, on how to automate whether in a simple script or using awk/sed/grep commands to automate a "service.message" file which has tag separated message stating as;
"There is currently no outage or system is unavailable for duration of change....", therefore, when... (14 Replies)