CPU on-line or off-line status

How to check CPU on-line or off-line status using single command in Linux?

Thanks in advance.

I highlighted your question and performed a Google search and the answer seemed to pop up on Google as a question asked and answered here before (it was number one in a Google search), surprise, surprise.

Any reason why you don't spend 5 seconds to do a site search before asking a question?

Just curious.

Is it so difficult to use our search function?