Solaris and AIX implementation of process information gathering

(Redmine #2330)

Backport of Mikhail's 77320b6c.