If there are many processes waiting for different reasons to complete how can we print the different wait reasons in linux without using device driver module?
The programming language should be C.