Skip to main content
Improves post formatting
Source Link
kenorb
  • 25.8k
  • 27
  • 134
  • 204

Configuring sysrq in linux How to check which SysRq functions are enabled?

The file /proc/sys/kernel/sysrq contains a single number, such as 1 (enable all sysrq commands), 0 (disable all), or a base-10 positive integer which functions as a binary bitmask, enabling a subset of functions.:

  • 1 (enable all SysRq commands),
  • 0 (disable all),
  • or a base-10 positive integer which functions as a binary bitmask, enabling a subset of functions.

Could someone please tell me which sysrqSysRq functions are allowed/disallowed when the bitmask is set to 438?

cat /proc/sys/kernel/sysrq

 

438

$ cat /proc/sys/kernel/sysrq
438

Configuring sysrq in linux

The file /proc/sys/kernel/sysrq contains a single number, such as 1 (enable all sysrq commands), 0 (disable all), or a base-10 positive integer which functions as a binary bitmask, enabling a subset of functions. Could someone please tell me which sysrq functions are allowed/disallowed when the bitmask is set to 438?

cat /proc/sys/kernel/sysrq

438

How to check which SysRq functions are enabled?

The file /proc/sys/kernel/sysrq contains a single number, such as:

  • 1 (enable all SysRq commands),
  • 0 (disable all),
  • or a base-10 positive integer which functions as a binary bitmask, enabling a subset of functions.

Could someone please tell me which SysRq functions are allowed/disallowed when the bitmask is set to 438?

 
$ cat /proc/sys/kernel/sysrq
438
Source Link
user001
  • 3.7k
  • 7
  • 25
  • 32

Configuring sysrq in linux

The file /proc/sys/kernel/sysrq contains a single number, such as 1 (enable all sysrq commands), 0 (disable all), or a base-10 positive integer which functions as a binary bitmask, enabling a subset of functions. Could someone please tell me which sysrq functions are allowed/disallowed when the bitmask is set to 438?

cat /proc/sys/kernel/sysrq

438