linkchk: linkchk is a network interface link ping monitor.

[ program, system ] [ Propose Tags ]

It supports both IPv4 and IPv6. It works by monitoring the routing table and pinging the gateway (next hop) of a network interface. When the link is up and functioning the ping time is displayed in a small gtk window, otherwise the link status is displayed. linkchk can also run in a tty.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.0.2
Change log ChangeLog
Dependencies base, gtk, haskell98, popenhs, regex-compat, unix [details]
License LicenseRef-GPL
Author Jens-Ulrik Petersen
Maintainer Jens-Ulrik Petersen <>
Category System
Home page
Uploaded by GwernBranwen at 2008-02-17T05:18:02Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables linkchk
Downloads 1042 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-01-03 [all 8 reports]

Readme for linkchk-0.0.2

[back to package description]
linkchk is an active network link monitor
(c) 2001 Jens-Ulrik Petersen <>

It is licensed under GPL 2 and comes with no warranty.

The latest version can be found at: <>


By default it repeatedly pings the IPv4 (or IPv6) address of
the default gateway of a given interface appearing in the
routing table and shows the link status in a small gtk
window or in a tty.  With appropriate options it can be used
monitor any interface with a gateway or to ping any specific
host.  gtk+hs is currently required to build it.  The reason
for starting this project was to monitor an unreliable ppp
link at home with a tendency suddenly to start dropping
packets after a while.

Currently it uses some options of ping, ping6 and netstat
that are probably specific to Linux, but porting to most
unices should be straightforward I imagine.  If you get
linkchk working on another platform and can send me patches,
or can send me "ifconfig" and "netstat" output from your
platform, then I will be happy to try to fold them into the

If you find linkchk useful, or have comments, feedback or
other contributions, I would be glad to hear from you.


In order to build linkchk you need to have installed

* gtk+hs: a recent version (I'm using 0.12.1 from cvs)
	(available from <>).
* c2hs: a recent version (I'm using 0.10.1 from cvs)
* ghc: a recent version (I'm using 5.02)

Once you have those in place, you should be able to build in
the standard way;  ie something like:

	% ./configure
	% make
	% make install

should make and install the executable "linkchk", that
you can then test by running.  "linkchk --help" lists its

See the generic INSTALL instructions for more information on building.