LiTWol @ Oleg Terenchuk

  • Contact
  • Tips & Tricks
  • About me

User login

  • Request new password
To prevent automated spam submissions leave this field empty.

litwol's tweets

  • For if I speak I will have altered your existence, even if its only reinforcing your stance against my beliefs. — 2 years 25 weeks ago
  •  
  • 1 of 9
  • ››
more
Home

tips

fdisk resize/grow physical partition without losing data on linode.com

Submitted by litwol on Sun, 11/20/2011 - 20:16

Linode.com have yet again increased members' hdd storage for free (article) and I ended up with physical VPS disk of 20GB and pre-increase partition of 16GB. Most users can resize their disk image in linode dashboard and after reboot VPS will recognize increased disk size and all will be zen.

  • Add new comment
  • Read more
Tags:
  • fdisk
  • tips

(gnu) screen defscrollback memory hog

Submitted by litwol on Sun, 11/20/2011 - 19:22

Screen configuration variable defscrollback controls the length of scrollback for all newly created windows ("def" for default i imagine).

Take care not to set this value too large as screen seems to maintain scrollback entirely in ram. I found out the hard way after setting defscrollback 1000000 which made screen consume over 300MB ram out of maximum 512MB on my VPS.

If you really need to have so much backscroll, consider using screen's logging to file functionality.

  • 2 comments
  • Read more
Tags:
  • screen
  • tips
Syndicate content

LiTWoL © Oleg Terenchuk - Hosted on Linode.com 512