To have it at hand the next time here is a description how to stop all DB2 processes on Linux:
How to completely stop DB2