09-30-2010
/etc/inittab is correctly modified in AIX with the commands
"mkitab" (create inittab entry) and
"rmitab" (remove inittab entry) and
"chitab" (change inittab entry)
Read either man page before using one of these. Only root is allowed to sue any of these, of course.
I hope this helps.
bakunin
(PS: Software you could see running with "lssrc" have to be declared as subsystems/subservers and are controlled by the "System Resource Controller". You can create/delete/modify system resources with the commands "mkssys"/"rmssys"/"chssys". I suggest reading the man pages for these commands too. SRC items are completely separated from inittab items, though.)
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have COMPAQ DS 20 SERVER, During The Boot Process, There is an ERROR MESSAGE :
malloc_mem_alloc : no space in map.
AND the system can't boot , And i can't do anything.
The server display : malloc_mem_alloc and the unique thing i can di is to restart the server with i/o buttom.
HELP ME... (1 Reply)
Discussion started by: kamel267
1 Replies
2. AIX
To All:
I have this AIX machine (see boot process below). The problem was it hangs at:
The ctrmc Subsystem has been started. Subsystem PID is 11906..
I checked with other forums but their advise were just "strong punches in the air" with no specific explanation.
I really appreciate if... (6 Replies)
Discussion started by: aix_xia
6 Replies
3. AIX
Good afternoon,
I'm currently working on an IBM 9110-510, with an AIX 6.1 on it.
Currently, I've put an HyperTerminal on the machine vty0. Folowing the procedure given by a support guy(§details), I'm able to get to the AIX banner
... (6 Replies)
Discussion started by: nilleb
6 Replies
4. UNIX for Dummies Questions & Answers
Afternoon all, hopefully someone can give me a hand with this (the following may be explained very poorly :rolleyes: )
I know there's a process running on one of our Solaris 10 boxes that runs approximately every 5 minutes. Unfortunately I've no idea, who owns it, what it is called, or how it is... (2 Replies)
Discussion started by: dlam
2 Replies
5. Shell Programming and Scripting
Hi All,
I have to kill a program whose pid, i will be getting.
Multiple processes will be getting started by my script of same kind in a series.
So for after each call to a process i need to write a command or script which can kill the process if it takes more than 5min. In this i will... (3 Replies)
Discussion started by: nishank.jain
3 Replies
6. Programming
Hi, i want that the parent process start before the child, this code doesn't work,
if the child start before the parent it wait for signal, then the father send the signal SIGALRM and the child catch it and call printf;
else the father call printf and send the signal to the child that call its... (1 Reply)
Discussion started by: blob84
1 Replies
7. AIX
Hi guys,
Is there some way to monitor a process but previously starting truss like this?
truss ls &
ls
Thanks in advance. (1 Reply)
Discussion started by: edgarvm
1 Replies
8. Solaris
I understand the OBP program looks for the boot-device, loads the bootblk (located on physical disk sectors 1 through 15). Then the secondary boot program, /platform/`arch -k`/ufsboot is run. This program loads the kernel core image files (genunix and unix).
So how does it uses the ufsboot and... (1 Reply)
Discussion started by: MR.bean
1 Replies
9. Shell Programming and Scripting
This is on a CentOS box, I have two scripts that need to run in order.
I want to write a shell script that calls the first script, lets it run and then terminates it after a certain number of hours (that I specify of course), and then calls the second script (they can't run simultaneously) which... (3 Replies)
Discussion started by: btramer
3 Replies
LEARN ABOUT LINUX
initscript
INITSCRIPT(5) Linux System Administrator's Manual INITSCRIPT(5)
NAME
initscript - script that executes inittab commands.
SYNOPSIS
/bin/sh /etc/initscript id runlevels action process
DESCRIPTION
When the shell script /etc/initscript is present, init will use it to execute the commands from inittab. This script can be used to set
things like ulimit and umask default values for every process.
EXAMPLES
This is a sample initscript, which might be installed on your system as /etc/initscript.sample.
#
# initscript Executed by init(8) for every program it
# wants to spawn like this:
#
# /bin/sh /etc/initscript <id> <level> <action> <process>
#
# Set umask to safe level, and enable core dumps.
umask 022
ulimit -c 2097151
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH
# Increase the hard file descriptor limit for all processes
# to 8192. The soft limit is still 1024, but any unprivileged
# process can increase its soft limit up to the hard limit
# with "ulimit -Sn xxx" (needs a 2.2.13 or later Linux kernel).
ulimit -Hn 8192
# Execute the program.
eval exec "$4"
NOTES
This script is not meant as startup script for daemons or somesuch. It has nothing to do with a rc.local style script. It's just a handler
for things executed from /etc/inittab. Experimenting with this can make your system un(re)bootable.
FILES
/etc/inittab, /etc/initscript.
AUTHOR
Miquel van Smoorenburg ,<miquels@cistron.nl>
SEE ALSO
init(8), inittab(5).
July 10, 2003 INITSCRIPT(5)