How to change swap space ?

hi all,
how do i change the swap space on a current running system?
I have CPanel server adn have just add more ram and now i would like to change also the swap space as currenlty the space is 512. (half of the ram i had befor the ram upgrade) I would like to change it to 1024 or also higher as i have now 2GB of ram.

Thanks for any help

 

 

 

 

Top