![]() Use the "u" option or "-f" option to display detailed information about the processes $ ps aux Pipe the output to "less" to make it scrollable. The following command will give a full list of processes $ ps ax For example "ps ax -f".īut in this post we shall mostly focus on the unix style syntax. ps -ef It is okay to mix both the syntax styles on linux systems. UNIX/LINUX style - The options in linux style syntax are preceded by a dash as usual. But "u" means show detailed information.īSD style - The options in bsd style syntax are not preceded with a dash. For example "-u" is used to show process of that user. Note : "ps aux" is not the same as "ps -aux". ![]() So here is some basic info to get it clear before moving on. New users are often confused with and mis-interpret the two styles. The ps command comes with an unusual set of 2 syntax styles. In this post we are going to revise the basics of using the ps command to check the processes and filter and sort them in different ways to suit better. Even though it has fewer features, it is still an essential process management and monitoring tool that every linux user should know about. If you are specifying the output format manually you also need to make sure the args option is last in the list of output fields, otherwise it will be truncated. Isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echo $COLUMNS Opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts ![]() Werase = ^W lnext = ^V flush = ^O min = 1 time = 0 Intr = ^C quit = ^\ erase = ^? kill = ^U eof = ^D eol = eol2 = swtch = start = ^Q stop = ^S susp = ^Z rprnt = ^R Speed 38400 baud rows 47 columns 158 line = 0 ![]() I am sorry for downgrading,I thought others won't find the answer useful too, so I downgraded. When I run ps -aux command on my linux server, to which I connected using putty, few processes are too long to fit in my current window width.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |