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") )
Syntax
list remoteuserlist ( string hostname )
Description
remoteuserlist returns the full list of user names on the remote host.
The remote host must be configured to run either pmmasterd or pmclientd to respond to this function.
Example
#print the user list on the runhost
print(remoteuserlist(runhost))