summaryrefslogtreecommitdiff
path: root/libps
AgeCommit message (Collapse)Author
1996-11-16.Miles Bader
1996-11-16(proc_stat_set_flags):Miles Bader
Allow the user fetch hook to turn on non-user bits, even if they've already failed in the standard code.
1996-10-09.Miles Bader
1996-10-09(ps_nominal_string):Miles Bader
New function. (specs): Use ps_nominal_string for `Args' and `Arg0' fields. (ps_emit_args, ps_emit_string): Use `-' for empty values.
1996-10-08.Miles Bader
1996-10-08(ps_emit_seconds, ps_emit_minutes):Miles Bader
Interpret PS_FMT_FIELD_COLON_MOD flag to mean `print zero as "-"'.
1996-10-08(proc_stat_set_flags):Miles Bader
Get rid of INAPP macro. Fix preconditions of PSTAT_SUSPEND_COUNT.
1996-10-08.Miles Bader
1996-10-08(struct ps):Miles Bader
Add INAPP field. (struct ps_fmt): Add ERROR field, and rename INVAL to INAPP.
1996-10-08(_fmt_create):Miles Bader
Initialize INAPP & ERROR fields. (ps_fmt_clone): Propagate them. (ps_fmt_write_proc_stat): Use them.
1996-10-08(proc_stat_thread_create):Miles Bader
Initialize FAILED and INAPP fields. (PSTAT_PROCINFO): Redefined. (set_procinfo_flags): Set bits in PS->inapp as appropriate. (count_threads): Use PSTAT_PROCINFO_TASK_THREAD_DEP. (PSTAT_PROCINFO_TASK_THREAD_DEP): Renamed from PSTAT_PROCINFO_THREAD. (PSTAT_PROCINFO_THREAD, PSTAT_PROCINFO_TASK): New macro. (proc_stat_set_flags): Add NEED & INAPP macros, and use them to set the inapp field as well as the failed field. (_proc_stat_create): Initialize INAPP field.
1996-10-06(ps_emit_wait): Correct mapping of init ports.Miles Bader
1996-10-01.Miles Bader
1996-10-01(noise_write, noise_len):Miles Bader
Correctly calculate the length of a character printed using an octal escape.
1996-09-17*** empty log message ***Thomas Bushnell
1996-08-02.Miles Bader
1996-08-02(set_procinfo_flags): Pass HAVE to count_threads.Miles Bader
(count_threads): Take new argument HAVE, and use different thread counting method depending on whether we have thread detail info.
1996-07-18.Miles Bader
1996-07-18(ps_tty_abbrevs): Add an entry for /dev/comX -> cX.Miles Bader
1996-07-18*** empty log message ***Michael I. Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell
1996-07-17Initial revisionRoland McGrath
1996-07-11(set_procinfo_flags): Don't use fake "*" wait value if there's no msgport.Miles Bader
1996-07-09(_ps_stream_write_field): If a field is truncatable (MAX_WIDTH >= 0), takeMiles Bader
some of our spacing deficit out of it.
1996-07-02(proc_stat_set_flags):Miles Bader
Pass PS->task_events_info to task_info, not its address.
1996-06-27(proc_stat_list_clone): New function.Miles Bader
1996-06-27(_fmt_create): Set NEW_FMT->src_len. Use strdup.Miles Bader
(ps_fmt_clone): New function.
1996-06-27(struct ps_fmt): Add SRC_LEN field.Miles Bader
(proc_stat_list_clone, ps_fmt_clone): New declarations.
1996-06-27(LCLHDRS): Add common.h.Michael I. Bushnell
1996-06-03(ps_emit_wait): Never truncate what we write.Miles Bader
1996-06-03(merge_procinfo):Miles Bader
Take a struct proc_stat as an arg, not all the individual fields. Correctly set old_pi_hdr. Correctly calculate REALLY_NEED. (set_procinfo_flags): Use new calling merge_procinfo calling convention. (proc_stat_set_flags): Try mallocing a buffer for PS->args. Move second call to set_procinfo_flags after msgport suppress test. Add TEST_MSGPORT_FLAGS variable, & use it. Be more picky about when we call set_procinfo_flags. (_proc_stat_free): Use explicit VM_ALLOCED flag for MFREEMEM.
1996-06-03(struct proc_stat): Add PROC_INFO_VM_ALLOCED, THREAD_WAITS_VM_ALLOCED, andMiles Bader
ARGS_VM_ALLOCED fields.
1996-06-03(ps_user_passwd): Check return value of install_passwd correctly (it's an ↵Miles Bader
error_t).
1996-06-02(struct ps_fmt_specs): The EXPANSIONS field now points to a structMiles Bader
ps_fmt_spec_block. Delete EXPANSIONS_ALLOCED field.
1996-06-02(struct ps_fmt_spec_block): New type.Miles Bader
(specs_add_alias): Use a linked list of ps_fmt_spec_blocks instead of reallocing a block of specs. (ps_fmt_specs_find): Change searching accordingly.
1996-06-02(set_procinfo_flags): New function.Miles Bader
(proc_stat_set_flags): Use it, to get msgport validity testing right. (merge_procinfo): Take and return HAVE instead of using a reference parameter. Do mem allocation more efficiently and correctly. (fetch_procinfo): Do conversion for PI_SIZE from/to units of sizeof (int), so no one else has to deal with it. (PROCINFO_MALLOC_SIZE, WAITS_MALLOC_SIZE): New macros. (MFREEMEM): New macro combining MFREEM & MFREEVM. (MFREEM, MFREEVM): Macros deleted.
1996-05-31(proc_stat_set_flags): After fetching number of threads to guess whether weMiles Bader
need wait info, put it in PS->num_threads. (merge_procinfo): Avoid vm_allocing a procinfo buffer each time if we can help it. Correctly reflect newly fetched info. (PSTAT_PROCINFO_MERGE, PSTAT_PROCINFO_REFETCH): New macros.
1996-05-29(MP_MGET): Only disable msgport on timeout.Miles Bader
(get_thread_wait): Decrement N in loop. (get_thread_wait): Use strnlen instead of memchr. (PSTAT_PROCINFO): Typo: PSTAT_THREAD_WAIT --> PSTAT_THREAD_WAITS. (PSTAT_USES_MSGPORT): Add PSTAT_THREAD_WAIT.
1996-05-29Renumber PSTAT_ values to remove dup.Miles Bader
1996-05-29(merge_procinfo): Don't die if WAITS == 0.Miles Bader
(summarize_thread_waits): Correctly advance NEXT_WAIT. Skip threads marked `itimer'. (proc_stat_set_flags): Consider processes with less than 4 threads to be candidates for a meaningful process wait status.
1996-05-28(_fmt_create): Make NAME termination work for posix-mode.Miles Bader
1996-05-28(ps_fmt_write_proc_stat): Call the output function correctly.Miles Bader
(_fmt_create): Get FIELD's precision, not width, from its spec.
1996-05-24(merge_procinfo): And update *HAVE with PSTAT_PROC_INFO fromMichael I. Bushnell
REALLY_HAVE here.
1996-05-24(fetch_procinfo): Always turn on PSTAT_PROC_INFO if proc_getprocinfoMichael I. Bushnell
returns successfully.
1996-05-23(_fmt_create):Miles Bader
Increment SRC when reading modifiers. Recognize '^' modifier.
1996-05-13(PSTAT_PROCINFO, PSTAT_PROCINFO_THREAD): Add PSTAT_THREAD_WAITS.Miles Bader
(proc_stat_set_flags): Be more careful about when we fetch thread_wait information, and synthesize a process-summary thread_wait value for lots of threads. (summarize_thread_waits): Only give a real summary if there's but a single user thread. (fetch_procinfo): Use PSTAT_THREAD_WAITS instead of PSTAT_THREAD_WAIT.
1996-05-13(PSTAT_THREAD_WAITS): New macro.Miles Bader
1996-05-12(merge_procinfo, fetch_procinfo): Change HAVE to be an input/output parameter.Miles Bader
(proc_stat_set_flags): Change accordingly. (get_thread_wait): Correctly advance WAIT.
1996-05-12(get_thread_wait): Correctly advance WAIT.Miles Bader