English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 17 August 2018, 18: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, 18:42   #2
talybont
Registered User

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

There are many other tools like it (http://aminet.net/search?query=reboot).
talybont is offline  
Old 17 August 2018, 18:59   #3
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,559
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, 14:42   #4
kolla
Registered User
kolla's Avatar
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,450
You mean "avail flush".

OS3.1 Install floppy comes with a C/Reboot.
kolla is offline  
Old 08 September 2018, 14:45   #5
kolla
Registered User
kolla's Avatar
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,450
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, 15:08   #6
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 21,913
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 online now  
Old 08 September 2018, 15:08   #7
jotd
Cat freak
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 47
Posts: 2,557
Tude hardreset
jotd is online now  
Old 08 September 2018, 22:06   #8
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,559
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 18:56.
AMIGASYSTEM is offline  
Old 09 September 2018, 11:27   #9
kolla
Registered User
kolla's Avatar
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,450
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 12:10
for..each statement in CLI pieter1976 support.Other 4 21 August 2011 02:23
CLI help DeafDaz request.Other 3 10 August 2011 01:16
System is not validated! FFS (and I dont mean fast file system!) Macca support.Hardware 11 11 June 2007 13: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:08.


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