Testing

[code lang=”python”] if __name__ == ’__main__’: print ”Hello Word” [/code] [code lang=”sql”] SELECT * FROM sb_session WHERE user_id = 0 AND session_check = ’$user[session_check]’ AND timestamp > $timeout [/code]

Read more

Java Trouble-Shooting and Diagnostic Guide

Java, Standard Edition 5.0 Trouble-Shooting and Diagnostic Guide Recommended utilities to install jvmstat 3.0 Installation: [code lang=”perl”] sudo bash cd /opt unzip $HOME/download/devel/jvmstat-3_0.zip vim /etc/profile #Add following lines into /etc/profile PATH=$PATH:/opt/jvmstat/bin export PATH [/code] Usage [code lang=”perl”] # List available java processes > jps NNNN processename …. # open tools (e.g.) >visualgc NNNN [/code]

Read more