Supported command line options for top

Latest response

In RHEL 6.x you could run the top command with the -M option:;

[jenkins-ci@dubengvm65]~ $top -M

top - 13:33:07 up 44 days,  4:17,  1 user,  load average: 0.00, 0.00, 0.00
Tasks: 150 total,   1 running, 149 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.2%us,  0.1%sy,  0.0%ni, 99.8%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    13.599G total,   12.931G used,  684.629M free,  311.203M buffers
Swap: 3967.996M total, 4744.000k used, 3963.363M free, 3103.844M cached

but on RHEL 7.x the -M option is not supported. Any ideas why this was removed, there does not seem to be any way to specify units to top from the command line now?

Responses