English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 17 August 2018, 19:18   #1
tlgrooms
Registered User

tlgrooms's Avatar
 
Join Date: Feb 2018
Location: Mayflower, AR USA
Posts: 13
Reboot system from CLI

Is there a way to restart a machine from the command line? I run a BBS with a shell and would like to occasionally restart it from the command line to free up memory.

Thanks.
tlgrooms is offline  
Old 17 August 2018, 19:42   #2
talybont
Registered User

 
Join Date: Oct 2016
Location: Norway
Posts: 115
http://aminet.net/package/util/boot/SafeReset

There are many other tools like it (http://aminet.net/search?query=reboot).
talybont is online now  
Old 17 August 2018, 19:59   #3
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,886
The "Reset" command resets the hot system while the command "Reboot" instead makes a cold reboot eliminating everything from the Ram (great when there is a virus in memory).

The "Flush" command or other similar applications is very convenient for cleaning up the used libraries that allow you to replace the libraries (erasing them from the memory) without rebooting the system.
AMIGASYSTEM is offline  
Old 08 September 2018, 15:42   #4
kolla
Registered User
kolla's Avatar
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,567
You mean "avail flush".

OS3.1 Install floppy comes with a C/Reboot.
kolla is offline  
Old 08 September 2018, 15:45   #5
kolla
Registered User
kolla's Avatar
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,567
Quote:
Originally Posted by AMIGASYSTEM View Post
The "Reset" command resets the hot system while the command "Reboot" instead makes a cold reboot eliminating everything from the Ram (great when there is a virus in memory).
Hm, no. There's lots of things, including viruses, that remain resident and survive just about any reboot command.
kolla is offline  
Old 08 September 2018, 16:08   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,107
Nothing survives if reboot command clears execbase pointer (or any other method that causes KS to rebuild exec from scratch) before rebooting.
Toni Wilen is offline  
Old 08 September 2018, 16:08   #7
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 47
Posts: 2,685
Tude hardreset
jotd is offline  
Old 08 September 2018, 23:06   #8
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,886
Quote:
Originally Posted by kolla View Post
You mean "avail flush".
No, application called "Flush", convenient when you need to replace a library without rebooting the system

Last edited by AMIGASYSTEM; 13 September 2018 at 19:56.
AMIGASYSTEM is offline  
Old 09 September 2018, 12:27   #9
kolla
Registered User
kolla's Avatar
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,567
Well, that is not part of the OS and it appears to do the exact same as "avail flush", except that it prints out what it managed to flush. When referring to third party tools, it would be nice if you could link to which you speak of, there are several reboot/reset/flush commands on Aminet.

The "standard" Reboot command that comes with OS 3.1 does not fully resets systems, resident kickstart modules loaded with LoadModule, RAD disk devices, and programs written to survive (TimeKeeper, BootCtrl etc and yes - viruses), will survive.

On that topic - would be nice with a "flusher" that prints out what it did _not_ manage to flush, and what program that "hold" the resource.

@tlgrooms

Sorry if this drifted off to more than you asked for
kolla is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amikit and CLI BanisterDK support.WinUAE 2 16 September 2012 13:10
for..each statement in CLI pieter1976 support.Other 4 21 August 2011 03:23
CLI help DeafDaz request.Other 3 10 August 2011 02:16
System is not validated! FFS (and I dont mean fast file system!) Macca support.Hardware 11 11 June 2007 14:04

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:53.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.07193 seconds with 15 queries