A small fonction useful to add to your <bash>.bashrc</bash>
whoswaps ()
{
for file in /proc/*/status;
do
echo $file $(awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file);
done | sort -k 3 -n -r | less
}
A small fonction useful to add to your <bash>.bashrc</bash>
whoswaps ()
{
for file in /proc/*/status;
do
echo $file $(awk '/VmSwap|Name/{printf $2 " " $3}END{ print ""}' $file);
done | sort -k 3 -n -r | less
}
Salut,

Ce blog est un bloc-note de choses et d’autres techniques 🙂
…we wanted to upgrade a QM’s VM, as we had HA QM’s, I explained the admin they could use WMQ’ switching mecanism to upgrade VMs without stoping the service…
Anyway the command is :
endmqm -s <QM NAME>Which makes the active QM switch to the standby instance.
Ok but when I tried to make the switch, I was getting this freaky message AMQ7276 : WebSphere […].
I was searching a answer to this on google, then I realized the solution was kind obvious 😛
…yes, when you wanna switchover, you need to have the standby QM in standby mode, start it with this command : \o/
strmqm -x <QM NAME>
…le 13 January 2014 à 15h33
Leave a Reply