On Mon, Apr 13, 2020 at 06:26:53PM +0200, Sebastian Benoit wrote:
> If you make them look like the display in systat, you still get the user,
> ... nice, sys information. Also i like my bikeshed green.

So looking at the bar in `systat vmstat`, we have:
```
   0.0%Int   0.0%Spn   0.1%Sys  25.5%Usr  74.4%Idle
|    |    |    |    |    |    |    |    |    |    |
>>>>>>>>>>>>>
```

To replicate that exactly per-processor, we'd need 3 lines per-cpu.

I don't think we want to steal too much screen real-estate from the actual
process listing, but we could try some middle-ground like:

 - No 'int, spn, sys, ...' line. You can toggle the bars off to see those.
 - One shared line for the hatchings, either an additional line or perhaps
   replacing the process counts line.
 - No enclosing square braces on the bars.
 - No numeric percentage display.
 - Use > instead of #.

So that might look like:

```
load averages:  1.13,  1.03,  0.65                      arrakis.home 17:51:51
118 processes: 114 idle, 1 stopped, 3 on processor            up 1 day,  4:36
|      |      |      |      |      |      |      |      |      |      |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>
>>>>>>>
>
Memory: Real: 3931M/12G act/tot Free: 11G Cache: 6507M Swap: 0K/1028M

  PID USERNAME PRI NICE  SIZE   RES STATE     WAIT      TIME    CPU COMMAND
...
```

Something like that?

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to