For a clean output on the IP address for nslookup, create a file with the list of hosts be lookup and run:
# for i in `cat /tmp/list`; do echo -n $i": " ; getent hosts $i | awk '{ print $1 }'; done
To see the memory consuption in Solaris
# vmstat 1 2 |tail -1 | awk '{ print $5/1024, "MB"}'
To run a list of commands (i.e. over SSH)
for i in `cat file.host.list` ; do ssh -o ConnectTimeout=5 $i "$(<cmd.txt)" 1>> output.out; done
Where cmd.txt contains a list of commands separated Read more...
memory
All posts tagged memory
It is important to note there is a correlation between all the parameters
Memory limits must satisfy:
static_min ≤ dynamic_min = dynamic_max = static_max
To modify the memory configuration for a Virtual machine in XEN through the cli commands you will have to stop the server
# xe vm-shutdown name-label="machine name"
Review the current memory configuration with
# xe vm-list params=all name-label="machine name" | grep memory
you have to find the uuid of the machine, that can be showed Read more...