[Bug 1125323] [NEW] "ps -o" user defined fields: Priority

Arto Jääskeläinen 1125323 at bugs.launchpad.net
Thu Feb 14 16:08:15 UTC 2013


Public bug reported:

ps --version
procps version 3.2.8

Test case:

ps -l 1 
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY        TIME CMD
4 S     0     1       0       0  80   0 -   885 poll_s ?          0:01 /sbin/init

ps -o f,s,uid,pid,ppid,c,pri,ni,addr,sz,wchan,tty,time,cmd 1 
F S   UID   PID  PPID  C PRI  NI ADDR    SZ WCHAN  TT           TIME CMD
4 S     0     1       0      0  19    0    -   885 poll_s ?        00:00:01 /sbin/init

First one standard ps minus lowercase "L" with pid one.   Second one
displaying same fields but user defined (-o).  Expecting to see  same
result from both.  Observed result:

1)  Priority field "PRI" shows different result.

2) Header for tty spelled "TT".

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1125323

Title:
  "ps -o" user defined fields:  Priority

Status in “coreutils” package in Ubuntu:
  New

Bug description:
  ps --version
  procps version 3.2.8

  Test case:

  ps -l 1 
  F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY        TIME CMD
  4 S     0     1       0       0  80   0 -   885 poll_s ?          0:01 /sbin/init

  ps -o f,s,uid,pid,ppid,c,pri,ni,addr,sz,wchan,tty,time,cmd 1 
  F S   UID   PID  PPID  C PRI  NI ADDR    SZ WCHAN  TT           TIME CMD
  4 S     0     1       0      0  19    0    -   885 poll_s ?        00:00:01 /sbin/init

  First one standard ps minus lowercase "L" with pid one.   Second one
  displaying same fields but user defined (-o).  Expecting to see  same
  result from both.  Observed result:

  1)  Priority field "PRI" shows different result.

  2) Header for tty spelled "TT".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1125323/+subscriptions




More information about the foundations-bugs mailing list