ping Questions
8
Solved
I want to check whether a website is up or down at a particular instance using PHP. I came to know that curl will fetch the contents of the file but I don't want to read the content of the website....
Cambrian asked 5/1, 2011 at 18:20
11
Solved
I have the following function that I doesn't work so far. I would like to ping an IP address and then to echo whether the IP is alive or not.
function pingAddress($ip){
$pingresult = shell_exec("...
Moment asked 6/11, 2011 at 22:10
8
Solved
I'd like to create a small IF procedure that will check if Twitter is available (unlike now, for example), and will return true or false.
Help :)
5
Solved
I'm trying to get the latency from host for a pretty good time and I'm stuck in. Already tried Simple Ping
, but seems it doesn't return the latency. The closest I've done was when I use the TKC-P...
Mousetail asked 18/3, 2014 at 3:28
2
Solved
Doing some maintenance on a script, I found this line:
ping -n 40 127.0.0.1 > NUL 2>&1
I know from this question that everything up to the NUL causes the script to sleep for 39 seconds...
Rigobertorigor asked 13/2, 2017 at 18:56
13
Solved
I want to continuously ping a server and see a message box when ever it responds i.e. server is currently down. I want to do it through batch file.
I can show a message box as said here Show a pop...
Theta asked 16/6, 2010 at 5:27
8
Solved
I've got a Docker container running Ubuntu which I did as follows:
docker run -it ubuntu /bin/bash
however it doesn't seem to have ping. E.g.
bash: ping: command not found
Do I need to instal...
2
Solved
For example, in Windows 7 output of command
ping -n 1 ::1
is following:
Pinging ::1 with 32 bytes of data:
Reply from ::1: time<1ms
Ping statistics for ::1:
Packets: Sent = 1, Received = 1...
18
How do I ping a website or IP address with Python?
Rallentando asked 25/11, 2008 at 9:58
1
I use the Apple-provided URLSessionWebSocketTask to set up a websocket. I receive, send messages and can send a ping.
But how should I receive and respond to a ping coming from a ws server? I have ...
3
Solved
Is it possible to implement an ICMP ping in Go? The alternative is to fork a 'ping' process, but I'd rather write it in Go.
2
Solved
As the title suggests, should Ping Frames only be sent from a server or it is better to have both endpoints send them? As mentioned in the Websocket RFC:
NOTE: A Ping frame may serve either as a...
3
Solved
I have created a docker container and tried pinging www.google.com within the bash of the container and it works. Also I tried pinging the container from the host - it works perfectly fine.
But wh...
Salmonella asked 10/6, 2014 at 19:4
1
As I follow the celery documentation
> from celeryapp import app
> i = app.control.inspect()
> i.active()
The inspection seems to hang. Has anyone seen this before? And can anyone shed ...
Ube asked 10/9, 2018 at 17:18
3
Solved
I wonder how I can run the command, using the terminal, from my vagrant machine:
$ ping localhost:3000
or
$ curl http://localhost:3000
In host machine (OSX) I have a rails server running in lo...
Emmi asked 24/6, 2015 at 22:2
11
Solved
I want to write a script, that would keep checking if any of the devices in network, that should be online all day long, are really online. I tried to use ping, but
if [ "`ping -c 1 some_ip_here`"...
Drinking asked 8/8, 2013 at 10:6
1
Solved
I am working on a "heartbeat" application that pings hundreds of IP addresses every minute via a loop. The IP addresses are stored in a list of a class Machines. I have a loop that create...
Natie asked 24/11, 2021 at 13:35
6
So I recently decided to make a Discord bot, and had been going through some tutorials with no problem. However, when I tried to make a ping command (you know, the kind that says "Your ping is 137 ...
Maurist asked 19/4, 2017 at 17:6
6
Solved
Test-connection intermittently fails with a lack of resources error:
test-connection : Testing connection to computer 'SOMESERVER' failed: Error due to lack of resources
At line:1 char:45
+ ... ($...
Epistrophe asked 21/12, 2016 at 16:30
9
Solved
While trying to figure out the best method to ping (ICMP) something from python, I came across these questions:
How can I perform a ping or traceroute in python, accessing the output as it is pro...
8
Does anyone know how to use python to ping a local host to see if it is active or not? We (my team and I) have already tried using
os.system("ping 192.168.1.*")
But the response for destination...
Acanthus asked 6/10, 2011 at 17:55
2
Solved
It should be possible send and receive ICMP packets using the Ruby socket library but I do not see any good documentation on this.
I do not want to use net-ping, icmp, ping, and all of these other...
2
Solved
I have the following code in my app:
Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec("/system/bin/ping -c 1 8.8.8.8");
return process.waitFor();
I see that it work...
Liquescent asked 23/9, 2015 at 21:5
5
Solved
I would like to create a script in R that pings a given website. I haven't found any information about this specific for R.
To start with, all I need is the information on whether the website resp...
8
Solved
I want to extract from the command ping -c 4 www.stackoverflow.com | tail -1| awk '{print $4}'
the average time.
107.921/108.929/110.394/0.905 ms
Output should be: 108.929
© 2022 - 2024 — McMap. All rights reserved.