08-23-2009
5.11 (opensolaris) is newer than solaris 10, so there should be the tools (make sure you are "root") for manage services. these are:
svcs, svcadm, svccfg, svcprop, ...
if you try to use a legacy script, you have to know where to put it, depending on the runlevel and the dependencies...
Last edited by DukeNuke2; 08-23-2009 at 02:01 PM..
Reason: wrong command (svccfg)
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How do you capture the return code from a background process?
I am dumping data to a fifo and then processing it in a c program.
I need to know that the sql finished successfully to ensure no missing data. Thanks.
ex.
sqlplus user/password < get_data.sql > data_fifo.txt &
bin/process_data... (2 Replies)
Discussion started by: korndog
2 Replies
2. Shell Programming and Scripting
hi there,
here's what i need in my korn-shell:
... begin korn-shell script
... nohup process_A.ksh ; nohup process_B.ksh &
... "other stuff"
... end lorn-shell script
in plain english i want process A and process B to run in the background so that the script can continue doing... (6 Replies)
Discussion started by: jacob_gs
6 Replies
3. Linux
Hi!
First of all, let me warn you I'm quite new to the world of LINUX and Operating Systems understanding, so that's why I pose these newbie and stupid qustions...
Anyway, I'm trying to build my own simple shell in C and I'm getting some problems in implementing the background process ('&')... (10 Replies)
Discussion started by: neimaD
10 Replies
4. SuSE
I have installed oracle 10g on suse sles9. I do not see oracle background processes.
ps -ef|grep ora_ gives me environment variables junk.
ps -ef|grep smon does not show anything however database is up and running.
Any idea how to tweak that? (1 Reply)
Discussion started by: vijayasawant
1 Replies
5. Shell Programming and Scripting
I've got a bit of code I'm trying to work on...
What i want to happen is ... at all times have four parallel mysql dump and imports running.
I found the follow code snippet on the forum and modified it to work
by starting four concurrent processes but it waits until all four are done before... (7 Replies)
Discussion started by: dgob123
7 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Inorder to improve the performance, I am trying to execute my command as a background process..
For eg: To zip large numbers of files present in a directory instead of using a single process, i do follow the below method:
gunzip -c > / &... (3 Replies)
Discussion started by: unni.raj
3 Replies
7. Shell Programming and Scripting
Ok guys so I have my first dummy shell almost done except for one tiny part: I do not know how to run a process in the background, from the code!
I already know how to do that in a normal shell:
$ program &
However, no clue when it comes to how to program that thing. :eek:
A very... (2 Replies)
Discussion started by: Across
2 Replies
8. UNIX for Dummies Questions & Answers
HI All ,
Pardon me for asking some very basic questions,
I would be grateful if someone can help.
I am trying to execute a shell script which runs multiple processes in background. It includes various operations like copying , DB operations etc etc.
Now problem is that the complete script... (6 Replies)
Discussion started by: gpta_varun
6 Replies
9. Shell Programming and Scripting
Hi,
I have a schell script parent.ksh from which I am calling three background processes a.ksh,b.ksh and c.ksh. Once these three processes completes the next step in parent.ksh should execute. How to achieve this?
Please help me....
Thanks... (1 Reply)
Discussion started by: ravinunna
1 Replies
10. UNIX for Advanced & Expert Users
How do I list the process in a Unix based system which are running in background?
The following are options that I'm aware of, but they may not be appropiate.
a. using ps -ef , and getting records of processes for which STATUS='S'(uninterruptible sleep)
b. using jobs -l, and filtering... (5 Replies)
Discussion started by: kumarjt
5 Replies
LEARN ABOUT LINUX
sysadmin
SYSADMIN(1) General Commands Manual SYSADMIN(1)
NAME
sysadmin - responsible for everything imaginable that may or may not have to do with the system you're using. Contraction of "system" and
"administrator"
SYNOPSIS
sysadmin [-ab] [-cd] [-ef] etc......
DESCRIPTION
sysadmin takes care of everything, is generally harangued, must be supplied with coffee, chocolate, and alcohol in order to function prop-
erly, cannot be exposed to direct sunlight, and must not be allowed to have a life.
sysadmin is not intended as a user interface routine; other programs provide user-friendly front ends; sysadmin is used by everyone who can
track him [her] down.
With no flags, sysadmin reads its standard input up to an EOF, or a line which sysadmin wishes to parse, and then proceeds to ignore it
entirely and read news all day. When invoked with the -w option, sysadmin reads standard input and responds according to terms of job
description.
OPTIONS
-bofh Go into Bastard Operator From Hell mode. This option causes sysadmin to use tools stored in the /usr/lib/bofh directory to parse
the standard input and route user tasks appropriately.
-cd causes sysadmin to become caffeine-deprived, resulting in system slowdowns.
-b causes the sysadmin to function normally while augmenting the standard input with beer(5). Can be used with the -t option as well,
depending upon which version of sysadmin you are running.
-t causes the sysadmin to smoke tobacco, which can result in significant performance improvement, provided you are running the correct
version of sysadmin.
-Cfile Specify an alternate configuration file (sysadmin.cf is the standard).
-dX set debuggin value to X.
-fFullname
Set the full name of the sysadmin.
-Bf Create the sysadmin.cf configuration freeze file.
-lname Sets the name of the "luser" person (that is, originator of a given request). -l can only be used by "trusted" users (who are listed
in sysadmin.cf).
NOTES
The -t option should not be used with a version of sysadmin which is not capable of parsing tobacco input. Though the functionality of
this command may seem similar to the -b option, it should not be confused with that or the related -c option.
25 September 1995 SYSADMIN(1)