The most common way to define boredom in Western culture is having nothing to do. Boredom is generally viewed as an unpleasant emotional state in which the individual feels a pervasive lack of interest in and difficulty concentrating on the current activity. The condition corresponds more precisely to the French ennui, an existential perception of life’s futility. Ennui is a consequence of unfulfilled aspirations (Goodstein, 2005).
“Boredom – the psychological state that we experience whenever we are uninterested in what we are currently doing – is one of the defining traits of humanity. Time is the psychological nemesis of humankind. Tedium, a fundamental angst of humankind, arises from human beings’ ability to perceive time and our attempts to derive meaning from our personal existence.”
Boreout is a management theory that posits that lack of work, boredom, and consequent lack of satisfaction are a common malaise affecting individuals working in modern organizations, especially in office-based white collar jobs. This theory was first expounded in 2007 in Diagnose Boreout, a book by Peter Werder and Philippe Rothlin, two Swiss business consultants. They claim the absence of meaningful tasks, rather than the presence of stress, is many workers' chief problem.
In contexts where one is confined, spatially or otherwise, boredom may be met with various religious activities, not because religion would want to associate itself with tedium, but rather, partly because boredom may be taken as the essential human condition, to which God, wisdom, or morality are the ultimate answers. Many existentialist philosophers, like Arthur Schopenhauer, espouse this view. This view of religiosity among boredom does affect how often people are bored. People who had a higher religiosity while performing boring task, reported less boredom than people of less religiosity. People performing the meaningless task had to search less for meaning.[24]
What can you do about boredom? Obviously, there are times when you are stuck. If you are listening to a lecture that you cannot leave, then you just need to find a way to get through it. When you have some control, though, use your understanding of boredom to help you out. If you can, try to do a meditation exercise to lower your arousal level. Also, keep some music handy. Music you enjoy can crowd out distractions in the environment. It can also influence your mood in positive ways to counteract the pain of being bored.  
When the antiproton was discovered … it sent a wave of ennui through the physics community. Not that its discovery was unimportant, but on the basis of Dirac's theory, everybody expected it. — Roger G. Newton, The Truth of Science, 1997 Chauncey and I were keen enough about our aesthetic solution to the ennui of war to try to proselytize others. He organized discussion groups with the crew; I took volunteers to visit landmarks … — Louis Auchincloss, "Atlantic War," in Authors at Sea, ed. Robert Shenk,  1997 The attendant outside was standing on tennis balls, exercising the soles of her feet, her body swaying back and forth with the ennui of jelly. — Edna O'Brien, New Yorker, 17 June 1991 Thus the days of life are consumed, one by one, without an object beyond the present moment; ever flying from the ennui of that, yet carrying it with us … — Thomas Jefferson, in a letter dated 7 Feb. 1787 Thomas Jefferson: Writings,  1984 the kind of ennui that comes from having too much time on one's hands and too little will to find something productive to do