summaryrefslogtreecommitdiff
path: root/libps
AgeCommit message (Collapse)Author
1995-03-21(ps_user_passwd) [COUNT, COPY]: Use `if' statement.Michael I. Bushnell
1995-03-21Include <string.h>.Michael I. Bushnell
(ps_emit_num_blocks): Use int format for int arg. (sprint_frac_value): Likewise.
1995-03-21Include <string.h>.Michael I. Bushnell
1995-03-21(ps_host_basic_info): Cast third arg to host_info.Michael I. Bushnell
(ps_host_sched_info): Likewise. (ps_host_load_info): Likewise.
1995-03-21Include <unistd.h>.Michael I. Bushnell
1995-03-21Include <hurd/term.h>.Michael I. Bushnell
1995-03-21Don't include pshost.h.Michael I. Bushnell
1995-03-21Don't include "pshost.h".Michael I. Bushnell
1995-03-21Initial revisionMichael I. Bushnell
1995-03-21* ps.h: Include <errno.h>.Michael I. Bushnell
(ps_get_host, ps_host_basic_info, ps_host_sched_info, ps_host_load_info): Copied here from pshost.h. (ps_write_string, ps_write_spaces, ps_write_padding, ps_write_field, ps_write_int_field): Copied here from pswrite.h
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