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

c186282 <[email protected]>
Newsgroups comp.os.linux.misc
Organization wokiesux
Message-ID <[email protected]>
On 7/11/26 01:57, Lawrence D’Oliveiro wrote:
> On Sat, 11 Jul 2026 05:46:23 -0000 (UTC), Eli the Bearded wrote:
> 
>> When I run `env -i top` I get _no_ output at all.
> 
> It needs the TERM environment variable to be defined:
> 
>      env -i TERM=xterm top
> 
> produces a top display.

   Another good idea.

   However adding the "-b" (batch) param seems
   to have solved my particular problem here.

   Will keep your suggestion in mind if I have
   issues with other utils.

   Always lots of weirdnesses, ain't there ?

   For some reason I too often wind up wanting
   to use standard utils in unconventional ways.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.