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 November 6, 2016
by robin · Published December 5, 2016
by robin · Published December 30, 2020
More