Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 13

Discussione: Magic SysReq

  1. #1

    Magic SysReq

    ciao,
    avete mai usato la funzione del kernel

    magic SysRq key ?

    quando il sistema si impalla, per non riavviarlo,
    come posso utilizzare questa funzione ?


    grazie

  2. #2
    'r' - Turns off keyboard raw mode and sets it to XLATE.



    'k' - Secure Access Key (SAK) Kills all programs on the current virtual

    console. NOTE: See important comments below in SAK section.



    'b' - Will immediately reboot the system without syncing or unmounting

    your disks.



    'o' - Will shut your system off (if configured and supported).



    's' - Will attempt to sync all mounted filesystems.



    'u' - Will attempt to remount all mounted filesystems read-only.



    'p' - Will dump the current registers and flags to your console.



    't' - Will dump a list of current tasks and their information to your

    console.



    'm' - Will dump current memory info to your console.



    '0'-'9' - Sets the console log level, controlling which kernel messages

    will be printed to your console. ('0', for example would make

    it so that only emergency messages like PANICs or OOPSes would

    make it to your console.)



    'e' - Send a SIGTERM to all processes, except for init.



    'i' - Send a SIGKILL to all processes, except for init.



    'l' - Send a SIGKILL to all processes, INCLUDING init. (Your system

    will be non-functional after this.)



    'h' - Will display help ( actually any other key than those listed

    above will display help. but 'h' is easy to remember :-

    In sintesi ti consiglio
    quando il sistema s'impalla
    ctrl+alt+sysrq+s (fa il sync)
    ctrl+alt+sysrq+u (smonta i dischi)
    ctrl+alt+sysrq+b (reboota)

  3. #3
    quando faccio

    ctrl+alt+RSist
    o
    ctrl+alt+Interr

    non fa nulla



    p.s.
    ma devo modificare il valore in

    /proc/sys/kernel/sysrq

    ???

  4. #4
    Originariamente inviato da sacarde
    quando faccio

    ctrl+alt+RSist
    o
    ctrl+alt+Interr

    non fa nulla



    p.s.
    ma devo modificare il valore in

    /proc/sys/kernel/sysrq

    ???
    CTRL+ALT+SYSRQ+tasto che ti serve

  5. #5
    scusa l'imbranatezza


    sulla destra del tasto F12, ho 3 tasti

    uno e' stamp/sist r
    due e' Bloc/Scorr
    tre e' Pausa/Interr

    devo premere il secondo

    vero ?


    non fa nulla

  6. #6
    Utente di HTML.it L'avatar di cacao74
    Registrato dal
    Jan 2005
    Messaggi
    2,570
    Originariamente inviato da sacarde
    uno e' stamp/sist r
    utilizza questo!

    mi fa strano che trovi scritto "sist r"
    normalmente trovi "RSist" o "SysRq"
    E sempre normalmente e' il tasto piu' a sinistra dei tre.

    ciao
    slack? smack!

  7. #7
    eppure nel kernel

    Linux underground 2.6.17-beyond #1 SMP PREEMPT Mon Sep 18 12:24:35 EST 2006 i686 AMD Sempron(tm) 2400+ AuthenticAMD GNU/Linux

    il magicsysreq e' = Y

    ma non me lo sente

  8. #8
    Originariamente inviato da sacarde
    scusa l'imbranatezza


    sulla destra del tasto F12, ho 3 tasti

    uno e' stamp/sist r
    due e' Bloc/Scorr
    tre e' Pausa/Interr

    devo premere il secondo

    vero ?


    non fa nulla
    No!
    Il primo

  9. #9
    non fa niente neanche con quello ....




    pero' se faccio

    cat /proc/sys/kernel/sysrq
    ho
    0

  10. #10
    Originariamente inviato da sacarde
    non fa niente neanche con quello ....




    pero' se faccio

    cat /proc/sys/kernel/sysrq
    ho
    0
    Allora sono disabilitati
    ricompila il kernel e abilitali

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.