| 1 |
-------------------------- general ------------------------ |
| 2 |
|
| 3 |
Consider using glibc obstacks for memory allocation. |
| 4 |
|
| 5 |
Implement /usr/proc/bin tools like Solaris has. |
| 6 |
The prstat command is interesting, like top in batch mode. |
| 7 |
SCO has a pstat command. |
| 8 |
|
| 9 |
Don't these really belong in the procps-ng package? |
| 10 |
killall pstree fuser lsof who |
| 11 |
(they are maintained elsewhere, which causes version problems) |
| 12 |
|
| 13 |
OpenBSD has a pfind command. |
| 14 |
|
| 15 |
Cache results of dev_to_tty. |
| 16 |
|
| 17 |
---------------------- kernel ------------------------- |
| 18 |
|
| 19 |
Add an "adopted child" flag to mark processes that are not |
| 20 |
natural children of init. This can make --forest work better. |
| 21 |
|
| 22 |
Supply better data for top's CPU state display. Currently top has |
| 23 |
to subtract old numbers from new numbers and divide that result by |
| 24 |
the number of processors. The kernel won't even supply the number |
| 25 |
of processors in a portable way. |
| 26 |
|
| 27 |
Supply data for the ADDR and JOBC fields. |
| 28 |
|
| 29 |
Support & supply data for SL and RE. |
| 30 |
|
| 31 |
Add a /proc/*/tty symlink to eliminate guessing when /proc/*/fd is |
| 32 |
not accessible. |
| 33 |
|
| 34 |
Add /proc/*/.bindata files to avoid string parsing. It should be an array |
| 35 |
of 64-bit values on all machines. New entries go on the end and obsolete |
| 36 |
ones get filled in with something logical -- entries must never be deleted! |
| 37 |
|
| 38 |
Add all the stuff Solaris has. This would also replace ptrace. |
| 39 |
|
| 40 |
---------------------- watch -------------------------- |
| 41 |
|
| 42 |
Tolerate VT100 line-drawing characters. Maybe translate them. |
| 43 |
|
| 44 |
---------------------- w -------------------------- |
| 45 |
|
| 46 |
The LOGIN@ column sometimes has a space in it. This makes correct |
| 47 |
scripting difficult. |
| 48 |
|
| 49 |
Time formats are demented. |
| 50 |
|
| 51 |
---------------------- vmstat -------------------------- |
| 52 |
|
| 53 |
Extract /proc/diskstats parsing from vmstat into libproc somewhere. |
| 54 |
|
| 55 |
--------------------- libproc ---------------------- |
| 56 |
|
| 57 |
Stop storing fields with duplicate info (often different |
| 58 |
units: kB and pages, seconds and jiffies) in the proc_t struct. |
| 59 |
|
| 60 |
Use own readdir code (assembly language) because glibc sucks ass. |
| 61 |
|
| 62 |
---------------------- top ------------------------- |
| 63 |
|
| 64 |
Share more stuff with ps. |
| 65 |
|
| 66 |
don't truncate long usernames |
| 67 |
|
| 68 |
have a --config option |
| 69 |
|
| 70 |
---------------- ps for now, maybe move to libproc ------------------ |
| 71 |
|
| 72 |
With forest output and a tty named /dev/this_is_my_tty, the position |
| 73 |
of the command name gets messed up. (we print too many spaces) (fixed?) |
| 74 |
|
| 75 |
Fix missing stuff for these formats: FB_j FB_l FB_v HP_f HP_l HP_fl JFMT OL_m |
| 76 |
(jobc,cpu,sl,re,cpu,prmgrp,m_swap,m_share,vm_lib,m_dt) |
| 77 |
Note that "cpu" has two meanings. |
| 78 |
|
| 79 |
Add Beowulf support. This is ugly, since the current patches use a |
| 80 |
daemon to collect info and add a HOST field after the PID field. |
| 81 |
|
| 82 |
Query optimizer, put cheap/required process selection first. |
| 83 |
|
| 84 |
Avoid reading both /proc/*/status and /proc/*/stat. |
| 85 |
|
| 86 |
Support printing the client hostname (the FROM that w(1) uses) in place |
| 87 |
of a pty. |
| 88 |
|
| 89 |
Disambiguate narrow tty info. (/dev/tty7 == /dev/pts/7 now) |
| 90 |
1------8 1--4 |
| 91 |
ttyS2 S2 |
| 92 |
ttyI31 I31 |
| 93 |
pts/7 7 Short form could be /999. |
| 94 |
pts/9999 9999 Short form could just be trunctuated to /999. |
| 95 |
tty7 7 Short form could be vc-7. |
| 96 |
tty63 63 Short form could be vc63. |
| 97 |
|
| 98 |
Internationalization, as specified by XPG3, Volume 1, Commands and Utilities. |
| 99 |
(and suggested by Unix98) LC_TIME affects date format. |
| 100 |
|
| 101 |
----------------------- ps ----------------------- |
| 102 |
|
| 103 |
Add an option to select all processes that a user can kill. |
| 104 |
(related to RUID, EUID, tty, etc. -- but maybe ignore root power) |
| 105 |
|
| 106 |
Add a nice display option for killing things. |
| 107 |
ruser,euser,ppid,pid,pmem,stime,args |
| 108 |
|
| 109 |
For RT stuff: |
| 110 |
pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm |
| 111 |
|
| 112 |
For job control: |
| 113 |
stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm |
| 114 |
|
| 115 |
Make the column alignment algorithm support this: |
| 116 |
FOO BAR |
| 117 |
8 44444 |
| 118 |
453 45 |
| 119 |
45 2989 |
| 120 |
63666 0 |
| 121 |
34 333 |
| 122 |
(useful for the UNIX tty and time values, since the time might look |
| 123 |
like 100-10:40:32 for old processes and the tty might have extra room) |
| 124 |
|
| 125 |
Improve long sort/format specifiers documentation and fill in the missing |
| 126 |
code as much as the kernel can support. Make sure that memory amounts are in |
| 127 |
pages when they should be and in kB when they should be, not backwards. |
| 128 |
|
| 129 |
output encoding: UTF8 --nul --null |
| 130 |
|
| 131 |
Make BSD formats use non-standard BSD time format, at least when it |
| 132 |
doesn't violate the "no whitespace" rule. |
| 133 |
|
| 134 |
Better unmangling of '?' as a tty. The shell destroys '?' when there |
| 135 |
is a filename that matches. If the argument seems like garbage, |
| 136 |
check for a file that might have screwed up the '?'. |
| 137 |
|
| 138 |
If the 'O' option is given something already implied by 'O', |
| 139 |
assume the user wanted a sorting option. |
| 140 |
|
| 141 |
Conflict: |
| 142 |
Digital THREAD is user,pcpu,pri,scnt,wchan,usertime,systime |
| 143 |
AIX THREAD is uname,pid,ppid,tid,S,C,PRI,scount,WCHAN,F,tty,bnd,comm |
| 144 |
AIX looks like this: |
| 145 |
USER PID PPID TID S C PRI SC WCHAN FLAG TTY BND CMD |