top
on Mac shows something like this on the top of the screen.
Processes: 1104 total, 187 running, 917 sleeping, 2761 threads 19:41:00
I don't want to run top
interactively. Is there a way to run top
noninteractive and just print this top line to the screen? Thanks.