Page 1 of 1

find boot console resolution in centos server 7

Posted: 2021/10/13 14:59:35
by harishpathangay
hi,
i have booted with kernel parameter vga=844 , which is over riding the tty or console resolution in Centos / RHEL 7. i can see the change after booting.
the question is how to get this value after booting from the lspci or lshw commands or similar commands.
I tried these commands but still not able to get the resolution. There is no X server, it is boot terminal or console device that i am talking about.
Please let me know how to figure this out.
cat/proc/cmdline gives me the boot parameters but i want to have an output like VGA Display with loaded drivers and resolution. The resolution is missing in the output. i get refresh rate, memory info etc...
kindly requesting your help.
Thanks,
Harish P

Re: find boot console resolution in centos server 7

Posted: 2021/10/15 09:14:13
by pjsr2
Does

Code: Select all

hwinfo --monitor
show that information? You may need to yum install hwinfo first.