With violence escalating, Libya has pulled the plug on its internet connection.

Libya's main internet service provider, General Post and Telecommunications Company, began to cut internet access on Friday, said Earl Zmijewski, general manager with internet monitoring company Renesys. "They started pulling the plug around 23:18 UTC today and are currently largely off the air," he said via email. That was 1:18 am. Saturday, local time.

Libya appears to be taking its cue from Egypt, which cut off all internet access at the end of January as it was roiled by street protests calling for political reform.

In similar fashion, thousands of Libyans took to the streets in the city of Benghazi last week in protests that have led to 46 killings in the past three days, according to Amnesty International.

As the situation has escalated, internet traffic has been cut, making it difficult to get a picture of the situation on the ground.

Libya is much smaller than Egypt, with fewer networks to unplug, and it appears that this has made the job of cutting internet access much simpler.

Agence France Press reported on Friday that Facebook was inaccessible from Tripoli, Libya's capital, and that "access to the internet was intermittent".

Posts on Twitter and the blog TechCrunch reported similar problems. Software publisher NeoSmart Technolgies, citing "friends" in Libya, said the government ordered internet service providers in the country to block most web access. "Currently, most websites are unavailable and internet access is, by and large, being blocked," the company said in a blog post.