Age | Commit message (Collapse) | Author |
|
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).
|
|
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.
|
|
|
|
|
|
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).
|
|
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.
|
|
(proc_stat_list_spec_nominal): New function for deciding if a particular spec
is always nominal.
|
|
(ps_nominal_zint, ps_nominal_user, ps_nominal_pri, ps_nominal_nth):
Possible nominal funs.
|
|
PSTAT_SUSPEND_COUNT, and proc_stat_suspend_count(ps).
|
|
field.
|
|
TSusp (thread suspend count) output specs.
|
|
exceptional conditions, and this is rarer.
|
|
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".
|
|
|
|
|
|
|
|
(ps_tty_create, ps_tty_free): Add short_name fields.
Tighten up types used (i.e., don't use int for everything).
|
|
Tighten up types used (i.e., don't use int for everything).
|
|
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).
|
|
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).
|
|
one. Change MsgsIn and MsgsOut to MsgIn and MsgOut.
|
|
|
|
process's message port.
|
|
|
|
PSTAT_STATE_TRACED.
|
|
that to support the PSTAT_STATE_TRACED bit.
Update proc_stat_state_tags to add PSTAT_STATE_TRACED.
|
|
|
|
|
|
|
|
(ps_emit_num_blocks): Use int format for int arg.
(sprint_frac_value): Likewise.
|
|
|
|
(ps_host_sched_info): Likewise.
(ps_host_load_info): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
(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
|
|
|
|
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.
|
|
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.
|
|
|
|
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.
|
|
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.
|
|
|
|
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.
|
|
Correctly skip prefix-only fields.
|
|
|