Changes between Version 1 and Version 2 of documentation/tools/hcstatus
- Timestamp:
- 02/14/12 08:45:23 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation/tools/hcstatus
v1 v2 1 = = HC_STATUS ==1 = HC_STATUS = 2 2 3 NAME 3 ==NAME== 4 4 hc_status - Show status information for HAMcast middleware 5 5 6 BUILD/INSTALL 6 ==BUILD/INSTALL== 7 7 8 Requirements 8 ===Requirements=== 9 9 - cmake (Version 2.6+) 10 10 - cmake macro 'FindLibHamcast.cmake' … … 12 12 - HAMcast library and middleware 13 13 14 Build 14 ===Build=== 15 15 We recommend an 'out-of-source' cmake-build. Create a new folder, e.g. 16 16 'build' within the source directory. Change to new folder (cd build) 17 17 and run: 18 18 {{{ 19 19 cmake ../ 20 20 }}} 21 21 if you have not install libhamcast to standard directories, run: 22 22 {{{ 23 23 cmake -DHAMCAST_INCLUDE_PATH=<path-to-headers> \ 24 24 -DHAMCAST_LIBRARY_PATH=<path-to-libhamcast> ../ 25 25 }}} 26 26 'path-to-headers' is the absolute path where 'hamcast/hamcast.hpp' can 27 27 be found. 'path-to-libhamcast' is the absolute path where 'libhamcast.so' 28 28 can be found. If both are the same, you have to provide only one of them. 29 29 This will initialize the build environment, if no errors occure run: 30 30 {{{ 31 31 make 32 32 }}} 33 33 If build was successful you find the binary in 'build' folder. 34 34 35 Install 35 ===Install=== 36 36 Currently not supported. Just run hc_status from build directory. 37 37 38 SYNOPSIS 38 ==SYNOPSIS== 39 {{{ 39 40 hc_status [GROUPS]... 40 41 DESCRIPTION 41 }}} 42 ==DESCRIPTION== 42 43 43 44 The program provides information on HAMcast middleware and 44 45 multicast status of a node. 45 46 46 EXIT STATUS 47 ==EXIT STATUS== 47 48 48 49 hc_status exits with status 0 (EXIT_SUCCESS) if no error occurs, 49 50 otherwise 1 (EXIT_FAILURE) is returned. 50 51 51 OPTIONS 52 ==OPTIONS== 52 53 None 53 54 54 EXAMPLES 55 Without args: ./hc_status 56 With args: ./hc_status ip://239.238.237.236:1234 ip://239.1.2.3:7890 55 ==EXAMPLES== 56 Without args: 57 {{{ 58 ./hc_status 59 }}} 60 With args: 61 {{{ 62 ./hc_status ip://239.238.237.236:1234 ip://239.1.2.3:7890 63 }}} 57 64 58 FILES 65 ==FILES== 59 66 No other files required or used. 60 67 61 NOTES 68 ==NOTES== 62 69 If started without arguments hc_status prints current status of 63 70 middleware and multicast group association. If valid group URIs are … … 65 72 'leave' groups before program stops. 66 73 67 ENVIRONMENT 74 ==ENVIRONMENT== 68 75 LD_LIBRARY_PATH must be set if libhamcast is not installed into 69 76 standard directories, e.g. /usr/lib. 70 71 AUTHOR72 Sebastian Meiling <sebastian.meiling (at) haw-hamburg.de>73 74 visit our website <http://hamcast.realmv6.org/developers>