09-29-2008
Run Level 1, S and small s
Hi Experts,
A stupid question for experts
!!
What is the difference between run level ‘1', runlevel ‘S' and small ‘s'.
As per my understanding the difference between S and 1 is that in case of ‘S' it only going to mount the critical file system which ideal should be / , /var, /usr , however while testing I was able to see /export/home also in the df -h.
Please enlighten me
Regards
M
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
When the solaris 8 have come up, which command can find out the current run-level?
thanks. (2 Replies)
Discussion started by: nianzhe
2 Replies
2. Solaris
Dear Friends..!!
i am quit confused about the SOLARIES RUN level that is 0 . 1 or s S ...
please let me know the diffirence between these run level ... 0,1 and s S...
have a great day
Uday naikwadi (1 Reply)
Discussion started by: udayn
1 Replies
3. SuSE
Hello,
I recently updated a test system from Suse 8 to 9.3. Now our runlevel services program doesn't work, but works fine on our other 9.3 boxes.
We have a file in /etc/init.d/rc3.d called S99fooprog(not actual name ofcourse).
It just has a command to start a program daemon up. Anyways... (3 Replies)
Discussion started by: benefactr
3 Replies
4. Solaris
Hi All,
In Solaris 9 and below
I will get the init run-level by checking the /etc/inittab entry
is:3:initdefault:
But in Solaris 10 we are using the smf functionality.
Here how I can get the init default run level.
Please help me in this problem.
Regards,
... (2 Replies)
Discussion started by: kalpeer
2 Replies
5. Solaris
what are the major Difference Between run level & init level (2 Replies)
Discussion started by: rajaramrnb
2 Replies
6. UNIX for Dummies Questions & Answers
A Bourne Shell script is placed in /etc/rc.d/rc3.d called S57apache. What will happen with this script when the run level is changed from 5 to 3?
many thanks (4 Replies)
Discussion started by: lemon_06
4 Replies
7. Solaris
Hello,
I'm creating a VM Image of Solaris 10 on VM Player. I've completed the installation & I am using the Java Desktop as my default logon. I need to modify the Run Level to Console Mode (permanently). Unlike previous versions or Linux, modifying inittab file is not an option here.
Please... (2 Replies)
Discussion started by: DevendraG
2 Replies
8. Shell Programming and Scripting
Is there a way to tell what runlevel is currently being used,
for example is a user is using the gui
or is the have pressed Alt+Ctrl+F1 to drop to the terminal?? (3 Replies)
Discussion started by: ab52
3 Replies
9. Solaris
Need inputs when physical server is coming down (ex- init 0) .
We have a physical server in that there are couple of LDOM's and in LDOM's there are couple of Zones . In zones there are applications running .
Physical Server (T4 Server) -> LDOM -> ZONES -> applications
There are scripts... (1 Reply)
Discussion started by: ajayram_arya
1 Replies
10. Solaris
for solaris 11, how does one change the run level at boot from 3 to 2?
i checked "/etc/inittab" file where i usually change it in other *nix but it seems solaris is not using it. (1 Reply)
Discussion started by: badbanana
1 Replies
LEARN ABOUT LINUX
telinit
telinit(8) System Manager's Manual telinit(8)
NAME
telinit - change system runlevel
SYNOPSIS
telinit [OPTION]... RUNLEVEL
DESCRIPTION
telinit may be used to change the system runlevel.
The RUNLEVEL argument should be one of the multi-user runlevels 2-5, 0 to halt the system, 6 to reboot the system or 1 to bring the system
down into single-user mode.
Normally you would use the shutdown(8) tool to halt or reboot the system, or to bring it down to single-user mode.
RUNLEVEL may also be S or s which will place the system directly into single-user mode without actually stopping processes first, you prob-
ably won't want that.
The runlevel is changed by emitting the runlevel(7) event, which includes the new runlevel in the RUNLEVEL environment variable as well as
the previous runlevel (obtained from the environment or from /var/run/utmp) in the PREVLEVEL variable.
telinit will write the new runlevel to /var/run/utmp and append a new entry to /var/log/wtmp.
Other commands
telinit may be also used to send basic commands to the init(8) daemon for compatibility with System V. These are:
Q or q to request that init(8) reload its configuration. This is rarely necessary since Upstart watches its configuration with inotify(7)
and is deprecated by the initctl(8) reload-configuration command.
U or u to request that the init(8) daemon re-execute itself. This is not recommended since Upstart is currently unable to preserve its
state, but is necessary when upgrading system libraries.
OPTIONS
-e KEY=VALUE
This specifies an additional environment variable to be included in the event along with RUNLEVEL and PREVLEVEL.
ENVIRONMENT
RUNLEVEL
telinit will read the current runlevel from this environment variable if set in preference to reading from /var/run/utmp
FILES
/var/run/utmp
Where the current runlevel will be read from; this file will also be updated with the new runlevel.
/var/log/wtmp
A new runlevel record will be appended to this file for the new runlevel.
NOTES
The Upstart init(8) daemon does not keep track of runlevels itself, instead they are implemented entirely by its userspace tools.
See runlevel(7) for more details.
AUTHOR
Written by Scott James Remnant <scott@netsplit.com>
REPORTING BUGS
Report bugs at <https://launchpad.net/upstart/+bugs>
COPYRIGHT
Copyright (C) 2009 Canonical Ltd.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
runlevel(7) init(8) initctl(8) shutdown(8) runlevel(8)
Upstart 2009-07-09 telinit(8)