Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Why are you using <em>editors</em> to just <em>look</em> at a (large) file?</p> <p>Under *nix or <a href="http://en.wikipedia.org/wiki/Cygwin" rel="noreferrer">Cygwin</a>, just use less ("less is more", only better, since you can back up). Searching and navigating under <a href="http://linux.die.net/man/1/less" rel="noreferrer">less</a> is very similar to <a href="http://en.wikipedia.org/wiki/Vim_%28text_editor%29" rel="noreferrer">Vim</a>, but there is no swap file and little RAM used.</p> <p>There is a native <a href="http://en.wikipedia.org/wiki/Windows_API" rel="noreferrer">Win32</a> port of GNU "less". See the comment below.</p> <p>Piggybacking off of some of the comments below, Perl's ".." (range flip/flop) operator makes a nice selection mechanism to limit the crud you have to wade through, as well.</p> <p>For example:</p> <pre><code>$ perl -n -e 'print if ( 1000000 .. 2000000)' humongo.txt | less </code></pre> <p>(start at line 1 million and stop at line 2 million, sift the output manually in "less")</p> <pre><code>$ perl -n -e 'print if ( /interesting regex/ .. /boring regex/)' humongo.txt | less </code></pre> <p>(start when the "interesting regular expression" finds something, stop when the "boring regular expression" find the end of an interesting block -- may find multiple blocks, sift the output...)</p> <p>Finally, 100&nbsp;MB isn't too big. 3&nbsp;GB is getting kind of big. I used to work at a print &amp; mail facility that created about 2 % of U.S. first class mail. One of the systems for which I was the tech lead accounted for about 15+ % of the pieces of mail. We had some big files to debug here and there.</p> <p>Community Wiki Suggestions:</p> <p>Use LogParser to look at the file:</p> <pre><code>logparser.exe -i:textline -o:tsv "select Index, Text from 'c:\path\to\file.log' where line &gt; 1000 and line &lt; 2000" logparser.exe -i:textline -o:tsv "select Index, Text from 'c:\path\to\file.log' where line like '%pattern%'" </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload