[gelöst] '~$ lsof -i'-Ausgabe interpretieren

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
bullgard
Beiträge: 1654
Registriert: 14.09.2012 23:03:01

[gelöst] '~$ lsof -i'-Ausgabe interpretieren

Beitrag von bullgard » 16.08.2014 11:16:27

Hallo debianforum.de,
Hintergrund: Mein Debian-Wheezy-Xfce4-Rechner nimmt manchmal nicht ordentlich den Ruhezustand (ACPI S4) ein.
Wie hat man den folgenden Satz zu verstehen?
'man lsof': "-i selects the listing of files any of whose Internet address matches the address specified in i.
If no address is specified, this option selects the listing of all Internet and x.25 (HP-UX) network files.
"
Muß ich den Satz so lesen:
If no address is specified, this option selects the listing of all Internet {and x.25 (HP-UX)} network files.

oder so:
If no address is specified, this option selects the listing of all Internet {and x.25 (HP-UX) network} files.

Google gibt kaum vernünftige Treffer für »Internet network file« aus.
Wenn die zweite Interpretation zutrifft, was hat man unter einem »Internet file« zu verstehen?
Mit freundlichen Grüßen
bullgard
Zuletzt geändert von bullgard am 20.08.2014 08:22:19, insgesamt 1-mal geändert.

Cae
Beiträge: 6349
Registriert: 17.07.2011 23:36:39
Wohnort: 2130706433

Re: '~$ lsof -i'-Ausgabe interpretieren

Beitrag von Cae » 16.08.2014 13:46:31

Eine "network file" soll wohl ein Socket [1] sein, und die gibt's fuer AF_INET, AF_INET6 (fuer IPv4 und IPv6, also "Internet") und offensichtlich auch fuer AF_X25 [2]. Demnach waere die erste Lesart mit "and x.25 (HP-UX)" als eine Einheit korrekt.

Gruss Cae

[1] https://en.wikipedia.org/wiki/Berkeley_sockets
[2] https://en.wikipedia.org/wiki/X.25
If universal surveillance were the answer, lots of us would have moved to the former East Germany. If surveillance cameras were the answer, camera-happy London, with something like 500,000 of them at a cost of $700 million, would be the safest city on the planet.

—Bruce Schneier

dufty2
Beiträge: 1714
Registriert: 22.12.2013 16:41:16

Re: '~$ lsof -i'-Ausgabe interpretieren

Beitrag von dufty2 » 16.08.2014 18:11:20

bullgard hat geschrieben: Google gibt kaum vernünftige Treffer für »Internet network file« aus.
man lsof hat geschrieben: lsof - list open files
An open file may be a regular file, <snip> or a network file (Internet socket, NFS file or UNIX domain socket.)

bullgard
Beiträge: 1654
Registriert: 14.09.2012 23:03:01

Re: '~$ lsof -i'-Ausgabe interpretieren

Beitrag von bullgard » 18.08.2014 11:51:53

Hallo CAE,
prima! Vielen Dank!
Gruß
bullgard

Antworten