Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #59268

Re: very simple editor for HUGE text files (500-1000 MB of plain text)

From "J.O. Aho" <user@example.net>
Newsgroups alt.os.linux
Subject Re: very simple editor for HUGE text files (500-1000 MB of plain text)
Date 2019-10-08 21:50 +0200
Message-ID <h047jtFt722U1@mid.individual.net> (permalink)
References <qnigc8$flq$1@dont-email.me> <h04017Frk1gU1@mid.individual.net> <qnii3l$pss$1@dont-email.me>

Show all headers | View raw


On 08/10/2019 19.47, Soviet_Mario wrote:
> Il 08/10/19 19:40, J.O. Aho ha scritto:
>> On 08/10/2019 19.17, Soviet_Mario wrote:

>>> I'm generating text log files upwards of 300-400 MB
>>
>> A bit OT, but why not have a more frequent log rotation, so that the 
>> files won't get too large for you.
> 
> aehm ... they are born in one shot as large :\ :\ (I'm in debug phase 
> ... hopably in a future once the programs works reliably, much logging 
> could be stripped in some lighter form) :\

If you have a more frequent log rotation, then you get more files but 
each file is smaller. If you use something like nlog, log4j, log4cpp and 
so on, it's quite simple to set a max size on the log file, each time it 
the log file will become larger than the limit, a new log file is 
created and the new data is written to it. Also you can log things to 
different files, for example one file with debug information another 
with error messages and so on.

If you are using logger, much depends on the log daemon you have 
installed, but most have similar capabilities as the above ones.

I would recommend you to skip trying to make your own log functionality, 
it will be most likely a resource hog. Once I changed a home brewed log 
system with log rotations to use log4cpp, I managed to save around 40% 
CPU usage and speed the application up 3 times. The home brewed log 
system was quite well written, not an indians 5 minute work.

So maybe take some time and fix the logging first.


> Ah, I reply here also to Grant
> 
> All the suggested editors are CLI ?
> I don't feel comfortable with cli programs alas.

Cli based application tend to be smaller and faster than GUI, for 
example less ain't hard to use, / for searching, n for next and N for 
the previous and q for quit. For more info, just read the man page.

-- 

  //Aho

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 19:17 +0200
  Re: very simple editor for HUGE text files (500-1000 MB of plain text) Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-08 11:23 -0600
  Re: very simple editor for HUGE text files (500-1000 MB of plain text) "J.O. Aho" <user@example.net> - 2019-10-08 19:40 +0200
    Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 19:47 +0200
      Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Lyle H. Gray" <lylefitzw@no.spam.gmail.com.invalid> - 2019-10-08 13:41 -0500
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) William Unruh <unruh@invalid.ca> - 2019-10-08 21:01 +0000
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) Chris Elvidge <chris@mshome.net> - 2019-10-10 09:59 +0100
      Re: very simple editor for HUGE text files (500-1000 MB of plain text) "J.O. Aho" <user@example.net> - 2019-10-08 21:50 +0200
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 23:15 +0200
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-08 20:20 -0600
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-09 06:09 +0000
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-10 19:24 +0000
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) "J.O. Aho" <user@example.net> - 2019-10-09 07:01 +0200
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-09 14:14 +0200
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) "J.O. Aho" <user@example.net> - 2019-10-09 19:28 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-09 20:17 +0200
      Re: very simple editor for HUGE text files (500-1000 MB of plain text) Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-09 06:07 +0000
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-09 14:17 +0200
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Aragorn <thorongil@telenet.be> - 2019-10-09 14:52 +0200
    Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 08:49 -0400
  Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-08 19:43 +0200
    Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 19:47 +0200
      Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Lyle H. Gray" <lylefitzw@no.spam.gmail.com.invalid> - 2019-10-08 13:39 -0500
      Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-09 22:23 +0200
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) John Hasler <jhasler@newsguy.com> - 2019-10-09 17:42 -0500
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-10 00:42 +0000
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-10 08:42 +0200
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Aragorn <thorongil@telenet.be> - 2019-10-10 09:21 +0200
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-10 12:09 +0200
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-10 12:14 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-10 15:07 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Chris Elvidge <chris@mshome.net> - 2019-10-10 14:17 +0100
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-10 16:06 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-10 21:42 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-10 13:17 -0500
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-10 20:54 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) John Hasler <jhasler@newsguy.com> - 2019-10-10 19:01 -0500
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Aragorn <thorongil@telenet.be> - 2019-10-11 08:53 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 11:08 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 11:06 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-11 10:46 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) John Hasler <jhasler@newsguy.com> - 2019-10-11 11:17 -0500
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-11 17:32 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 03:12 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 08:34 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 11:19 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 11:55 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Mike Easter <MikeE@ster.invalid> - 2019-10-10 11:56 -0700
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-10 14:38 -0500
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 03:22 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 03:18 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 09:57 -0400
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 03:04 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 11:23 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 21:29 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Jasen Betts <jasen@xnet.co.nz> - 2019-10-11 03:48 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 11:28 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 11:56 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) F Russell <fr@random.info> - 2019-10-11 10:12 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 13:25 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) William Unruh <unruh@invalid.ca> - 2019-10-11 11:52 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-11 11:55 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "F. Russell" <frussell@random.info> - 2019-10-11 12:19 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-11 12:21 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "F. Russell" <frussell@random.info> - 2019-10-11 12:43 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-11 13:15 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 10:27 -0400
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 19:51 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) John Hasler <jhasler@newsguy.com> - 2019-10-13 19:43 -0500
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-11 10:11 -0500
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 19:45 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 19:15 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 21:14 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 21:08 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-12 10:07 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-12 14:29 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-12 22:51 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 19:53 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-13 20:49 +0200
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) William Unruh <unruh@invalid.ca> - 2019-10-10 19:07 +0000
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 03:01 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 08:38 +0200
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 02:59 +0000
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 11:30 +0200
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-11 11:02 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 21:34 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 10:12 -0400
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-13 15:06 +0000
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 21:31 +0000
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 10:05 -0400
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 09:47 -0400
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 19:58 +0200
  Re: very simple editor for HUGE text files (500-1000 MB of plain text) F Russell <fr@random.info> - 2019-10-08 19:31 +0000
    Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 23:19 +0200
      Re: very simple editor for HUGE text files (500-1000 MB of plain text) F Russell <fr@random.info> - 2019-10-08 21:31 +0000
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-08 23:11 +0000
      Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-09 22:27 +0200
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-09 23:37 -0500
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-10 15:09 +0200
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-10 13:20 -0500
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) Aragorn <thorongil@telenet.be> - 2019-10-11 08:57 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-11 09:51 -0500
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 09:35 -0400
  Re: very simple editor for HUGE text files (500-1000 MB of plain text) Paul <nospam@needed.invalid> - 2019-10-10 21:21 -0400
    Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 03:47 +0200

csiph-web