Skip to content
المشاريع

حول

📶 استكشِف مشكلات اتصالك بالإنترنت وأصلحها.

مشاريع أخرى

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

up

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

GoDoc Build Status License

Logo

Install

Linux and macOS:

curl -fsSL https://i.jpillora.com/jesusprubio/up! | bash

Windows: download up_<version>_windows_amd64.zip from the latest release. WinGet support is coming soon.

Homebrew, packages for your distribution and the rest of options in INSTALL.md.

Use

The default behavior is to verify all the supported protocols against a randomly selected public server for each one.

up
up -p http
up -p http,dns -c 3
up -p http -tg https://example.com
up -p dns example.com example.org
cat testdata/stdin-urls.txt | up -p http

Every flag has a long version too (-c and --count), run up -h to see all of them. Targets (-tg, arguments after the flags or standard input) require a single protocol.

Output

up -c 3 -j       # JSON lines, one object per request
up -c 3 -g       # grepable, tab separated
up -c 3 -sum     # only a summary per protocol at the end
up -c 3 -sum -j  # summary as a single JSON object

Exit status: 0 at least one response was heard, 2 no responses were received, 1 any other error.

Scripts and AI agents

  • up guide prints everything an agent needs (recipes, output, exit statuses): put "run up guide first" in the agent prompt.
  • Always set a count (-c), by default up runs forever.
  • Use -nstd when not piping targets, to avoid waiting for the standard input.
  • Bound slow calls with -t (timeout per request).
  • Read the default text output, it is compact; -j is to extract fields (e.g. with jq), or check only the exit status.

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…