Changes between Initial Version and Version 1 of Ticket #10156


Ignore:
Timestamp:
Oct 29, 2013, 9:52:18 AM (6 years ago)
Author:
siarzhuk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10156

    • Property Summary Implement -o option to customize the program output[ps] Implement -o option to customize the program output
  • Ticket #10156 – Description

    initial v1  
    1 [ps] Implement -o option to customize the program output
    2 
    3 It should help in porting shell scripts to have possibility to customize the ps tool output with the -o option as is implemented in other operation systems. For example:
     1It should help in porting shell scripts to have possibility to customize the ps tool output with the -o option as is implemented in other operation systems. For example current output:
    42
    53
     
    86Team                                                  Id #Threads  Gid  Uid
    97kernel_team                                            1       50    0    0
    10 /boot/apps/Pe/Pe                                   156192        7    0    0
    11 /boot/apps/WebPositive                             176176        7    0    0
     8/boot/apps/Pe/Pe                                  156192        7    0    0
     9/boot/apps/WebPositive                            176176        7    0    0
     10}}}
    1211
    13 -------------------------------------------------------------------------------
     12can be customized as follows:
     13
     14{{{
    1415/boot> ps -o Id,Team
    15 Team                      Id
    16 1                      kernel_team
     16    Id                 Team
     17     1                 kernel_team
    1718156192                 /boot/apps/Pe/Pe
    1819176176                 /boot/apps/WebPositive
    1920}}}
     21