[ https://issues.apache.org/jira/browse/GEODE-68?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15323065#comment-15323065 ]
William Markito Oliveira commented on GEODE-68: ----------------------------------------------- `hostname` will definitely do it for this case. Otherwise we may run into trouble on boxes with multiple NICs. Thanks! > GFSH SYS_HOST_NAME variable should report hostname if available > --------------------------------------------------------------- > > Key: GEODE-68 > URL: https://issues.apache.org/jira/browse/GEODE-68 > Project: Geode > Issue Type: Bug > Components: gfsh > Reporter: William Markito Oliveira > Assignee: Kevin Duling > Priority: Minor > Labels: gfsh > > SYS_HOST_NAME is actually displaying SYS_USER_HOME. > This is very useful for automation scripts. > {code} > gfsh>echo --string=$* > Property | Value > ------------------------------ | > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > APP_COLLECTION_LIMIT | 20 > APP_FETCH_SIZE | 1000 > APP_LAST_EXIT_STATUS | 0 > APP_LOGGING_ENABLED | false > APP_LOG_FILE | /Users/wmarkito/gfsh-%u_%g.log > APP_NAME | gfsh > APP_PWD | /Users/wmarkito > APP_QUERY_RESULTS_DISPLAY_MODE | table > APP_QUIET_EXECUTION | false > APP_RESULT_VIEWER | basic > SYS_CLASSPATH | > /Users/wmarkito/Pivotal/GemFire/sources/github/gemfire/build-artifacts/mac/product/lib/gfsh-dependencies.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/lib/tools.jar > SYS_GEMFIRE_DIR | /Users/wmarkito/... > SYS_HOST_NAME | wmarkito > SYS_JAVA_VERSION | 1.7.0_72 > SYS_OS | Mac OS X > SYS_OS_LINE_SEPARATOR | > SYS_USER | wmarkito > SYS_USER_HOME | /Users/wmarkito > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)