Important command

strace -f -e open /scripts/restorepkg username ==> To check the backup file.

rsync -e “ssh -p 1122” -avzrp elccc1 root@IP:/home/

/scripts/addpop emailuser@domain.com password quota

ps –sort -rss -eo rss,pid,command | head ==> To know some process is leaking memory.

cat /proc/user_beancounters | more ==> Memory usage in openVZ

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s