11-20-2002
auto-startup a process
hi,
i just realise that everytimes i boot up my sun solaris 8 sparc, i need to explicitly run the following comand to start up my snmp agent.
cd /etc/rc2.d
./K07dmi start
./K07snmpdx start
i just wonder that how to make it auto-startup once the machine is boot up.
please enlighten me.
thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do i make a program run at system startup?
is there a hirarchy i have to consider?
is there any equivalent to an NT "Service" in unix?
how do you set it up?
thanx
Ron (2 Replies)
Discussion started by: exoron
2 Replies
2. HP-UX
hi, one of the process of hpux startup is this ISL where it consults the AUTO file. is this AUTO file resident in disk?
thanks (5 Replies)
Discussion started by: yls177
5 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am a redhat linux user and I want to try out freebsd 4.7.
My question is how does freebsd startup? I can not seem to find any run levels like in linux. All I see are rc.conf and rc scripts, I just want to know how does things get started. Also if I install Apache, where would i... (2 Replies)
Discussion started by: xNYx
2 Replies
4. UNIX for Dummies Questions & Answers
sorry, i'm a newbie to unix...
but how do i or rather where do i write scripts that auto start my application e.g. Informix?
in Windows it would be services but in UNIX where can i auto start my informix program? To run informix i just type "oninit". And do i have to login to any user before... (2 Replies)
Discussion started by: doofie
2 Replies
5. Solaris
Hi all! I'm running Solaris 10 and have a question about how i can stop a certain program to start at system startup,for example, as it is now sendmail is starting but i don't need sendmail,on the other hand so would i be very glad to get cups up and running at startup, anyone who can explain where... (3 Replies)
Discussion started by: larsgk
3 Replies
6. HP-UX
I have a machine running HP-UX 11.23 (PARISC) and APA startup fails on boot. This is found in /etc/rc.log:
Configure Auto-Port Aggregation(LAN Monitor) interfaces
Output from "/sbin/rc2.d/S343hplm start":
----------------------------
get_start_dlpi_version: failed, errno is 22
ERROR: ... (1 Reply)
Discussion started by: kknigga
1 Replies
7. AIX
Hi,
I want to modify some of the services/processes (related to the oracle database) to start automatically at the startup of the server.
which commands may help me?
which commands do I need to use?
my server configuration is, in brief:
hardware:IBM P550 / OS : AIX 5300
thanks,... (1 Reply)
Discussion started by: talipk
1 Replies
8. Linux
I know how to add an apps to auto-start in GUI, but I'd like to know how to do it mannualy. So where is the file saved to by GUI ? (1 Reply)
Discussion started by: honglus
1 Replies
9. Shell Programming and Scripting
Hi there,
I'll start by letting you you know my current shell programming and scripting is very week (and thats a euphemistic description). I'm really just wanting someone to make a suggestion to get me rolling in the right direction though absolutely any help is of course welcome.
Set Up
-... (0 Replies)
Discussion started by: lukusc
0 Replies
10. AIX
Hi All,
I would like to schedule auto IPL (shutdown and start-up) by using a shell script.
Can you please give me some idea?
want to test on my lab box first.
shell script should bring AIX LPAR down and then need to start/activate the LPAR after 30 min
any idea is highly... (3 Replies)
Discussion started by: System Admin 77
3 Replies
LEARN ABOUT REDHAT
autofs
AUTOFS(8) System Manager's Manual AUTOFS(8)
NAME
/etc/init.d/autofs - Control Script for automounter
SYNOPSIS
/etc/init.d/autofs start|stop|reload
DESCRIPTION
autofs control the operation of the automount(8) daemons running on the Linux system. Usually autofs is invoked at system boot time with
the start parameter and at shutdown time with the stop parameter. The autofs script can also manually be invoked by the system administra-
tor to shut down, restart or reload the automounters.
OPERATION
autofs will consult a configuration file /etc/auto.master (see auto.master(5)) to find mount points on the system. For each of those mount
points a automount(8) process is started with the appropriate parameters. You can check the active mount points for the automounter with
the /etc/init.d/autofs status command. After the auto.master configuration file is processed the autofs script will check for an NIS map
with the same name. If such a map exists then that map will be processed in the same way as the auto.master map. The NIS map will be pro-
cessed last.
/etc/init.d/autofs reload will check the current auto.master map against running daemons. It will kill those daemons whose entries have
changed and then start daemons for new or changed entries.
If a map is modified then the change will become effective immediately. If the auto.master map is modified then the autofs script must be
rerun to activate the changes.
/etc/init.d/autofs status will display the current configuration and a list of currently running automount daemons.
SEE ALSO
automount(8), autofs(5), auto.master(5).
AUTHOR
This manual page was written by Christoph Lameter <chris@waterf.org>, for the Debian GNU/Linux system. Edited by H. Peter Anvin
<hpa@transmeta.com>.
9 Sep 1997 AUTOFS(8)