summaryrefslogtreecommitdiff
path: root/libps
AgeCommit message (Collapse)Author
1995-10-09Specify shared library dependencies.Roland McGrath
1995-08-25(ps_std_fmt_specs): Declare extern.Miles Bader
1995-08-24(OBJS): Just put the migs stubs directly in here.Miles Bader
(REMHDRS, MIGSTUBS): Removed.
1995-08-19(ps_not_sess_leader_p, ps_unorphaned_p, ps_parent_p): Use the new state bits.Miles Bader
1995-08-19(ps_emit_state): Rearrange things to reflect the new state bits.Miles Bader
(state_shadows): New variable. (ps_emit_state): Use the state_shadows list to turn off some states.
1995-08-19(PSTAT_STATE_*): All proc state flags reorganized and renamed toMiles Bader
PSTAT_STATE_P_* for process-global bits, and PSTAT_STATE_T_* for per-thread bits.
1995-08-19(thread_state, proc_stat_set_flags): Use the new state bits.Miles Bader
(proc_stat_set_flags): Actually set the PSTAT_STATE_P_STOP bit. (proc_stat_state_tags): Reordered to reflect the new ordering of the state bits.
1995-07-08Remove include dependencies.Miles Bader
(REMHDRS): New variable.
1995-07-08(ps_tty_short_name): That assignment around which extra parents were put wasMiles Bader
actually supposed to be a test! Make it so...
1995-07-08Include hurd/ihash.h instead of ihash.h.Miles Bader
1995-07-07(ps_tty_short_name): Put extra parens around assignment inside ifMichael I. Bushnell
test.
1995-05-31(ps_own_filter, ps_not_sess_leader_filter, ps_ctty_filter,Miles Bader
ps_unorphaned_filter, ps_parent_filter): Declare these as extern so that the linker will bring in the initialized version (it's not doing so otherwise may be a bug).
1995-05-31(ps_fmt_create): Don't mutate the format spec name in the fmt_spec list we'reMiles Bader
passed just to get correctly capitalized titles. Instead, do things correctly by making enough room to store our own version of the title string, which we can do with what we please.
1995-05-05If a msg port call times out, disable use of that msg port.Miles Bader
1995-05-05Compile our own msg & term user stubs to add msg timeouts.Miles Bader
1995-05-03Rename ps_fmt_squash to ps_fmt_squash_flags, moving most of the guts into aMiles Bader
new more general ps_fmt_squash, which is usable for other things than flags. Recalculate the set of ps flags needed by the fmt in ps_fmt_squash (which then allows us to remove more specific code in ps_fmt_squash_flags).
1995-05-03Add the nominal_fn field to struct ps_fmt_spec, which will be used to decideMiles Bader
whether values are `unexciting'. Add entries for proc_stat_list_for_each and proc_stat_list_spec_nominal. Rename ps_fmt_squash to ps_fmt_squash_flags.
1995-05-03(proc_stat_list_for_each): New function for iterating over proc_stat_lists.Miles Bader
(proc_stat_list_spec_nominal): New function for deciding if a particular spec is always nominal.
1995-05-03(ps_std_fmt_specs): Add values for the new nominal_fn field.Miles Bader
(ps_nominal_zint, ps_nominal_user, ps_nominal_pri, ps_nominal_nth): Possible nominal funs.
1995-05-02(struct proc_stat): Add the suspend_count field, along withMiles Bader
PSTAT_SUSPEND_COUNT, and proc_stat_suspend_count(ps).
1995-05-02(proc_stat_set_flags, add_preconditions): Add support for the suspend_countMiles Bader
field.
1995-05-02Add the Susp (task/thread suspend count), PSusp (task suspend count), andMiles Bader
TSusp (thread suspend count) output specs.
1995-05-02Replace PSTAT_STATE_EXECED with PSTAT_STATE_FORKED; we want to the flags markMiles Bader
exceptional conditions, and this is rarer.
1995-05-02(add_preconditions): A new function that calculates inter-flag dependencies;Miles Bader
code moved here from from proc_stat_set_flags. (should_suppress_msgport): A new function that returns true when there's some condition indicating that we shouldn't use a process's msg port. (proc_stat_set_flags): Avoid using a process's msg port when it may be unusable. (proc_stat_set_flags): Set PSTAT_STATE_FORKED instead of PSTAT_STATE_EXECED. (proc_stat_state_tags): Change the user state letter to "f" from "e".
1995-04-23Set libname.Miles Bader
1995-04-07Make everything depend on ps.h. Other random tweaks.Miles Bader
1995-04-07Tighten up types used (i.e., don't use int for everything).Miles Bader
1995-04-07(ps_tty_short_name): New function; functionality used to be in spec.c.Miles Bader
(ps_tty_create, ps_tty_free): Add short_name fields. Tighten up types used (i.e., don't use int for everything).
1995-04-07Add decls for proc_stat_list_add_pgrp & ps_tty_short_name.Miles Bader
Tighten up types used (i.e., don't use int for everything).
1995-04-07(ps_emit_state): If a process is marked as stopped, then don't mentionMiles Bader
sleeping or idle threads' status (as that's presumably the signal thread). (ps_emit_tty_name): Move guts into into ps_tty_short_name. Tighten up types used (i.e., don't use int for everything).
1995-04-07(proc_stat_list_sort1): Always keep threads after their process when sorting!Miles Bader
Factor out most of proc_stat_list_add_all, proc_stat_list_add_login_coll, and proc_stat_list_add_session into proc_stat_list_add_[id_]fn_pids. (proc_stat_list_add_pgrp): New function, adds pids for a pgrp. Tighten up types used (i.e., don't use int for everything).
1995-04-06Add the `Arg0' spec, which is the same as `Args', but only prints the firstMiles Bader
one. Change MsgsIn and MsgsOut to MsgIn and MsgOut.
1995-04-05(proc_stat_set_flags): If PSTAT_NO_MSGPORT is set, don't use the msg port.Miles Bader
1995-04-05Add the PSTAT_NO_MSGPORT flag, which when set disables any use of theMiles Bader
process's message port.
1995-03-29Don't get barf on processes with zero threads.Miles Bader
1995-03-28Add the exec_flags field to the proc_stat structure, and addMiles Bader
PSTAT_STATE_TRACED.
1995-03-28Add support for the exec_flags field, and make the state bits calculation useMiles Bader
that to support the PSTAT_STATE_TRACED bit. Update proc_stat_state_tags to add PSTAT_STATE_TRACED.
1995-03-21Include <hurd/term.h>.Michael I. Bushnell
1995-03-21(ps_write_int_field): Use int format for int arg.Michael I. Bushnell
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