Variable: ping-program-options

ping-program-options is a customizable variable defined in net-utils.el.gz.

Value

("-c" "4")

Documentation

Options for the ping program.

These options can be used to limit how many ICMP packets are emitted.

Source Code

;; Defined in /usr/src/emacs/lisp/net/net-utils.el.gz
;; On GNU/Linux and Irix, the system's ping program seems to send packets
;; indefinitely unless told otherwise
(defcustom ping-program-options
  (and (eq system-type 'gnu/linux)
       (list "-c" "4"))
  "Options for the ping program.
These options can be used to limit how many ICMP packets are emitted."
  :type  '(repeat string))