[agent] add UNIX parent for Linux

abstraction needed to add support for FreeBSD & SunOS