http://qs1969.pair.com?node_id=592017


in reply to Parsing 'ps' output

Hi vineet2004,

You would not be here asking us it it was correct, would you? I think your only mistake is in this line:
if(/^([\d]+)*(hullBts_static)/)
You are missing the dot (.) before the asterisk. It should be:
if(/^([\d]+).*(hullBts_static)/)
I don't see any other problem, and it should do what you want... I guess.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.