Lesson 1: working with cluster

(1) Build a java.opts file under the matlab start directory which can be found in matlab console using pwd command
the file just contains one line
try to search the matlab pid using the following command:
ps -aux |less | grep matlab
ps -ef |less | grep matlab
find the process run by particular use
ps -u hongboz
or just use
Get infor about threads
# ps -eLf
# ps axms
even simpler one
pgrep MATLAB
In Matlab, there are three commands used to find the available memory (also the general java commands)
Three commands are useful!
Jconsole pid,  jmat, and jhat
(4) putty can time out after a while how to reset it?
unset TMOUT
or another way
or simply follows this
it is called putty keep alive

About Hongbo Zhang

My name is Hongbo Zhang. I am a visioner. I am also a practitioner.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s