refactor server_status.php: 1. using better function name 2. split long lines

1. using better function name
2. split long lines