I would have to do some digging but I think that figure includes both on and off duty deaths. All of them Line of Duty except maybe the DUI related.
If they would sift out just the training deaths that number would still shock people. Typically those deaths only make the local news. I've known some who got a scant one paragraph mention in section B.
http://www.dior.whs.mil/mmid/casualty/Death_Rates.pdf
Total is 23,028. Less illness, it's 18,878. [on my MS chart, numbers from this site are constantly updated - there were small changes from last time I updated it as far back as 1997]
This page does not break down on and off duty training accidents.
I've looked for a better breakdown in the past, but was not very successful. In the Navy, you might find 'aviation' stats, then have to look for shipboard [which might include some aviation from LPD/H and the CV's], etc.
Also, there were 7,500 deaths while Clinton was prez [1,522 suicides].
And it does include [as does the 1800 deaths in Iraq - I believe over 300 are non combat - accidents] accidents on and off duty, but in line of duty, suicide, etc.
This page gives more beak downs.
http://www.dior.whs.mil/mmid/casualty/castop.htm
If they would sift out just the training deaths that number would still shock people. Typically those deaths only make the local news. I've known some who got a scant one paragraph mention in section B. If they gave the death totals for one city, that would shock people too. In Dinkins last year as mayor of NYC, 2200 people were murdered. By the end of Giuliani's first term, that had dropped to just over 600. In just the first four years, tossing Dinkins out of office saved almost three times as many people as we have lost in Iraq combat, accidents and medical.