User Tools

Site Tools


newdevs:logs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
newdevs:logs [2023/02/14 16:26] tlittlenewdevs:logs [2023/02/14 16:34] (current) – [Following the trail] tlittle
Line 24: Line 24:
  
 ''<nowiki>grep brick0 |less</nowiki>'' -- If you are investigating on a server that utilizes multiple bricks, you may want to filter out any utility processes that are also running on that server. This will retrieve any lines that contain brick0 (i.e. brick01 or brick02) vs lines that begin with "utility". ''<nowiki>grep brick0 |less</nowiki>'' -- If you are investigating on a server that utilizes multiple bricks, you may want to filter out any utility processes that are also running on that server. This will retrieve any lines that contain brick0 (i.e. brick01 or brick02) vs lines that begin with "utility".
 +
 +''<nowiki>bzgrep [something] [in a particular file</nowiki>'' -- If you're using a product like bZip2 to zip previous day/week/month log files for space, you'll need to specify that in your grep. Otherwise it won't be able to look inside those files. So an example might be ''<nowiki>bzgrep [threadtrace number] activity.log.bz2</nowiki>''
 +
 +''<nowiki>grep brick01 activity.log |grep open-ils.acq |less</nowiki>'' -- You can stack multiple greps by using a pipe. So in layman's terms this example would be "search for brick01 in activity.log, and then within those results search for open-ils.acq".
 +
 +===== Reading the lines =====
  
  
newdevs/logs.1676409968.txt.gz · Last modified: 2023/02/14 16:26 by tlittle

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.