[PLUG] Auto start HTOP in tty.

Chuck Hast wchast at gmail.com
Mon Aug 31 17:44:50 UTC 2020


had to move it to tty6 for some reason tty7 did not stick. I think
there must be somewhere that defines how many tty there are
on the machine, I am trying to remember where I saw it.

On Mon, Aug 31, 2020 at 10:23 AM Chuck Hast <wchast at gmail.com> wrote:

> Oh yeah, I did NOT do the Hollywood thing...
>
> On Mon, Aug 31, 2020 at 10:19 AM Chuck Hast <wchast at gmail.com> wrote:
>
>> Thank you guys, that did it. every other search sent me down
>> paths to deal with the GUI type terminal... Now I have HTOP
>> but it is on tty7 where I wanted it in the first place. Just swapped
>> the 1 for a 7 and off it went.
>>
>>
>> On Mon, Aug 31, 2020 at 8:10 AM David Bridges <david at kisbdnb.info> wrote:
>>
>>> The very first hit for me when searching for the terms below on
>>> duckduckgo more than likely has the information you need since it has
>>> information for Ubuntu and also information for systems using init or
>>> systemd.
>>>
>>> start htop on tty on boot
>>>
>>> As with most things there are more than one way to do this.
>>>
>>> On Sun, 2020-08-30 at 22:31 -0500, Chuck Hast wrote:
>>> > Well went against the wall on that one. No inittab... Shows
>>> > you how much I have looked there lately.
>>> >
>>> > Not sure now where to do the work on the console, has
>>> > to be in there.
>>> >
>>> > On Sun, Aug 30, 2020 at 9:43 PM Chuck Hast <wchast at gmail.com> wrote:
>>> >
>>> > > OK, I will go through all of it, has been a long time, did that
>>> > > sort of thing when we set up amateur radio packet switches,
>>> > > had a screen that brought up the switch info. That has been
>>> > > a LOT of years ago. moved to SW WA in 2012, I think I did
>>> > > the last packet radio sw setup back 3-4 years before that.
>>> > >
>>> > > Yes, it is Ubuntu server and it is systemd... I will look for the
>>> > > config file.
>>> > >
>>> > >
>>> > > On Sun, Aug 30, 2020 at 2:47 PM King Beowulf <kingbeowulf at gmail.com
>>> > > >
>>> > > wrote:
>>> > >
>>> > > > On 8/30/20 8:10 AM, Chuck Hast wrote:
>>> > > > > That finished nailing it. I am going to work on it this
>>> > > > > afternoon, but
>>> > > > > that data brought it all back. Funny, my searches all brought
>>> > > > > up
>>> > > > > doing this in a terminal screen in the GUI, command line only
>>> > > > > gets
>>> > > > > no respect...
>>> > > > >
>>> > > > >
>>> > > > > On Sun, Aug 30, 2020 at 3:20 AM Tom <tgrom.automail at nuegia.net>
>>> > > > > wrote:
>>> > > > >
>>> > > > > > On Fri, 28 Aug 2020 18:41:20 -0500
>>> > > > > > Chuck Hast <wchast at gmail.com> wrote:
>>> > > > > >
>>> > > > > > > There that brought a bunch of stuff back (old sux) and I
>>> > > > > > > started seeing light flashes, as I knew I had done it in
>>> > > > > > > the
>>> > > > > > > past but just could not remember how.
>>> > > > > > >
>>> > > > > > > This is a server box so there is no X on it.  I will take a
>>> > > > > > > look at screen/tmux, and see how that does.  Thank you
>>> > > > > > > very much.
>>> > > > > > >
>>> > > > > > Hi there. Just place where you see /sbin/agetty in
>>> > > > > > /etc/inittab with
>>> > > > > > the path to the program you want to launch instead. like
>>> > > > > > /usr/bin/top
>>> > > > > >
>>> > > > > >
>>> > > >
>>> > > > Be aware you will need more that just replacing agetty command in
>>> > > > inittab.  If you do not and stdout and stdin redirects, you will
>>> > > > not
>>> > > > have keyboard functionality. See my original post to this thread.
>>> > > >
>>> > > > -Ed
>>> > > >
>>> > > >
>>> > > > _______________________________________________
>>> > > > PLUG: https://pdxlinux.org
>>> > > > PLUG mailing list
>>> > > > PLUG at pdxlinux.org
>>> > > > http://lists.pdxlinux.org/mailman/listinfo/plug
>>> > > >
>>> > >
>>> > > --
>>> > >
>>> > > Chuck Hast  -- KP4DJT --
>>> > > I can do all things through Christ which strengtheneth me.
>>> > > Ph 4:13 KJV
>>> > > Todo lo puedo en Cristo que me fortalece.
>>> > > Fil 4:13 RVR1960
>>> > >
>>> > >
>>>
>>> _______________________________________________
>>> PLUG: https://pdxlinux.org
>>> PLUG mailing list
>>> PLUG at pdxlinux.org
>>> http://lists.pdxlinux.org/mailman/listinfo/plug
>>>
>>
>>
>> --
>>
>> Chuck Hast  -- KP4DJT --
>> I can do all things through Christ which strengtheneth me.
>> Ph 4:13 KJV
>> Todo lo puedo en Cristo que me fortalece.
>> Fil 4:13 RVR1960
>>
>>
>
> --
>
> Chuck Hast  -- KP4DJT --
> I can do all things through Christ which strengtheneth me.
> Ph 4:13 KJV
> Todo lo puedo en Cristo que me fortalece.
> Fil 4:13 RVR1960
>
>

-- 

Chuck Hast  -- KP4DJT --
I can do all things through Christ which strengtheneth me.
Ph 4:13 KJV
Todo lo puedo en Cristo que me fortalece.
Fil 4:13 RVR1960



More information about the PLUG mailing list