|
From: Wayne on 9 Apr 2008 20:18 In another group someone asked how to get the run-level. "who -r" is the answer I gave, but even though this is still described in the Solaris 10 who(1) man page, I'm wondering what it reports since Solaris no longer uses a SysV init system? I don't have a Solaris box to try this so I thought I'd ask. Does this return the last milestone reached, nothing at all, or what? Just curious, thanks! -Wayne
From: Oscar del Rio on 9 Apr 2008 22:01 Wayne wrote: > In another group someone asked how to get the run-level. > "who -r" is the answer I gave, but even though this is > still described in the Solaris 10 who(1) man page, I'm > wondering what it reports since Solaris no longer uses > a SysV init system? I don't have a Solaris box to try > this so I thought I'd ask. Does this return the > last milestone reached, nothing at all, or what? same old . run-level 3 Nov 29 10:59 3 0 S
From: Greg Andrews on 10 Apr 2008 02:48 Wayne <nospam(a)all4me.invalid> writes: >In another group someone asked how to get the run-level. >"who -r" is the answer I gave, but even though this is >still described in the Solaris 10 who(1) man page, I'm >wondering what it reports since Solaris no longer uses >a SysV init system? I don't have a Solaris box to try >this so I thought I'd ask. Does this return the >last milestone reached, nothing at all, or what? > >Just curious, thanks! > I don't think Solaris 10 changed the concept of run levels as the way to determine which programs to start up, only the use of shell scripts as the method for sequencing and starting them. -Greg -- Do NOT reply via e-mail. Reply in the newsgroup.
From: Wolfgang on 10 Apr 2008 03:47 Greg Andrews schrieb: > Wayne <nospam(a)all4me.invalid> writes: >> In another group someone asked how to get the run-level. >> "who -r" is the answer I gave, but even though this is >> still described in the Solaris 10 who(1) man page, I'm >> wondering what it reports since Solaris no longer uses >> a SysV init system? I don't have a Solaris box to try >> this so I thought I'd ask. Does this return the >> last milestone reached, nothing at all, or what? >> >> Just curious, thanks! >> > > I don't think Solaris 10 changed the concept of run levels > as the way to determine which programs to start up, only > the use of shell scripts as the method for sequencing and > starting them. > > -Greg is there a method to switch to another milestone/runlevel by use of smf? I remember it can be done, but i still use init/shutdown. Wolfgang
From: Tim Bradshaw on 10 Apr 2008 04:06
On Apr 10, 1:18 am, Wayne <nos...(a)all4me.invalid> wrote: > In another group someone asked how to get the run-level. > "who -r" is the answer I gave, but even though this is > still described in the Solaris 10 who(1) man page, I'm > wondering what it reports since Solaris no longer uses > a SysV init system? I don't have a Solaris box to try > this so I thought I'd ask. Does this return the > last milestone reached, nothing at all, or what? There are still run-levels and who -r still reports them. The difference is that now init starts svc.startd at boot (from inittab), and informs it of run-level changes, and it does almost all the work, translating run-levels into milestones. The whole SVC system is not very well documented or designed, which is sad as it has huge possibilities. |