In this paper, entropy generated during a continuous two-dimensional boundary layer flow on a porous flat plate surrounded by a variable heat flux is studied through a similarity solution. This study is presented for modeling of the cooling process of metal surfaces with porous coating that is widely used in industry. Using similarity variables, the continuity, momentum and energy equations are transformed into ordinary differential equations. To validate the proposed solution, results are compared to the existing studies. The effects of various parameters such as heat flux (q ), suction parameter (S), Prandtl number (Pr), Stretch parameter on the plate velocity (U), temperature distribution (T) and dimensionless entropy (Ns) are shown and discussed in detail. Bijan number is used as an important parameter for qualitative study in cooling process on porous surfaces. The increase of Bijan number is introduced as a measure for the increase of cooling rate. The results of the study show that when Prandtl number increases, the entropy will decrease which leads to a decrease in Bijan number. However, an increase in permeability of surface causes to increasing suction parameter and Bijan number.