Would have thought 'top' would do the first job. Type top and then look opposite the known pid. ps 'll probably have a way of doing it too, man pid.
From memory 'think there is something that does this, but have forgotten the name .... it's called
pstree.