The shutdown completes eventually but takes 7-8 min to finish. The OS is sles11. So I wonder is there anyway that I can add debug script to print any running processes and ask sysV init to execute it at the last stage of shutdown?

1 Answer 1


Script /etc/init.d/local.halt is executed when system shutdown. So put debug code to this file.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .