Overall, worldwide server revenue shrank to $10.1bn (£6.6bn) in the second quarter, down from $11.6bn (£7.6bn) in the same period a year ago - a 12.8% decline. All of the major vendors saw their revenue fall, but HP and Compaq, now a single merged company, showed the largest decline, according to Gartner.
HP's total revenue from server sales slipped 21.3% year-on-year, and Compaq's fell 21.8% over the same period. By comparison, IBM's server revenue fell 7.8%, while Sun Microsystems and Dell Computer each saw their revenue decline by 3.5%, Gartner reported.
Meanwhile, IBM, Sun and Dell were able to gain market share against HP. IBM held its top spot in worldwide market share, garnering 29.6% of total server revenue, an increase of 1.6% from the year before.
Sun took the second-largest slice of the market with 18.4% of revenue, up 1.8% from the year before. Compaq's share came in at 12.5%, down 1.3% from the year before, with HP just behind at 12.2%, down 1.4%.
Combining the market shares of HP and Compaq would put the vendors ahead of Sun, with 24.7% of server revenue. Dell saw its share of server revenue climb 0.7%, to 7.2%, Gartner said.
Looking only at Intel-based servers, HP and Compaq fared little better, with both vendors losing ground to IBM and Dell, according to the Gartner figures.
IBM was the only major vendor to see its revenue grow from last year's second quarter, gaining 9.4%. That gave it 16.7% of Intel server market revenue, up 3% from the year before. Dell also gained share, climbing 1.3% to grab 19.4% of the market. Compaq slid 1.9% to claim a 24.6% share, while HP dipped 1.3% to 7.3%.
Sun held its lead in the Unix server segment with 43.8% of the market and was the only large vendor to gain share, Gartner said. HP followed with 23.4% of revenue and IBM was third with 18.5%. Compaq accounted for 4.1% of the market. Sun's share represented a climb of 5.8% over the previous quarter, while HP lost 1.2% of share, IBM lost 0.9%, and Compaq slipped 1.3%, Gartner said.