Nп/п : 71 из 100
 От   : Alan Browne                         2:5075/128        30 сен 23 16:55:18
 К    : Percival John Hackworth                               30 сен 23 23:59:04
 Тема : Re: Question about UPS shutdown
----------------------------------------------------------------------------------
                                                                                 
@MSGID: NkG.1559@fx41.iad> 4d45bd1e
@REPLY: <knrc6iFcdgeU1@mid.individual.net>
533bf07a
@REPLYADDR Alan Browne <bitbucket@blackhole.com>
@REPLYTO 2:5075/128 Alan Browne
@CHRS: CP866 2
@RFC: 1 0
@RFC-References:
<d500fe29-81f8-4435-a76a-64d1655b60c7n@googlegroups.com> 1@dont-email.me>
<a5cad004-11e7-4130-8310-3f0f4b6632f2n@googlegroups.com> <knrc6iFcdgeU1@mid.individual.net>
@RFC-Message-ID: NkG.1559@fx41.iad>
@TZUTC: -0400
@PID: Mozilla/5.0 (Macintosh; Intel Mac OS X
10.14; rv:102.0) Gecko/20100101 Thunderbird/102.15.1
@TID: FIDOGATE-5.12-ge4e8b94
On 2023-09-30 15:45, Percival John Hackworth wrote:
> On Sep 30, 2023 at 11:12:21 AM PDT, "Connor Shannon" <cshannon1898@gmail.com>
> wrote:

>>
>> The software is in MacOS it doesn`t matter what kind of UPS it is. System
>> settings, Energy saver, UPS options. I have it set to close down when the UPS
 >> gets down to 10%. So it won`t be any kind of sudden shutdown.
MacOS will close
>> the open programs. I just don`t know what happens if it can`t close a pgm
>> b`cuz something wasn`t saved. If it was important to save I would of saved it
>> but sometimes like the other night I`d made a little comment on a PDF so it
>> wouldn`t close till I said whether to save it. No big deal but will it stop
>> the shutdown and then stay on until the UPS dies?
>>
 >> So does the Mac skip that program and close the others or does
it just give up
>> and shut down suddenly or does it not shut down at all?

> AFAIK, the mechanism for shutting down programs, the FORCE QUIT option, in the
> Finder, would probably use the UNIX KILL -9 signal to do that. Any process
> that catches this signal will terminate with extereme prejudice. I doubt the
> UPS program uses just the plain KILL signal. Many programs can setup
> exceptions to that and ignore it. That`s up the developer of the program.

> You could test this by running software you normally do and in the command
> line use the "kill " and see if it exits or ignores it, like Word
> throwing up a File Save dialog rather than quiting.

> The "kill -9 " Unix command can only be blocked if the process is
> doing I/O, e.g. writing to disk or a network socket. In that case, if the I/O
> completes before the big Red Button, the process will exit w/o saving
> anything. If power drops, same thing. That`s when you`ll need your snapshot
> backup if the file is corrupted.

This.

-- 
"Markets can remain irrational longer than your can remain solvent."
- John Maynard Keynes.

 --- Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:102.0)
Gecko/20100101 Thunderbird/102.15.1
 * Origin: UsenetServer - www.usenetserver.com (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5075/128
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх