LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 01-21-2013, 08:12 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Hi: how can I increase the buffer for the text output console (Shift-PgUp).


Hi: what's asked.
 
Old 01-21-2013, 08:30 PM   #2
celticdevildog
LQ Newbie
 
Registered: Jan 2013
Location: New Mexico
Distribution: RHEL, SuSE, CentOS, bt, LFS
Posts: 21

Rep: Reputation: Disabled
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.
 
Old 01-21-2013, 08:39 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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.
 
Old 01-21-2013, 09:39 PM   #4
celticdevildog
LQ Newbie
 
Registered: Jan 2013
Location: New Mexico
Distribution: RHEL, SuSE, CentOS, bt, LFS
Posts: 21

Rep: Reputation: Disabled
Try this http://kernel.xc.net/html/linux-2.6....CROLLBACK_SIZE
 
Old 01-21-2013, 11:25 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
That seems to be recompilation of the kernel, am I right?
 
Old 01-21-2013, 11:32 PM   #6
celticdevildog
LQ Newbie
 
Registered: Jan 2013
Location: New Mexico
Distribution: RHEL, SuSE, CentOS, bt, LFS
Posts: 21

Rep: Reputation: Disabled
That's what I'm seeing. I couldn't find any other reference to how to do it.
 
Old 01-22-2013, 12:03 AM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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?

Last edited by stf92; 01-22-2013 at 12:05 AM.
 
Old 01-22-2013, 09:22 AM   #8
celticdevildog
LQ Newbie
 
Registered: Jan 2013
Location: New Mexico
Distribution: RHEL, SuSE, CentOS, bt, LFS
Posts: 21

Rep: Reputation: Disabled
So are you trying to increase the buffer of dmesg or your TTY scrollback option? They are two different things.
 
Old 01-22-2013, 11:35 AM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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'.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Swapping PgUp and Shift Keys in Fedora 14 BarbieQ1 Linux - Laptop and Netbook 0 07-31-2011 11:05 PM
any way to increase CD-ROM buffer, increase spindown delay, XMMS buffer r00tb33r Linux - Hardware 5 06-12-2009 12:10 AM
Output Text in color, in console skyknight Linux - Newbie 2 11-21-2008 01:39 AM
Meaning of text color in the console? (ls output for example) EtherGhost Linux - General 3 12-31-2006 12:59 AM
How to increase the screen resolution of the text console (No Xserver installed)? Akhran Debian 1 11-10-2005 03:32 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration