how to write RC scripts!!! pls assist


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting how to write RC scripts!!! pls assist
# 1  
Old 04-11-2008
how to write RC scripts!!! pls assist

Hi all,
I would like to know how to write an rc script?
Am planning on doing some memory management during the boot itself, so planning on implementing it through the rc scripts....
I wanted to know what the constraints are ,how the script itself need to be designed, and all such stuffs!!!

I have no good tutorials to do learn it.
So if anyone knows of good docs on the net, please help me

Thanks
# 2  
Old 04-13-2008
In what system you are planing to use this script?
They are all different.
# 3  
Old 04-13-2008
Am using solaris and would like to know on that grounds?
# 4  
Old 04-13-2008
Quote:
Originally Posted by wrapster
Am using solaris and would like to know on that grounds?
which version of solaris? rc scripts are obsolete with solaris 10 and greater... you can use rc scripts for backward compatibility but it's better to use the smf (service management facility) instead!

15.Managing Services (Tasks) (System Administration Guide: Basic Administration)

btw. this is an "evil" post... look at the post-count! Smilie (666)
# 5  
Old 04-13-2008
hee hee!!!
thats nice!!!
wonder how this happened??
Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to write BTEQ batch scripts in UNIX?

Hi All, I need to write Unix shell script. To star with : I need to do some file checking on unix file system, then based on file existance, I need to run diff SQL in Teradata Bteq. After that, depending on Results of SQL, I need to code other shell scripting like moving file, within same... (4 Replies)
Discussion started by: Shilpi Gupta
4 Replies

2. Shell Programming and Scripting

In need of assist....

How would i take the output of a file dump it into another file while at the same time sorting it? this is my script..simple i know!? echo "Enter the file log you wish to use. : " read file awk '{print $1,$2,$4,$5}' $file >> list Im trying to dump it into that list file and sort it at... (6 Replies)
Discussion started by: jspinal
6 Replies

3. Shell Programming and Scripting

Write a scripts to kill idle user for 60 min. & email user list to admin in text file

Folks, I have written one script for following condition by referring some of online post in this forum. Please correct it if I'm missing something in it. (OS: AIX 5.3) List the idle user. (I used whoidle command to list first 15 user and get username, idle time, pid and login time).... (4 Replies)
Discussion started by: sumit30
4 Replies

4. UNIX for Dummies Questions & Answers

Please Assist

I try taip this script below...but i have got error.The error message is Input read error..Anybody can see whether my script have problem.Below this is my script: #!/bin/sh filename=test.txt vi $filename <<EndOfCommands i This file was created automatically from a shell script ^ (1 Reply)
Discussion started by: mastercar
1 Replies

5. IP Networking

read/write,write/write lock with smbclient fails

Hi, We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies

6. Shell Programming and Scripting

Direct two scripts to write to one file

I have an interesting dilemma. I am trying make a script that is continuously scanning for new data. This script cannot be paused or stopped it needs to run constantly. I also want to periodically time stamp the output to make it easier to sort through. The trouble is that I can't think of a... (6 Replies)
Discussion started by: KnightAttrition
6 Replies

7. Shell Programming and Scripting

how to write orginal scripts to backups

hi iam new of scripting. give me some informtion of how to write backups file thanks&regards Naveen.g (1 Reply)
Discussion started by: naveeng.81
1 Replies

8. Shell Programming and Scripting

Pls Help-Script to execute Commands and write to excel file

Execute some commands in script and store result in excel sheet Kindly help me........... (1 Reply)
Discussion started by: Computer_baby
1 Replies

9. UNIX for Dummies Questions & Answers

how to write perl substitute command in shell scripts

How to write perl substitute command in shell script without invoking a perl script file seperately. for ex: shell script to relace IT with CSC in a file using perl substitute command. (3 Replies)
Discussion started by: param_it
3 Replies

10. UNIX for Dummies Questions & Answers

Learning to write UNIX Shell Scripts

Hi All, I am relatively new to UNIX. I know some basic commands. I am learning to write shell scripts. My first aim is to connect to a Data Base via shell script. Any ideas on this? Any links, docs which will tell me about scripting?? Thanks VEN (1 Reply)
Discussion started by: VENC22
1 Replies
Login or Register to Ask a Question