Month: August 2017

String formating

Format Flags: Space, + and ( format position of output text base of flags s1= String.format(“%d”,123); s2= String.format(“%d”,-123); s3= String.format(“% d”,123); s4= String.format(“% d”,-123); s5= String.format(“%+d”,123); s6= String.format(“%+d”,-123); s7= String.format(“%(d”,123); s8= String.format(“%(d”,-123); s9= String.format(“% (d”,123); s9 is using combined flags, Read More

java update

Download java.tar.gz file Unzip to /usr/java/jdkVERSION Create link for latest and default Use alternative to setup default java envirement See your current envirement alternatives –config java There is 1 program that provides ‘java’. Selection Command ———————————————– *+ 1 java-1.8.0-openjdk.x86_64 (/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.el7_3.x86_64/jre/bin/java) Read More

ndb_desc – describe NDB tables

ndb_desc provides a detailed description of one or more NDB tables. Usage ndb_desc -c connection_string tbl_name -d db_name [option] ndb_desc -c connection_string index_name -d db_name -t tbl_name Example mantonik@mplclnode1 ~]$ ndb_desc -p -c mplclmgm1c:1186,mplclmgm2c:1186 -d masprod p_events — p_events — Read More