Replaced linux-dependent stat of /proc with kill 0