| To: | "Frank Ch. Eigler" <fche@xxxxxxxxxx> |
|---|---|
| Subject: | Re: sosreport and pcp |
| From: | Michele Baldessari <michele@xxxxxxxxxx> |
| Date: | Thu, 1 May 2014 23:00:25 +0100 |
| Cc: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx>, pcp@xxxxxxxxxxx |
| Delivered-to: | pcp@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/simple; d=acksyn.org; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=2010; t=1398981626; bh=f8z/qaYIf2WaAII8kLI/22D/zt3ck6tXunnlD8qBanE=; b=YJIW8FsfRtib Z3merHvNkbWrYEv7GbSsO3MnckLuOA0zCB1w5KzIIIson8cAQE2KBbatVaTr80Jy FiZWJ9fxhctfhmALN9pwRt/Xa61eAomLA1IgIjtuQRiHzLRBYj9CBEQXTvcPge2P UP6WetJO8NfBE2wDCLShPxrzk1Oo4wI= |
| In-reply-to: | <y0mmwf1jk0q.fsf@xxxxxxxx> |
| References: | <20140429141502.GD15985@xxxxxxxxxxxxxxx> <y0mzjj4j5pp.fsf@xxxxxxxx> <53601960.5000503@xxxxxxxxxxxxxxxx> <20140501200341.GA23705@xxxxxxxxxxxxxxx> <y0mmwf1jk0q.fsf@xxxxxxxx> |
| User-agent: | Mutt/1.5.21 (2012-12-30) |
Hi Frank, On Thu, May 01, 2014 at 04:56:05PM -0400, Frank Ch. Eigler wrote: > > [...] > > Code is here: > > https://github.com/mbaldessari/sosreport/tree/pcp-plugin > > More specifically here: > > https://github.com/mbaldessari/sosreport/blob/pcp-plugin/sos/plugins/pcp.py > > Looks good. Unless I misread, it looks like it adds only the > archives and some of the named files from kenj's list. It'd be > nice if the script also added more general wildcardy patterns > such as: > > self.add_copy_spec(os.path.join(self.pcp_log_dir, '*/*.log*')) > self.add_copy_spec(os.path.join(self.pcp_log_dir, '*/*/*.log*')) > self.add_copy_spec(os.path.join(self.pcp_log_dir, '*/*/config*')) > > to catch as many error-log / generated-config files as possible. > These are small and useful for diagnostics. Thanks for the review. I was a bit wary of adding too many globs as we're trying to actually slim the size of sosreports a bit down, but I guess these are just logfiles that don't grow all too much and are easily compressable. I'll add this. Thanks for the review, Michele -- Michele Baldessari <michele@xxxxxxxxxx> C2A5 9DA3 9961 4FFB E01B D0BC DDD4 DCCB 7515 5C6D |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: sosreport and pcp, Frank Ch. Eigler |
|---|---|
| Next by Date: | [Bug 1054] New: pmlogextract can exhaust open-files rlimits, bugzilla-daemon |
| Previous by Thread: | Re: sosreport and pcp, Frank Ch. Eigler |
| Next by Thread: | Re: [pcp] sosreport and pcp, Ken McDonell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |