free -m -t
in MB. Note: since the memory is utilized by kernal than it is wasted. If you are curious how much memory you can use for your applications, you should check the 'free' column in the row of '-/+ buffers/cache'.
Tuesday, June 7, 2011
Monday, June 6, 2011
Thursday, June 2, 2011
If you have pic files like:
then you can use:
mencoder -speed 0.1 "mf://drilldata%05d.jpg" -o movie_drilldata.avi -ovc lavc -lavcopts vcodec=mjpeg
to generate an avi movie. The speed '0.1' is slower, '1' used the default frame rate. '1o' goes faster...
Tuesday, January 4, 2011
Sunday, January 2, 2011
Wednesday, December 8, 2010
I got an acsii file from a Window's user. If it is a regular windows text file, then I can use a command 'dos2unix' to convert it in unix format. However, it doesn't work. I use 'less' to have a look at it, it looks like:
. If I use emacs to view it, it looks okay like a regular file. In order to convert it to unix format, I use 'gedit' to do the conversion. A user will be reminded that you save as which format...