Disk IO check

You’ll need to get iostat for this.

yum install sysstat should get you what you need.

iostat -x 2 

This will give you a picture of your disk usage every two seconds. Adjust the number at the end to your liking. 

Here’s an example output:

iostat

Advertisements

Escaping SSH session

If you find yourself trapped inside a SSH session that is hung, while SSH’d into another machine? I have, often actually. Sometimes I’m connected and reading up on something and when I come back my session has loss its connection while I was ssh’d into another machine. Here’s how you can back out to the other machine:

In the shell type: ~.

that’s a period at the end of the tilde. This will terminate your connection and bring you back to the shell you where SSH’d into prior to that.  

 

source:
http://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/internet/node30.html

http://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/internet/node30.html