How can you view thread information using the `ps` and `top` commands in Linux? Describe the steps and options required to display thread details in these tools.
For ps specifying m ahead of ps command such as ps -m provides the details of thread associated with the running processes. For top, using H as a keystroke provides the details of the threads running in the system.