source: branches/fscctrl_safety_limits/dim/src/util/check_dns.cxx@ 19102

Last change on this file since 19102 was 11071, checked in by tbretz, 13 years ago
Replaced v19r21 by a version extracted with 'unzip -a' to get proper unix text format.
File size: 281 bytes
Line 
1#include <iostream>
2#include <dic.hxx>
3using namespace std;
4
5int main()
6{
7 int version = 0;
8 DimCurrentInfo dns("DIS_DNS/VERSION_NUMBER",10,-1);
9
10 version = dns.getInt();
11 if(version == -1)
12 cout << "DNS not running" << endl;
13 else
14 cout << "DNS running" << endl;
15 return(0);
16}
Note: See TracBrowser for help on using the repository browser.