EnglishFrenchSpanish

OnWorks favicon

sockstat - Online in the Cloud

Run sockstat in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command sockstat that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


sockstat — list open sockets

SYNOPSIS


sockstat [-clh] [-p ports] [-P pid|process] [-U uid|user] [-G gid|group]

DESCRIPTION


The sockstat command lists open Internet or UNIX domain sockets.

The following options are available:

-c Show connected sockets.

-l Show listening sockets.

-h Show a usage summary.

-p ports Only show Internet sockets if either the local or foreign port number is on the
specified list. The ports argument is a comma-separated list of port numbers
and ranges specified as first and last port separated by a dash.

-P pid|process
Only show sockets of the specified pid|process. The pid|process argument is a
process name or pid.

-U uid|user
Only show sockets of the specified uid|user. The uid|user argument is a
username or uid.

-G gid|group
Only show sockets of the specified gid|group. The gid|group argument is a
groupname or gid.

If neither -c or -l is specified, sockstat will list both listening and connected sockets.

The information listed for each socket is:

USER The user who owns the socket.

COMMAND The command which holds the socket.

PID The process ID of the command which holds the socket.

FD The file descriptor number of the socket.

PROTO The transport protocol associated with the socket for Internet sockets, or
the type of socket (stream or datagram) for UNIX sockets.

LOCAL ADDRESS For Internet sockets, this is the address the local end of the socket is
bound to (see getsockname(2)). For bound UNIX sockets, it is the socket's
filename. For other UNIX sockets, it is a right arrow followed by the
endpoint's filename, or “??” if the endpoint could not be determined.

FOREIGN ADDRESS (Internet sockets only) The address the foreign end of the socket is bound
to (see getpeername(2)).

Use sockstat online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 2
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 3
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 4
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 5
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    https://github.com/visualboyadvance-m/visualboyadvance-m
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    sgb2Tu...
    Download VBA-M (Archived - Now on Github)
  • 6
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • More »

Linux commands

  • 1
    7za
    7za
    7za - A file archiver with highest
    compression ratio ...
    Run 7za
  • 2
    7zr
    7zr
    7zr - A file archiver with highest
    compression ratio ...
    Run 7zr
  • 3
    cpan
    cpan
    cpan - easily interact with CPAN from
    the command line ...
    Run cpan
  • 4
    cpan2debp
    cpan2debp
    dh-make-perl - Create debian source
    packages from Perl modules ...
    Run cpan2debp
  • 5
    fweelin
    fweelin
    freewheeling � live looping musical
    instrument ...
    Run fweelin
  • 6
    fwexec
    fwexec
    fwexec - program to upload and rexecute
    image file to a connected NXT device ...
    Run fwexec
  • More »

Ad