Sponsored Content
Full Discussion: Need svcs equivalent command
Top Forums UNIX for Advanced & Expert Users Need svcs equivalent command Post 302359499 by TonyFullerMalv on Tuesday 6th of October 2009 06:25:29 PM
Old 10-06-2009
The svcs(1) command is part of the SMF system that replaces the RC scripts used on earlier versions of Solaris, HP-UX still uses the rc scripts so svcs does not apply and no direct equivalent exists.

So for checking say NTP you will have to go back to checking is the ntp daemon running:
Code:
$ ps -ef | grep ntpd

and does it give a valid response when queried?
Code:
$ ntpq -p

to see if the NTP service started and is running okay.

There are of course commands like netstat and lsof to see if network daemons are listening and what ports they are using.
 

10 More Discussions You Might Find Interesting

1. Solaris

svcs command on solaris 8 and 9

Hi, Can anybody tell me what is the command to start and stop services on solaris 8. I found command svcs on solaris 10 but not on 8 or 9. Please guilde me. Thanks, Rucha (7 Replies)
Discussion started by: rucha_mahajan
7 Replies

2. Shell Programming and Scripting

Equivalent command to 'stat'

Can anyone tell me which is the equivalent command to 'stats' in ksh shell which discribes the file system? Thanks in advance Regards, Im_new (6 Replies)
Discussion started by: im_new
6 Replies

3. Shell Programming and Scripting

ttytype equivalent command in Solaris.

Hi All, We are trying to migrate scripts from HP Unix to Solaris server, in one of the profile file following command is used to set terminal settings and export its value, "ttytype -a -s " Now the same command is not present in Solaris, could someone let me know which command should i... (0 Replies)
Discussion started by: arvindcgi
0 Replies

4. AIX

smitty equivalent command line command

i know after you do something in smitty via the gui, you can click something in smitty that will show you how to do the same thing via the command line, (not using the gui) can anyone tell me how (2 Replies)
Discussion started by: asyed123
2 Replies

5. Solaris

svcs command shows the state as disabled

Hi I need to export a directory named /sybase from my solaris machine via NFS. The svcs command shows the state as disabled. Please let me know how to export the directory. Once the directory is exported from the solaris machine it has to be mounted locally in an aix machine. Can some one... (2 Replies)
Discussion started by: newtoaixos
2 Replies

6. UNIX for Dummies Questions & Answers

A faster equivalent for this sed command

Hello guys, I'm cleaning out big XML files (we're talking about 1GB at least), most of them contain words written in a non-latin alphabet. The command I'm using is so slow it's not even funny: cat $1 | sed -e :a -e 's/&lt;*&gt;//g;/&lt;/N;//ba;s/</ /g;s/>/... (4 Replies)
Discussion started by: bobylapointe
4 Replies

7. Windows & DOS: Issues & Discussions

DOS Equivalent of UNIX Command

Hi, The title of this post is a little vague but I couldn't think of what to call it. In Unix you can perform the following command ftp -v IPADDRESS <<END put FILE END In a DOS command prompt, is it possible to do the same kind of thing that the "<<END" does? So for example, ... (4 Replies)
Discussion started by: Ste_Moore01
4 Replies

8. Shell Programming and Scripting

Check & use output of svcs command

Hello Dear Friends, I need to check output of svcs command and so the status of some instances. -bash-3.00$ svcs -a | grep rfe online Aug_04 svc:/application/rfe/rfe_master_3:default online Aug_04 svc:/application/rfe/rfe_master_4:default as you can see there are two... (1 Reply)
Discussion started by: EAGL€
1 Replies

9. UNIX for Dummies Questions & Answers

Create the equivalent of the command WC

hi all, i'm trying to do this exercise, i want to create a script that can substitute WC command in unix, can someone help me? (11 Replies)
Discussion started by: Marina2013
11 Replies

10. Shell Programming and Scripting

Equivalent to let command in POSIX shell

Hi all, I am learning POSIX shell programming, and the book I read, uses the let command for integer arithmetic. I have downloaded and use the shellcheck program on Linux. This programs says: In POSIX sh, 'let' is undefined. See the screenshot attached. What is the POSIX... (1 Reply)
Discussion started by: johnprogrammer
1 Replies
svc.configd(1M)                                                                                                                    svc.configd(1M)

NAME
svc.configd - Service Management Facility repository daemon SYNOPSIS
/lib/svc/bin/svc.configd svc.configd is the repository daemon for the Service Management Facility. svc.configd is invoked automatically during system startup, and restarted if any failures occur. svc.configd should never be invoked directly. Interaction with svc.configd is by way of libscf(3LIB) and the command line tools:svcs(1), svcprop(1), svcadm(1M), and svccfg(1M). See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsr | +-----------------------------+-----------------------------+ svcs(1), svcprop(1), svcadm(1M), svccfg(1M), libscf(3LIB), attributes(5) 27 Oct 2004 svc.configd(1M)
All times are GMT -4. The time now is 06:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy