Re: sleep from terminal
- From: haberg@xxxxxxxxxx (Hans Aberg)
- Date: Tue, 03 Jan 2006 09:58:34 GMT
In article <znu-F6B1F2.20180502012006@xxxxxxxxxxxxxx>, ZnU
<znu@xxxxxxxxxxxx> wrote:
> > Then stuff, like sleep and probably some drivers, that does not fit
> > into that model is added by code external to that. This is what is
> > causing kernel panics, external faulty code that the UNIX
> > kernel cannot handle. So if one should get the UNIX kernel to handle
> > things like sleep, it must call an external Mac OS X program that can
> > do the job. AppleScript evidently can do it (by the other posts).
>
> Power management, including sleeping, is definitely something handled
> within the kernel. Whether it's actually in the base kernel code or in a
> kernel extension isn't really relevant; it all ends up in kernel space
> at run-time.
Sure it is relevant, whether it is in the UNIX kernel, or if it is in
non-UNIX kernel extensions, as it affects reliability, for example.
The situations seems to be like that of Tenon BSD UNIX running as a
program within Mac OS 9. In that case, the reliability and capacities of
the UNIX programs are limited by Mac OS 9 reliability.
For Mac OS X, it seems that one has added a mini-OS, by which the FreeBSD
and its Mach kernel run within.
> But just because something is in the kernel, doesn't mean there's a *nix
> command to access it. And just because something is outside of the
> kernel, doesn't mean a *nix command can't access it.
The original the answer I gave, was for a UNIX shell command; I should
have added that one must call something without that UNIX environment to
get the effect. The answer given, using AppleScript, also gives hint that
some of these things cannot be handled within the UNIX proper itself.
Sure, Apple has added commands by which it seems almost anything can be
run from a suitable Apple shell command, and in later Mac OS X versions,
more and more it put over to the UNIX part proper.
--
Hans Aberg
.
- Follow-Ups:
- Re: sleep from terminal
- From: ZnU
- Re: sleep from terminal
- References:
- sleep from terminal
- From: johnny bobby bee
- Re: sleep from terminal
- From: Hans Aberg
- Re: sleep from terminal
- From: johnny bobby bee
- Re: sleep from terminal
- From: Hans Aberg
- Re: sleep from terminal
- From: ZnU
- sleep from terminal
- Prev by Date: Re: What causes CPU-Activity every 12 seconds while Mac Mini is idle?
- Next by Date: Re: sleep from terminal
- Previous by thread: Re: sleep from terminal
- Next by thread: Re: sleep from terminal
- Index(es):
Relevant Pages
|
|