LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   Hi: how can I increase the buffer for the text output console (Shift-PgUp). (https://www.linuxquestions.org/questions/general-10/hi-how-can-i-increase-the-buffer-for-the-text-output-console-shift-pgup-4175446674/)

stf92 01-21-2013 08:12 PM

Hi: how can I increase the buffer for the text output console (Shift-PgUp).
 
Hi: what's asked.

celticdevildog 01-21-2013 08:30 PM

Usually that is found in the preference / profile of the terminal window. It is called scrolling. I usually set mine to 200000 lines. That about covers what I need it to.

The preference / profile can be found under the terminal menu or sometimes the edit menu.

stf92 01-21-2013 08:39 PM

Sorry if I did not made myself clear. I mean the text consoles, not the graphical ones you find in the GUI. Namely, /dev/tty1, ..., /dev/tty7.

celticdevildog 01-21-2013 09:39 PM

Try this http://kernel.xc.net/html/linux-2.6....CROLLBACK_SIZE

stf92 01-21-2013 11:25 PM

That seems to be recompilation of the kernel, am I right?

celticdevildog 01-21-2013 11:32 PM

That's what I'm seeing. I couldn't find any other reference to how to do it.

stf92 01-22-2013 12:03 AM

I'm reading dmesg man page. From that man page:
Code:

    -s, --buffer-size size
              Use a buffer of size to query the kernel ring buffer.  This  is
              16392  by  default.  (The default kernel syslog buffer size was
              4096 at first, 8192 since 1.3.54, 16384 since 2.1.113.)  If  you
              have  set  the  kernel buffer to be larger than the default then
              this option can be used to view the entire buffer.

Well, here what I see is that I need a definition of kernel ring buffer. Could you provide me one? I could not find any. And of kernel syslog buffer. The latter is self-evident but is it the same as the former?

celticdevildog 01-22-2013 09:22 AM

So are you trying to increase the buffer of dmesg or your TTY scrollback option? They are two different things.

stf92 01-22-2013 11:35 AM

Really, to be able to scroll back just after boot, which would be to increase the kernel ring buffer. This kernel ring buffer, its only purpose is to log kernel messages? Scroll back of course I can, but not up to where the kernel begins decompression. My transient solution is 'dmesg -s 64000 |less'.


All times are GMT -5. The time now is 04:48 AM.