Sunday, October 15, 2023
HomeApplecommand line - sudden `lsof -a` output

command line – sudden `lsof -a` output


My lsof command output is right whereas the applying I’m monitoring with lsof -a is working. As quickly as I give up that utility the identical lsof -a name shows outcomes for each course of that has an ESTABLISHED connection.

lsof -lnPO -i -sTCP:ESTABLISHED -a -p "$(pgrep -d, qbittorrent)" +c0

The command works initially – it shows no processes.
It reveals nothing till I begin qbittorrent (after beginning qbittorrent it solely reveals qbittorrent connections)
Upon closing qbittorrent it then reveals each connection that’s “ESTABLISHED” till I restart the pc whereby the habits and outcomes return to the preliminary state – no processes are proven.

I would like outcomes for ESTABLISHED qbittorrent connections and when there are none, no connections.

I’ve tried bash, zsh, sh.



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments