What command will show what feeders are running?

It doesn’t look like a folder is created for each feeder - is there a command that will list all the feeders that have been installed?

Issue following command:

top

Widen putty window so that the right-most column of output is visible. Look at right-most column, it contains list of all running processes, including all running feeders.

Thanks!

Is ADSBx = faup1090 & mlat-client?

Adsbexchange uses mlat-client AND socat. Did you notice socat (or netcat in older versions)

I found them both but socat only pops on the list once or twice a minute for a few seconds.

.

Perfect. That is normal

1 Like

That’s part of piaware.

Well the list is sorted by CPU percentage and applications with low CPU percentage are further down in the list, not visible unless you use page down.
It probably is and should be running permanently.

sudo apt install htop
htop

Press F2
arrow down for display options
arrow right and arrow down
Press spacebar to select these two options:
Hide kernel threads
Hide userland process threads

When those are enabeld, press F10.
You should have a somewhat shorter list now with programs that are running.

Anyhow you should know which feeders you installed, then you can also check if they are running by checking their logs or individual status commands they might have.

Adsbexchange is started by entry in rc.local (both mlat-client & socat). There is no status command or log.

Yeah i’ve made a pull request to change that over to systemd, but James hasn’t responded to it yet.

Anyway you can check pgrep -a socat and pgrep -a mlat-client to check that it’s running and if the command is correct.
Also there is this page to check if the connection is established:
ADSBexchange Anywhere

Is it normal for dump978-fa to use considerably more %CPU than everything else?

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
24820 dump978 15 -5 63276 7404 5872 S 21.9 0.8 4:18.65 dump978-fa
6176 dump1090 15 -5 30048 10184 2448 S 8.9 1.1 48:02.54 dump1090-fa
561 root 20 0 100528 7968 5248 S 1.3 0.8 20:00.75 rbfeeder
739 root 20 0 13736 9900 5592 S 1.0 1.0 19:02.37 mlat-client
1046 piaware 20 0 12136 8796 5140 S 1.0 0.9 17:34.86 fa-mlat-client
1993 root 20 0 13872 9940 5620 S 1.0 1.0 18:22.17 mlat-client
639 root 20 0 96952 5112 3712 S 0.7 0.5 8:50.46 pfclient
689 fr24 20 0 122344 8864 4672 S 0.7 0.9 7:46.68 fr24feed
11809 dump1090 39 19 4944 2412 1984 S 0.7 0.3 1:11.26 tar1090.sh
10 root 20 0 0 0 0 I 0.3 0.0 4:21.54 rcu_sched
569 piaware 20 0 22500 11020 5844 S 0.3 1.2 9:24.36 piaware
907 root 20 0 0 0 0 I 0.3 0.0 0:00.06 kworker/0:0-eve
6204 piaware 20 0 3068 2280 1932 S 0.3 0.2 0:35.59 faup1090
8685 root 20 0 5648 2536 2240 S 0.3 0.3 0:05.43 socat
11810 dump1090 39 19 4660 2112 1848 S 0.3 0.2 4:37.83 tar1090.sh
31461 pi 20 0 8248 3280 2724 R 0.3 0.3 0:02.99 top
1 root 20 0 28204 6120 4836 S 0.0 0.6 0:06.49 systemd

Yes, unless you have even more CPU intensive stuff running :wink:

1 Like

Agree! … I’ve been working on 3 different ADS-B boxes without making any notes on the progress of each one and needed a way to double-check what I thought I had installed.

Thanks for the HTOP suggestion - that will help in the future.

1 Like

For reference, htop has been preinstalled since Stretch, even included in the Lite version.

1 Like

Are you sure?
Pretty sure i had to install it on Stretch Lite.

Anyway i’m somewhat used to having install htop for whatever reason so i usually add that.

I was but you had me doubting myself so I’ve just downloaded Stretch Lite, chucked it on an sd card, booted an old Pi2 and yes, htop is already there.

1 Like