top command on linux
Usage
Basic
$ top
View by process name
# top -p $(pgrep -d',' <process name>) # sample below, top -p $(pgrep -d',' http)
View by user
top -u <user name>
Sort by mem
# Inside top Shift+m
View command line arguments
# Inside top c
Knowledge is Power
by robin · Published · Updated
Basic
$ top
View by process name
# top -p $(pgrep -d',' <process name>) # sample below, top -p $(pgrep -d',' http)
View by user
top -u <user name>
Sort by mem
# Inside top Shift+m
View command line arguments
# Inside top c
by robin · Published March 30, 2017 · Last modified June 21, 2018
by robin · Published May 4, 2016 · Last modified June 7, 2016
by robin · Published April 21, 2016 · Last modified September 23, 2016
More