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

Path csiph.com!weretis.net!feeder9.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!local-2.nntp.ord.giganews.com!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date Sun, 12 Jul 2026 02:54:35 +0000
Date Sat, 11 Jul 2026 22:54:10 -0400
MIME-Version 1.0
User-Agent Mozilla Thunderbird
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>
Content-Language en-US
From c186282 <c186282@nnada.net>
Organization wokiesux
In-Reply-To <nbe6riFklo2U8@mid.individual.net>
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
Message-ID <vO2dnRopj-52nM73nZ2dnZfqnPSdnZ2d@giganews.com> (permalink)
Lines 24
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-Wqjnc9j3bHW2iWIMhXiXyV84LqDcb5+T0iypqvQw1YBIncY28ZL9vYLGB/kfVGcfqXW51rXR5WGuvPf!6r+2LV/wIOyGP5JEV0ah03nX84X3gYJxB8TbfT6+2nZwot9dbkWYMqRxkMiSH+0smmq4yd41hA4=
X-Complaints-To abuse@giganews.com
X-DMCA-Notifications http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
Xref csiph.com comp.os.linux.misc:88844

Show key headers only | 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