What is the meaning of おい?

Said to get someone's attention; hey!; oi!

Source: wiktionary.org