Timeline for How can I make 'ps' command show memory in MB instead of KB?
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 1, 2023 at 0:33 | comment | added | LovesTha | The first two statements can be on separate lines. The head and cut statements aren't relevant to the question and can just be left out, if really wanting to keep them in, escaping the new line and putting them on another line makes sense. Then define the parameters to ps on a line so that can be split up. Lastly defining awk functions to be called later and doing it as a script is probably best. | |
| Sep 13, 2022 at 23:20 | history | edited | Kronos | CC BY-SA 4.0 | Removed a typo which mercifully didn't cause any issues I could see. This should be more clear and more predicable. |
| Sep 6, 2022 at 23:48 | comment | added | Kronos | I'm not sure how I can break up the code and still have it make sense. Some of the stuff I'm doing is just loooong. What would you suggest? | |
| Sep 6, 2022 at 23:39 | history | edited | Kronos | CC BY-SA 4.0 | added a more in-depth explanation about how the arbitrary field separator works and my reasoning for choosing the field separator I chose. |
| Sep 6, 2022 at 21:55 | comment | added | G-Man Says 'Reinstate Monica' | (1) We don’t give bonus points for most characters on one line. Please format scripts as multiple lines so as to avoid the need for horizontal scrolling. (2) It seems that you have chosen zzz::zzz as an arbitrary string, but the % part is special. Please explain how this works. … … … … … … … Please do not respond in comments; edit your answer to make it clearer and more complete. | |
| Sep 6, 2022 at 20:58 | history | edited | Kronos | CC BY-SA 4.0 | added a variable to call out the fact that you can also sort by any field |
| Sep 6, 2022 at 20:42 | review | Late answers | |||
| Sep 6, 2022 at 21:56 | |||||
| S Sep 6, 2022 at 20:26 | review | First answers | |||
| Sep 18, 2022 at 15:42 | |||||
| S Sep 6, 2022 at 20:26 | history | answered | Kronos | CC BY-SA 4.0 |