How to get output in mail in actual format?

I need top load memory and cpu uses in mail. I am getting mail, but output is coming in sentence format.
can help me, how can I get in actual format. below is the command.

echo `ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head`|mailx -r `hostname -s`@abc.com abc@abc.com

If the output you get from the command:

ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head

is in the format you want, then the likely cause of your problem is the utility you are using to read the mail that has been sent to you.

What utility (or utilities) are you using to read your mail?

What operating system(s) is(are) running on the system(s) where you read your mail?

Thanks for reply.
As I said, I am using mailx utility to send mail from server . and MUA is Outlook express.
my operating system in rhel 7.

The unquoted echo arguments are broken into space-separated words.
As stated before, use

ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head | mailx ...

(without echo ` ` )

Excellent . Thank you so much for your support. please mark as resolved.

Hi yash_message,
I have marked your thread as "solved". But, please note that there is no need to ask anyone to do this for you. You can add a "solved" tag to any thread you create by hitting the "Edit Tags" button close to the top of each page of your thread display.