Skip to content

Conversation

hoanga
Copy link
Contributor

@hoanga hoanga commented May 13, 2025

add port for up.

tested on 14.2 as well as tested the port builds under poudriere

sample run:

$ uname -a
FreeBSD quincy 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c7412 GENERIC amd64

$ up -h

        Troubleshoot problems with your Internet connection based on different
        protocols and public servers.

        OUTPUT
        Details about each request:
        {Protocol used} {Response time} {Remote server} {Extra info}

        EXIT STATUS
        This utility exits with one of the following values:
        0 At least one response was heard.
        2 The transmission was successful but no responses were received.
        1 Any other error occurred.

Usage of up:
  -c uint
        Number of iterations
  -d duration
        Delay between requests (default 500ms)
  -dr string
        DNS resolution server
  -g    Output in grepable format
  -h    Show app documentation
  -j    Output in JSON format
  -nc
        Disable color output
  -nstd
        Disable standard input target reading
  -p string
        Test only one protocol
  -s    Stop after the first successful request
  -t duration
        Time to wait for a response (default 5s)
  -tg string
        Protocol is required because the format is dependent: URL for HTTP, host:port for TCP, domain for DNS
  -vv
        Verbose output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant