ROOT
6.07/01
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"
Go to the source code of this file.
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 | 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... | |
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 | 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... | |
Variables | |
TUrl | gUrl |
Bool_t | gIsProof = kFALSE |
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.
Referenced by main().
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.
Referenced by checkUrl().
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.
Referenced by checkUrl().
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.
Referenced by checkUrl().
Definition at line 50 of file pq2ping.cxx.
Referenced by checkUrl(), DataSetCache(), ExistsDataSet(), GetDataSet(), GetDataSets(), RegisterDataSet(), RemoveDataSet(), ShowDataSets(), and VerifyDataSet().
TUrl gUrl |
Definition at line 49 of file pq2ping.cxx.
Int_t gverbose |
Definition at line 40 of file pq2main.cxx.
Referenced by checkUrl().