Children with pneumonia caused by a virus usually have symptoms that occur over time and tend to be mild.