Opened 10 years ago

Last modified 10 years ago

#10156 closed enhancement

[ps] Implement -o option to customize the program output — at Version 1

Reported by: diger Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by siarzhuk)

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 current output:

/boot> ps
Team                                                  Id #Threads  Gid  Uid
kernel_team                                            1       50    0    0
/boot/apps/Pe/Pe                                  156192        7    0    0
/boot/apps/WebPositive                            176176        7    0    0

can be customized as follows:

/boot> ps -o Id,Team
    Id                 Team
     1                 kernel_team
156192                 /boot/apps/Pe/Pe
176176                 /boot/apps/WebPositive

Change History (1)

comment:1 by siarzhuk, 10 years ago

Description: modified (diff)
Summary: Implement -o option to customize the program output[ps] Implement -o option to customize the program output
Note: See TracTickets for help on using tickets.