Sujet : Re: Upcoming time boundary events
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.vmsDate : 15. Jun 2025, 02:55:51
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <102l976$l3km$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
User-Agent : Pan/0.162 (Pokrosvk)
On Sat, 14 Jun 2025 20:53:59 -0400, Arne Vajhøj wrote:
On 6/14/2025 7:44 PM, Lawrence D'Oliveiro wrote:
>
See, that kind of thing is getting to the level of complexity where I
would say a Python script would be easier to manage.
Post a Python script doing the same.
For a start, the remote command that would be roughly equivalent (if I
understood it right) for TCP/IP would be so much simpler, and would not
require the installation of a custom script:
ssh «remote-host» ip -j link show
Actually, then the local end could still be done as a simple Bash script,
relying on the “jq” tool to extract the relevant information from the
returned JSON blob.