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:
and does it give a valid response when queried?
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.
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)
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)
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)
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)
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)
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/<*>//g;/</N;//ba;s/</ /g;s/>/... (4 Replies)
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)
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)
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)