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


Groups > comp.os.linux.misc > #88844

Re: Something Odd - "top" Delivers Nada When Run By Crontab

Date 2026-07-11 22:54 -0400
Subject Re: Something Odd - "top" Delivers Nada When Run By Crontab
Newsgroups comp.os.linux.misc
References <BxedncNO6-XMIsz3nZ2dnZfqnPadnZ2d@giganews.com> <nbe6riFklo2U8@mid.individual.net>
From c186282 <c186282@nnada.net>
Organization wokiesux
Message-ID <vO2dnRopj-52nM73nZ2dnZfqnPSdnZ2d@giganews.com> (permalink)

Show all headers | View raw


On 7/11/26 02:40, rbowman wrote:
> On Fri, 10 Jul 2026 23:57:54 -0400, c186282 wrote:
> 
>> Wrote a short Python script that uses os.system() to run 'top' ...
>> redirecting the output to a file. We then clean-up the weird chars in
>> the file and append it to an ongoing log file.
> 
> I think we've been here before...
> 
> https://docs.python.org/3/library/subprocess.html
> 
> Yes, it's one of those hateful, newfangled functions that might work for
> you.

   Um ... there are LOTS of 'monitoring' apps for Linux
   at this point - just did a survey a couple of days
   ago. Most are serious OVER-kill. They also tend to
   record SO much shit that you'll never be able to find
   YOUR particular problem in the mess.

   Anyway, the "-b" param to 'top' did do the trick.
   Still not sure why evoking from the CL is so different
   from evoking via crontab - but that's how it is.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Something Odd - "top" Delivers Nada When Run By Crontab c186282 <c186282@nnada.net> - 2026-07-10 23:57 -0400
  Re: Something Odd - "top" Delivers Nada When Run By Crontab Rich <rich@example.invalid> - 2026-07-11 04:34 +0000
    Re: Something Odd - "top" Delivers Nada When Run By Crontab c186282 <c186282@nnada.net> - 2026-07-11 01:38 -0400
      Re: Something Odd - "top" Delivers Nada When Run By Crontab c186282 <c186282@nnada.net> - 2026-07-11 01:51 -0400
  Re: Something Odd - "top" Delivers Nada When Run By Crontab Eli the Bearded <*@eli.users.panix.com> - 2026-07-11 05:46 +0000
    Re: Something Odd - "top" Delivers Nada When Run By Crontab Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-07-11 05:57 +0000
      Re: Something Odd - "top" Delivers Nada When Run By Crontab c186282 <c186282@nnada.net> - 2026-07-11 02:08 -0400
      Re: Something Odd - "top" Delivers Nada When Run By Crontab Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-07-12 06:46 +0000
        Re: Something Odd - "top" Delivers Nada When Run By Crontab c186282 <c186282@nnada.net> - 2026-07-12 22:10 -0400
    Re: Something Odd - "top" Delivers Nada When Run By Crontab c186282 <c186282@nnada.net> - 2026-07-11 02:04 -0400
  Re: Something Odd - "top" Delivers Nada When Run By Crontab rbowman <bowman@montana.com> - 2026-07-11 06:40 +0000
    Re: Something Odd - "top" Delivers Nada When Run By Crontab c186282 <c186282@nnada.net> - 2026-07-11 22:54 -0400
      Re: Something Odd - "top" Delivers Nada When Run By Crontab rbowman <bowman@montana.com> - 2026-07-12 03:00 +0000
        Re: Something Odd - "top" Delivers Nada When Run By Crontab c186282 <c186282@nnada.net> - 2026-07-12 19:23 -0400
      Re: Something Odd - "top" Delivers Nada When Run By Crontab Rich <rich@example.invalid> - 2026-07-12 03:36 +0000
        Re: Something Odd - "top" Delivers Nada When Run By Crontab c186282 <c186282@nnada.net> - 2026-07-12 19:25 -0400
          Re: Something Odd - "top" Delivers Nada When Run By Crontab The Natural Philosopher <tnp@invalid.invalid> - 2026-07-13 10:01 +0100

csiph-web