I would like to know who is the last user to have logged into each VM and I haven't found any method in SoftLayer_Virtual_Guest that does it.
So one solution is to SSH into each VM and run a command such as last | head -n 1
. I would like to automate this task since I have several hundreds of VMs.
Is it possible to run a bash command on a VM using the API?
Any suggestion would be appreciated.
Thanks
Sorry API does not have any method wich allows running bash commands.
Regards