이 포트는 어떤 시스템 서비스를 사용합니까?

이 포트는 어떤 시스템 서비스를 사용합니까?

systemd를 사용하는 프로그램을 설치했습니다

sudo netstat -lntp | grep 10700           
tcp        0      0 127.0.0.1:10700         0.0.0.0:*               LISTEN      2444/systemd
tcp6       0      0 ::1:10700               :::*                    LISTEN      2444/systemd

이 프로세스를 systemd라고 합니다.

ps aux | grep 2444                                                                                                                                                            
asd         2444  0.0  0.0  20124 10836 ?        Ss   Jan28   0:04 /lib/systemd/systemd --user

프로세스를 확인하거나 최소한 해당 포트를 사용하여 시스템 서비스 이름을 확인할 수 있는 명령은 무엇입니까?

참고: 제가 설치하려는 프로그램은 edgedb입니다.

edgedb instance list
┌───────┬──────┬───────┬─────────────┬────────┐
│ Kind  │ Name │ Port  │ Version     │ Status │
├───────┼──────┼───────┼─────────────┼────────┤
│ local │ foo  │ 10700 │ 2.9+b1d697b │ ready  │
└───────┴──────┴───────┴─────────────┴────────┘

어떤 프로세스가 생성되고 있는지 알아야 합니다( sudo ps aux | grep edge(또는 foo 또는 postgres는 아무것도 표시하지 않기 때문에)

고쳐 쓰다:아, 분명히 postgres는 edgedb클라이언트 명령이 실행될 때만 생성됩니다.

ps aux | grep postgres
asd       912323  0.0  0.0 372924 107732 ?       SN   04:15   0:00 /home/asd/.local/share/edgedb/portable/2.9/bin/postgres -D /home/asd/.local/share/edgedb/data/foo -c listen_addresses= -c unix_socket_permissions=0700 -c unix_socket_directories=/run/user/1000/edgedb-foo -c max_connections=1289 -c max_locks_per_transaction=256 -c log_min_messages=NOTICE -c log_statement=none -c log_line_prefix=
asd       912325  0.0  0.0 372924  3548 ?        SNs  04:15   0:00 postgres: checkpointer
asd       912326  0.0  0.0 373260  9664 ?        SNs  04:15   0:00 postgres: background writer
asd       912327  0.0  0.0 372924  8944 ?        SNs  04:15   0:00 postgres: walwriter
asd       912328  0.0  0.0 374508  7844 ?        SNs  04:15   0:00 postgres: autovacuum launcher
asd       912329  0.0  0.0  71644  4944 ?        SNs  04:15   0:00 postgres: stats collector
asd       912330  0.0  0.0 374232  5992 ?        SNs  04:15   0:00 postgres: logical replication launcher
asd       912335  0.0  0.0 386380 44756 ?        SNs  04:15   0:00 postgres: postgres V2f147ded60___edgedbsys__ [local] idle
asd       912337  0.0  0.0 401464 66444 ?        SNs  04:15   0:00 postgres: postgres V2f147ded60_edgedb [local] idle

edgedb instance list
┌───────┬──────┬───────┬─────────────┬─────────┐
│ Kind  │ Name │ Port  │ Version     │ Status  │
├───────┼──────┼───────┼─────────────┼─────────┤
│ local │ foo  │ 10700 │ 2.9+b1d697b │ running │
└───────┴──────┴───────┴─────────────┴─────────┘

그러나 미래에는 어떤 시스템 파일이 해당 포트를 사용하는지 어떻게 알 수 있는지에 대한 질문이 남아 있습니다.

관련 정보