Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Listing of services/auto start services

Status
Not open for further replies.

SimonPeh

MIS
Sep 11, 2002
96
SG
Hi Guys,

I'm pretty new to the Unix world and would like advise on how to list the services that is started in Unix OS.

1. Windows world can view all the services easily using GUI but how do we do that in Unix world ?

2. And how do we auto start all these services ? Do we do it in file /etc/inetd.conf ?

3. After telenet into a sever, can we trigger such as a reboot commmand to restart the server. I understand we are to effect any changes over telnet. What are some of the things we are not able to effect over telenet ?

4. How about recovery for Unix ? Are they tagged along with the registry setting such as in Windows world.

Thanks in Advance for all the great advise.

Cheers
Simon Peh
 
1. yes,it has,you can issue "smc &" to start a gui tool:solaris management console.it is very powerfull tool.
but the text-base commands are always recommended in case you have got no console such as when you use telnet or the system console if failed to access.

2.there are also another way to start services automatically at boot,they are scripts under /etc/init.d,these scripts are controled by /sbin/rc*.

3.over telnet,you cannot use gui,you have to use cli,of cause you can issue reboot or other command unless it is a gui application...

4.though unix is the most steady and strong os,there are still a lot of ways to make it more reliable,such as regularily backup,or mirror your disk, once your os crashed or data lost,you can recover it from the backup devices.

just my 2 cents
 
1] Services on Windows equate to daemons on UNIX, some are started using scripts in the /etc/rcx.d directories, others are started on demand by inetd from the file inetd.conf. The /etc/rc directories control which services are started and stopped and when - the so-called run-levels. The default run-level is 3 which multi-user with all networking services started. Other run levels are 2 - without NFS services, and 1 or S - single user.

'ps' will show you what processes are running - daemons nearly always have processes names ending in 'd'

3] You can do pretty well anything from the command line over telnet. If you are using a PC, an X-Windows emulator allows you to run run a Unix GUI. You will need to start the emulator up on your PC then from telnet type

who am i - This will give your IP address
DISPLAY=IP.ADDDRESS - from above
export DISPLAY
/usr/openwin/bin/xclock& - starts xclock on your PC

4] UNIX does not have the concept of a registry. All the scripts and executables for services are held in flat files and as such backed up along with your normal system backups. On recovery all of these will be restored as a matter of course

 
Thanks bluelake and julianbarnett for the helpful informations that you had provided.

Cheers
SP
 
One more question ...
How do u manually stop and start up specifc services such as DNS and DHCP.

is it something like Linux for example /etc/inetd/dns stop ?
/etc/inetd/ dns start ?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top