<data:blog.pageTitle/>

This Page

has moved to a new address:

https://vmvirtual.blog

Sorry for the inconvenience…

Redirection provided by Blogger to WordPress Migration Service
BIOLNX: aprile 2010

BIOLNX

mercoledì 14 aprile 2010

VMware Hot-Add Memory/CPU Support

VMware Hot-Add Memory/CPU Support

martedì 6 aprile 2010

edit file text

Modifico ogni riga inserendo firstword come prima parola e lastword come ultima parola:

sed 's/^/firstword/g;s/$/lastword/g' changefile.txt

da vi posso :

%s/^/firstword/g
%s/$/lastword/g

Resize swap redhat

Disable swapping for the associated logical volume:

# swapoff -v /dev/VolGroup00/LogVol01
Resize the LVM2 logical volume by 256 MB:

# lvm lvresize /dev/VolGroup00/LogVol01 -L +256M
Format the new swap space:

# mkswap /dev/VolGroup00/LogVol01
Enable the extended logical volume:

# swapon -va
Test that the logical volume has been extended properly:

# cat /proc/swaps # free