How to pass parameters to Top command using command line.
This is what we do in order to sort top output.
1) top
2) Press "f" (lower case) <== to enable/disable colums
3) Press the following keys "HIOQTWK" (upper case)
3b) Press "p" (lower case) <== to enable "swap" column
3c) Press "Enter" to complete
4) Press "F" (upper case) <== To sort by column
5) press "p" (lower case) <== sort by swap column
6) press "Enter" to complete.
However i was wondering if i can do all this using command line to save time .
Any link or help will be appreciated.
|