[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Crash-utility] [PATCH v2 00/25] support hiding data of offline cpu




----- Original Message -----
> Hello Dave,
> 
> On 09/30/2014 11:21 PM, Dave Anderson wrote:
> > Regardless whether the cpu is online or not, the cpu's swapper task exists
> > and is always runnable, so the output is showing its legitimate state.  And
> > since no other task is queued on the cpu's run queue, then it's essentially
> > the "active" task on that cpu, waiting for it to come back online.  I'm not
> > sure why this is so bothersome to you?
> 
> It bothers me because ps shows swapper task on offline cpu and other active
> tasks are in the same style. What I want is to show it is different. I wish
> to distinguish the swapper task on offline cpu directly without having to
> check which cpu is offline firstly.
> 
> I would like omitting ">" of idle task on offline cpu and adding "[OFFLINE]"
> at the end of the line when "offline" set to "hide". And maybe you would like
> adding "[OFFLINE]" at the end of those sleeping tasks of offline cpu as well.

I really don't want to append [OFFLINE] to the line, because the task itself
is not offline, but rather the cpu it is assigned to.  How about just changing
the ">" with "-"?

Dave


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]