To waste time; spend time idly.
To move or circulate in a confused or disorderly manner within a limited area.