Macos Notes: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
(Created page with "== PS == what a pain the butt. by cpu usage: ps -er -o pid,pcpu,comm lost but some cruft removed: ps -ef| grep -v System/Library | grep -v Applications")
 
No edit summary
Line 10: Line 10:


  ps -ef| grep -v System/Library | grep -v Applications
  ps -ef| grep -v System/Library | grep -v Applications
== Gawk ==
by default macos doesn't use gawk, it uses an old bsd awk, which might not behave the same ( IFS OFS FS )

Revision as of 18:40, 15 November 2019

PS

what a pain the butt.

by cpu usage:

ps -er -o pid,pcpu,comm

lost but some cruft removed:

ps -ef| grep -v System/Library | grep -v Applications

Gawk

by default macos doesn't use gawk, it uses an old bsd awk, which might not behave the same ( IFS OFS FS )