Sponsored Content
Top Forums Shell Programming and Scripting How can I make a program start up automatically after the computer restart/startup? Post 302106230 by tayyabq8 on Wednesday 7th of February 2007 08:13:39 AM
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I start a program when I start my Computer?

I'm running MAC OS X and I'm wondering how I start 'nixey programs (not normal apps) on startup? Things like the dnet client and hxd Hotline Server. Anyone know? (1 Reply)
Discussion started by: l008com
1 Replies

2. Shell Programming and Scripting

need help to write script to check the process health and automatically restart it

I am working on a project, which need to constantly watch the process, and check its status, if it was dead, it should be restart automatically. Please kindly refer me to URL which teach how to write this kind of script, or service. Thanks. (1 Reply)
Discussion started by: dragondad
1 Replies

3. Shell Programming and Scripting

Start Stop Restart

I'm wondering how I should make a script that can start, stop, and restart another script. What I need to be able to do, is start and stop a perl script from the command line. The easiest way of doing this seems to be to have another script, starting and stopping the other script. I have BASH,... (7 Replies)
Discussion started by: Bakes
7 Replies

4. Shell Programming and Scripting

guarantee to start before restart...

Hi All, is there a way or script that i can check my AIX 5.3 OS will restart before i made restart? is there a script that can check all the startup files are ok before restarting. it is because i was stuck last time when i restart my PC because some startup files were missing:o. (2 Replies)
Discussion started by: malcomex999
2 Replies

5. Shell Programming and Scripting

Start program in background (or start crontab ahead of time)

Hey! I'm working on a script that will add a user, create some configfiles, and add a crontab for the user. The crontab looks like the following: @reboot /home/user/program config.conf & I would like for this process to start at the end of my script under the corresponding username by... (0 Replies)
Discussion started by: noratx
0 Replies

6. Solaris

Autostart MySQL db on restart or startup

Could not find a good explanation that was Solaris specified. Need to add MySQL to start up on system startup or restart. I was gone for a few days from work and someone decided to relocate the server. When it came back up, of course mysql was down. On my previous linux systems I always just had... (2 Replies)
Discussion started by: ippy98
2 Replies

7. UNIX for Dummies Questions & Answers

Stop/Start vs. Restart

Is there any functional difference between: issuing separate stop/start commands like this; super (handler) (instance) stop super (handler) (instance) start versus issuing a single recycle command like this; super (handler) (instance) restart (3 Replies)
Discussion started by: Newbix
3 Replies

8. Shell Programming and Scripting

automatically restart scripts

I am new to AIX shell scripting, please help...... I want to write a automatically restart script for one of my application. For example, the application name: ABC (you can see its ID from ps -ef | grep ABC). It can be started by ABC.sh file but it has to be stopped by using "ps -ef | grep ABC"... (2 Replies)
Discussion started by: jsmitha2009
2 Replies

9. HP-UX

Unix server restart automatically

We have HP K class unix server, It's automatically restart the server. (10 Replies)
Discussion started by: ganesh24pal
10 Replies

10. Red Hat

Start a service manager process automatically on startup

Hello, I am in the process of learning Linux OS. How do I run the below lines of code automatically as root on server startup. cd /opt/program_folder/ServiceManager/bin nohup ./servce_manager DEV & Currently, as soon as the server is up and running I log in as root (as this... (6 Replies)
Discussion started by: rparavastu
6 Replies
dtsd(1m)																  dtsd(1m)

NAME
dtsd - Restarts the DTS daemon SYNOPSIS
dtsd [options] [-d] [-w serviceability] dtsd [-s [-k courier|noncourier] [-g] [-o]] dtsd -c ARGUMENTS
Debug mode. The command will run in the foreground. See svcroute(5) for the full description of the appropriate format for this entry. Only the three-field format, severity:how:where, is used. An example is: FATAL:TEXTFILE:/dev/console Run as a server. Default is backup, courier, local server Run dtsd as a global server. Run dtsd as a courier. Run dtsd as a noncourier. When enabling as a server, set the clock immediately. Equivalent to the command enable set clock true in dtscp or to the command dcecp dts activate -abruptly. Run dtsd as a clerk. DESCRIPTION
The dtsd command invokes the DTS daemon (clerk or server process). This command is usually executed as part of the overall DCE startup script, rc.dce. You can enter the command manually under the following conditions: If a DTS daemon fails to start automatically upon reboot If you want to restart a daemon that you shut down to perform a backup or do diagnostic work In normal rebooting, the rc.dce script automatically provides arguments appropriate to the choice of configuration options. The command line arguments shown here can also be provided to dced as part of the fixed configuration strings, if dced is configured to automatically start the dtsd. If dtsd is started with no arguments (other than -d and -w), then the server must be started with dcecp. The following example configures a local server: dcecp> dts configure -notglobal dcecp> dts activate Privilege Required DTS runs as the host machine principal, which is usually root. See the Security reference pages for information about principals. NOTES
Use dtsd interactively only when troubleshooting; use the rc.dce script to start the DTS daemon. On some systsems the superuser is associ- ated with the machine principal. EXAMPLES
To restart the daemon, follow these steps: Log in to the system as superuser (root). Use the ps command to make sure that dced and cdsadv are running. (The DCE daemon provides the endpoint mapping and security services, and cdsadv provides CDS.) Enter the following command to restart the dts daemon as a clerk: $ dtsd -c To restart the dts daemon as a server, use dtsd -s and to restart it as a global server, setting the clock on startup, use dtsd -s -g -o RELATED INFORMATION
Commands: dtscp(1m), dtsdate(1m), dcecp(1m). Books: OSF DCE Administration Guide dtsd(1m)
All times are GMT -4. The time now is 04:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy