aboutsummaryrefslogtreecommitdiff
path: root/libps/ps.h
Commit message (Collapse)AuthorAgeFilesLines
* (ps_own_filter, ps_not_sess_leader_filter, ps_ctty_filter,Miles Bader1995-05-311-5/+5
| | | | | | 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).
* Add the nominal_fn field to struct ps_fmt_spec, which will be used to decideMiles Bader1995-05-031-2/+23
| | | | | | 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.
* (struct proc_stat): Add the suspend_count field, along withMiles Bader1995-05-021-14/+19
| | | | PSTAT_SUSPEND_COUNT, and proc_stat_suspend_count(ps).
* Replace PSTAT_STATE_EXECED with PSTAT_STATE_FORKED; we want to the flags markMiles Bader1995-05-021-2/+2
| | | | exceptional conditions, and this is rarer.
* Add decls for proc_stat_list_add_pgrp & ps_tty_short_name.Miles Bader1995-04-071-43/+59
| | | | Tighten up types used (i.e., don't use int for everything).
* Add the PSTAT_NO_MSGPORT flag, which when set disables any use of theMiles Bader1995-04-051-3/+5
| | | | process's message port.
* Add the exec_flags field to the proc_stat structure, and addMiles Bader1995-03-281-0/+5
| | | | PSTAT_STATE_TRACED.
* * ps.h: Include <errno.h>.Michael I. Bushnell1995-03-211-0/+64
| | | | | | | (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
* Added the new types ps_context_t, ps_user_t, and ps_tty_t.Miles Bader1995-03-141-28/+159
| | | | | | | | | | 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.
* Initial revisionMiles Bader1995-03-131-0/+605