LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-01-2010, 05:02 PM   #1
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
top command output in "human readable"


Okay this is a dumb question...

The top command by default displays in "k" ...how can I make it display in "M"?

-C
 
Old 07-01-2010, 06:28 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Unfortunately not possible, but you can use free -m

jlinkels
 
Old 07-01-2010, 06:33 PM   #3
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979

Original Poster
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by jlinkels View Post
Unfortunately not possible, but you can use free -m

jlinkels
Yeah I knew about free :\

Not what I was looking for...oh well
 
Old 07-13-2012, 11:59 AM   #4
IgNord
LQ Newbie
 
Registered: Jul 2012
Posts: 2

Rep: Reputation: Disabled
"human readable" top

The man is a bit obscure but I think top -M will do what you're looking for.
 
1 members found this post helpful.
Old 07-18-2012, 06:37 PM   #5
johnsan
LQ Newbie
 
Registered: Mar 2010
Location: Sydney, Australia
Distribution: Debian & CentOS
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by IgNord View Post
The man is a bit obscure but I think top -M will do what you're looking for.
Thanks a million
 
Old 07-18-2012, 08:16 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Quick research: -M avail on RHEL6.x, NOT on RHEL 5.x (at least on one of each here ...)
 
Old 07-18-2012, 10:00 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,939

Rep: Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619Reputation: 3619
Hahaha, thanks a -M illion.
 
Old 12-01-2017, 11:53 AM   #8
charlie_okra
LQ Newbie
 
Registered: Dec 2017
Posts: 1

Rep: Reputation: Disabled
I know this is an old thread, but duckduckgo brought me here.

The following commands here are case sensitive..

Debian Jessie, while in top:

toggle memory with m
toggle memory amount conversions with E (thats shift+e)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding the top CPU-using processes? "top" command does not help... catalytical Linux - Server 1 04-06-2009 04:50 PM
"TOP" Command keeps going to "stopped" state mudtoe Linux - Newbie 3 03-09-2009 11:15 PM
Feeding the output of "diff" or "cat" command to dpkg --purge kushalkoolwal Debian 9 06-19-2008 07:27 AM
Is ".gz" archive file considered "World-Readable"? NightSky Linux - Newbie 4 12-06-2007 05:21 PM
"lp" output missing 2mm at top & left beckwith Linux - Newbie 16 08-05-2006 04:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration