Opened 10 years ago

Last modified 10 years ago

#10156 closed enhancement

Implement -o option to customize the program output — at Initial Version

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

[ps] Implement -o option to customize the program output

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:

/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

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

Change History (0)

Note: See TracTickets for help on using tickets.