Print hugepage consumption of each process

grep -e AnonHugePages /proc/*/smaps | awk '{ if($2>4) print $0} ' | awk -F "/" '{system("cat /proc/" $3 "/cmdline");printf("\n");print $0; printf("\n");}'
The sample output is from an Android Device
Sample Output
/vendor/bin/hw/qcrild-c2 smaps:AnonHugePages:      2048 kB

/vendor/bin/imsdatadaemon smaps:AnonHugePages:      4096 kB

/vendor/bin/imsdatadaemon smaps:AnonHugePages:      2048 kB

What Others Think

If you are tired of doing your homework, this article is for you. Here you will find all the tips for students: how to do their homework faster. I checked the tips on myself and really started doing my homework faster.
ScarlettReid · 45 weeks ago
What is this really, It is being very difficult with less information on this point that you have shared here? Make it more informative by expanding the words that you have given. Go for a detailed description of everything.">gout in hands
zaiyamariya · 44 weeks ago
learned alot here but are there any other alternatives?
looneyhans · 43 weeks ago
Totally efficient and so friendly. I'd highly recommend them to mold remediation
idasanka · 38 weeks and 2 days ago
kitchen remodeling dayton ohio Just found a site a could relate to
yeoyeo · 36 weeks and 4 days ago
love your ideas! stairs
sammm · 33 weeks and 3 days ago
Waow this is quite pleasant article, my sister love to read such type of post, I am going to tell her and bookmarking this webpage. Thanks Europa-Road nemzetközi fuvarozás
muneerahmed · 16 weeks and 5 days ago
The sleek design and simple gameplay of slope unblocked are almost ridiculous, but that's half of the game's charm. Furthermore, while the game's virtual appearance and feel are significant, it was developed using fundamental physics concepts to ensure that it is as realistic as feasible.
joyce112 · 1 week and 6 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this? is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.


Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: