home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.linux.misc      Linux-specific topics not covered by oth      135,536 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 134,981 of 135,536   
   Richard Kettlewell to Carlos E.R.   
   Re: ever had 1GB+ kern.log (and syslog)    
   20 Jan 26 22:25:36   
   
   From: invalid@invalid.invalid   
      
   "Carlos E.R."  writes:   
   > On 2026-01-20 18:37, Richard Kettlewell wrote:   
   >> "Carlos E.R."  writes:   
   >>> On 2026-01-20 09:37, Richard Kettlewell wrote:   
   >>>> "Carlos E.R."  writes:   
   >>>>> On 2026-01-20 00:05, Richard Kettlewell wrote:   
   >>>>>> Not 100% clear what you’re asking but wouldn’t journalctl --unit=   
   >>>>>> with the unit(s) you care about be sufficient?   
   >>>>>   
   >>>>> No. I have to provide all units for a report. I remove those that are   
   >>>>> private or irrelevant, like news.   
   >>>> Right, so all units except the ones you don’t care about. Same thing,   
   >>>> just phrased differently.   
   >>>   
   >>> Using units is impossible.   
   >>>   
   >>> cer@Telcontar:~> journalctl --field=_SYSTEMD_UNIT | wc -l   
   >>> 5433   
   >>> cer@Telcontar:~>   
   >>>   
   >>> Imagine the command line listing all those five thousand units.   
   >> I don’t have any trouble imagining it and nor does journalctl, which   
   >> empirically accepts command lines with 5000 -u options without   
   >> complaint. So I don’t see any justification for calling it impossible.   
   >   
   > That I have to find those thousand of units and type them.   
      
   No, you don’t. It’s a fairly simple bit of scripting. Or as already   
   suggested:   
      
   >> The sd_journal_... API looks fairly simple, you could probably write   
   >> your own program to filter entries in whatever way you like in just a   
   >> few lines.   
      
   You might not like either suggestion for whatever reason, but that   
   doesn’t make the problem insoluble.   
      
   --   
   https://www.greenend.org.uk/rjk/   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca