Nп/п : 57 из 100
 От   : Percival John Hackworth             2:5075/128        30 сен 23 19:45:22
 К    : Connor Shannon                                        30 сен 23 22:48:03
 Тема : Re: Question about UPS shutdown
----------------------------------------------------------------------------------
                                                                                 
@MSGID: <knrc6iFcdgeU1@mid.individual.net>
533bf07a
@REPLY:
<a5cad004-11e7-4130-8310-3f0f4b6632f2n@googlegroups.com> e71fcc3c
@REPLYADDR Percival John Hackworth
<pjh@nanoworks.com>
@REPLYTO 2:5075/128 Percival John Hackworth
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<knrc6iFcdgeU1@mid.individual.net>
@RFC-References:
<d500fe29-81f8-4435-a76a-64d1655b60c7n@googlegroups.com> 1@dont-email.me>
<a5cad004-11e7-4130-8310-3f0f4b6632f2n@googlegroups.com>
@TZUTC: 0000
@PID: Usenapp for MacOS
@TID: FIDOGATE-5.12-ge4e8b94
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.
-- 
DeeDee, don`t press that button!  DeeDee!  NO!  Dee...
--- Usenapp for MacOS
 * Origin: usenet.network (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    
                                                                                
В этой области больше нет сообщений.

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