|
ROOT 6.08/07 Reference Guide |
#include <stdio.h>#include <stdlib.h>#include "Bytes.h"#include "TSocket.h"#include "TString.h"#include "TSystem.h"#include "TUrl.h"#include "redirguard.h"#include "pq2ping.h"Functions | |
| Int_t | checkUrl (const char *url, const char *flog, bool def_proof) |
| Check if something is running at gUrl Return 0 if OK and data server 1 if OK and PROOF server -1 if nothing valid is available. More... | |
| Int_t | pingServerAt () |
| Check if service is running at 'url' Return 0 if OK -1 if nothing is listening at the URL 1 if not a directory. More... | |
| Int_t | pingXproofdAt () |
| Check if a XrdProofd service is running on 'port' at 'host' Return 0 if OK -1 if nothing is listening on the port (connection cannot be open) 1 if something is listening but not XPROOFD. More... | |
| Int_t | pingXrootdAt () |
| Check if a XrdXrootd service is running on 'port' at 'host' Return 0 if OK -1 if nothing is listening on the port (connection cannot be open) 1 if something is listening but not XROOTD. More... | |
Variables | |
| Bool_t | gIsProof = kFALSE |
| TUrl | gUrl |
| Int_t | gverbose |
| Int_t checkUrl | ( | const char * | url, |
| const char * | flog, | ||
| bool | def_proof | ||
| ) |
Check if something is running at gUrl Return 0 if OK and data server 1 if OK and PROOF server -1 if nothing valid is available.
Definition at line 62 of file pq2ping.cxx.
| Int_t pingServerAt | ( | ) |
Check if service is running at 'url' Return 0 if OK -1 if nothing is listening at the URL 1 if not a directory.
Definition at line 281 of file pq2ping.cxx.
| Int_t pingXproofdAt | ( | ) |
Check if a XrdProofd service is running on 'port' at 'host' Return 0 if OK -1 if nothing is listening on the port (connection cannot be open) 1 if something is listening but not XPROOFD.
Definition at line 196 of file pq2ping.cxx.
| Int_t pingXrootdAt | ( | ) |
Check if a XrdXrootd service is running on 'port' at 'host' Return 0 if OK -1 if nothing is listening on the port (connection cannot be open) 1 if something is listening but not XROOTD.
Definition at line 125 of file pq2ping.cxx.
Definition at line 50 of file pq2ping.cxx.
| TUrl gUrl |
Definition at line 49 of file pq2ping.cxx.
| Int_t gverbose |
Definition at line 40 of file pq2main.cxx.