Syntax
list remotegrouplist ( string hostname )
Description
remotegrouplist returns the full list of group names and the associated group IDs located on the remote host.
The remote host must be configured to run either pmmasterd or pmclientd to respond to this function.
Example
#print the remote groups on runhost
print(remotegrouplist(runhost))
Syntax
list remotesysinfo ( string hostname )
Description
remotesysinfo returns the full uname output from the remote system.
The remote host must be configured to run either pmmasterd or pmclientd to respond to this function.
Example
#print the runhost's uname info
print(remotesysinfo(runhost))
Syntax
list remoteusergroups ( string hostname, string username )
Description
remoteusergroups returns a list of groups that the specified user belongs to on the remote system.
The remote host must be configured to run either pmmasterd or pmclientd to respond to this function.
Example
# print root's groups on the runhost
print(remoteusergroups(runhost,"root"))
Syntax
list remoteuserinfo ( string hostname, string username )
Description
remoteuserinfo returns user information for the specified user from the remote host.
The remote host must be configured to run either pmmasterd or pmclientd to respond to this function.
Example
#print root's info on the runhost
print( remoteuserinfo(runhost,"root") )