cping-0.1.9
توضیحات
Concurrent multi-host ping (ICMP and TCP)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cping-0.1.9 |
| نام | cping |
| نسخه کتابخانه | 0.1.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | hSaria |
| ایمیل نویسنده | sariahajjar@gmail.com |
| آدرس صفحه اصلی | https://github.com/hSaria/cPing |
| آدرس اینترنتی | https://pypi.org/project/cping/ |
| مجوز | MIT |
# cPing
[](https://github.com/hSaria/cPing/actions?query=workflow%3ACI)
[](https://coveralls.io/github/hSaria/cPing)
[](https://pepy.tech/project/cping)
[](https://codeclimate.com/github/hSaria/cPing)
[](https://badge.fury.io/py/cping)
cPing concurrently checks if hosts are responding using ICMP echo or TCP SYN.
## Installation
pip3 install cping
## Usage
cPing uses unprivileged sockets; no need for root privileges.
cping host1 host2

> Tip: When you launch cPing, look at the footer; it's got some useful actions.
## Help
See the available arguments to adjust the behavior of cPing or use a different protocol.
cping -h
If you found a bug, or just have a question/suggestion, please open an [issue](https://github.com/hSaria/cPing/issues/new/choose) (greatly appreciated).
### Sparkline on Windows
The sparkline (right part of the screenshot) is simplified on Windows as it doesn't support the required [block characters](https://w.wiki/zKh). If you know of any substitutes, let me know.
### Unprivileged ICMP Sockets
If you're getting a `Permission denied` exception, it is likely that your OS is
too old to have [unprivileged ICMP sockets](https://fedoraproject.org/wiki/Changes/EnableSysctlPingGroupRange#Detailed_Description) enabled by default. You can enable
this with:
```shell
sudo sh -c 'echo net.ipv4.ping_group_range = 0 2147483647 >> /etc/sysctl.conf'
sudo sysctl -p
```
نیازمندی
| مقدار | نام |
|---|---|
| - | windows-curses |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6.0 | Python |
نحوه نصب
نصب پکیج whl cping-0.1.9:
pip install cping-0.1.9.whl
نصب پکیج tar.gz cping-0.1.9:
pip install cping-0.1.9.tar.gz