Amazon interview question

How to determine one linux instance is busy or not?