After some searching based on your response, I came across vGhetto / Code / [r243] /scripts/guestOpsManagement.pl where I found the solution:
my $vm_view = Vim::find_entity_views(view_type => 'VirtualMachine', filter => {'name' => $vmNameInVcenter});
my $guestOpMgr = Vim::get_view(mo_ref => Vim::get_service_content()->guestOperationsManager);
my $guestCreds = NamePasswordAuthentication->new(username => $guestusername, password => $guestpassword, interactiveSession => 'false');
my $procMgr = Vim::get_view(mo_ref => $guestOpMgr->processManager);
my $processlist = $procMgr->ListProcessesInGuest(vm => $vm_view, auth => $guestCreds);