On Friday 2 Oct 2015 09:37 CEST, Peter Otten wrote:
> Cecil Westerhof wrote:
>
>> I want to get the first 6 lines of ps output. For this I use:
>>
>> from subprocess import check_output
>>
>> ps_command = ('ps', '-eo',
>> 'u
On Friday 2 Oct 2015 00:50 CEST, Cameron Simpson wrote:
> On 01Oct2015 23:58, Cecil Westerhof wrote:
>> I want to get the first 6 lines of ps output. For this I use:
>>
>> from subprocess import check_output
>>
>> ps_comman
Cecil Westerhof wrote:
> I want to get the first 6 lines of ps output. For this I use:
>
> from subprocess import check_output
>
> ps_command = ('ps', '-eo', 'user,pid,pcpu,pmem,stat,start,time,cmd',
> '--sort') message = '\
On 01Oct2015 23:58, Cecil Westerhof wrote:
I want to get the first 6 lines of ps output. For this I use:
from subprocess import check_output
ps_command = ('ps', '-eo', 'user,pid,pcpu,pmem,stat,start,time,cmd', '--sort')
me
On Thu, Oct 1, 2015 at 3:58 PM, Cecil Westerhof wrote:
> I want to get the first 6 lines of ps output. For this I use:
>
> from subprocess import check_output
>
> ps_command = ('ps', '-eo', 'user,pid,pcpu,pmem,stat,start,time