Friday, July 22, 2011

Few Tools Worth a Look

Check X memory usage

$ xrestop

Check system memory usage

$ top

Create CD Image using DD

This is a simple way to create image from CD or any other block devices under linux.
$ dd if=/dev/cdrom0 of=output.iso

Change cdrom0 with devices you need to make image from, and output.iso with image file result.

To mount it, use

$ mount -o loop output.iso /path/to/mntdir

Linux Screen Cheatsheet

Open new screen

Print a list of of screen identification

$screen -ls

Reattach/resume screen session

$screen -r

Detach a screen

ctrl-a d