Fixed proccess state on solaris