whatis watch
man watch | grep interval
watch -n 1 /proc/consoles
ALT + F1
ALT + F2
ALT + F3
et cetera
W = can do write operations
U = can do unblank
E = it is enabled
C = it is preferred console
p = it is used for printk buffer
To see which character device lines are currently used for the system console /dev/console, you may simply look into the file /proc/consoles:
The /proc file system serves information about the running system. It not only allows access to process data but also allows you to request the kernel status by reading files in the hierarchy.
#additional resources
●https://access.redhat.com/documentati...
●https://www.kernel.org/doc/Documentat...
#/proc/consoles #linux #unix #linux proc