summaryrefslogtreecommitdiff
path: root/libps
AgeCommit message (Collapse)Author
1995-03-15Set the PSTAT_STATE_PRIORITY and PSTAT_STATE_NICED flags when appropiate.Miles Bader
1995-03-15Add the output function ps_emit_priority that prints priorities in unix-Miles Bader
compatible way (that is, 20 .. -20 instead of 0 .. 24). Use this instead of ps_emit_int to print all priority fields. This also increases the min field width for them to 3.
1995-03-14Use ps_tty_t routines instead of the ps tty_name field.Miles Bader
Use ps_user_t routines instead of querying passwd or getting the owner from ps->info. Increase the width of the user name field to 8.
1995-03-14Initial revisionMiles Bader
1995-03-14Added the new types ps_context_t, ps_user_t, and ps_tty_t.Miles Bader
proc_stat_list_t's and proc_stat_t's point to a ps_context_t now instead of directly to the proc server (but we can get the proc server from the context). Added the owner (ps_user_t) field to proc_stat_t, and tty now points to a ps_tty_t instead of to a tty port; tty_name is deleted since that gets handled in the ps_tty_t. Add the inverse of proc_stat_list_add_threads, proc_stat_list_remove_threads.
1995-03-14A proc_stat_list_t points to a ps_context_t now instead of directly to the procMiles Bader
server (but we can get the proc server from the context). We no longer create or free proc_stat_ts; we leave that up to our ps_context, except in the case of thread proc_stats. Add the inverse of proc_stat_list_add_threads, proc_stat_list_remove_threads.
1995-03-14Initial revisionMiles Bader
1995-03-14A proc_stat_t points to a ps_context_t now instead of directly to the procMiles Bader
server (but we can get the proc server from the context). Added the owner (ps_user_t) field to proc_stat_t, and tty now points to a ps_tty_t instead of to a tty port; tty_name is deleted since that gets handled in the ps_tty_t.
1995-03-14Copy the correct number of fields when squashing.Miles Bader
Correctly skip prefix-only fields.
1995-03-13Initial revisionMiles Bader