aboutsummaryrefslogtreecommitdiff
path: root/libps
Commit message (Collapse)AuthorAgeFilesLines
* .Roland McGrath2002-05-081-0/+16
|
* 2002-05-07 Roland McGrath <roland@frob.com>Roland McGrath2002-05-082-14/+17
| | | | | | | | | * context.c (ps_context_find_tty_by_cttyid): int -> mach_port_t * proclist.c (proc_stat_list_add_all): unsigned -> size_t (proc_stat_list_add_login_coll): Likewise. (proc_stat_list_add_session): Likewise. (proc_stat_list_add_fn_pids): Likewise. (proc_stat_list_add_id_fn_pids): Likewise.
* 2002-05-07 Roland McGrath <roland@frob.com>Roland McGrath2002-05-083-13/+13
| | | | | | | | | * host.c (ps_host_basic_info): int -> size_t (ps_host_basic_info, ps_host_load_info): Likewise. * ps.h: Update decls. (struct proc_stat): unsigned -> size_t for task_events_info_size, args_len, env_len. * procstat.c (summarize_thread_waits): Fix argument type.
* .Roland McGrath2001-12-311-0/+5
|
* 2001-12-31 Roland McGrath <roland@frob.com>Roland McGrath2001-12-312-7/+7
| | | | | * host.c (ps_get_host): Use mach_port_t instead of host_t. * ps.h: Update decl.
* .Roland McGrath2001-12-221-0/+5
|
* 2001-12-22 Roland McGrath <roland@frob.com>Roland McGrath2001-12-221-3/+1
| | | | | * spec.c (ps_emit_wait): Remove local extern decls for functions actually defined static.
* 2001-10-01 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-10-012-6/+16
| | | | | | | | | | * filters.c (ps_own_filter): Add const to type. (ps_not_leader_filter): Likewise. (ps_unorphaned_filter): Likewise. (ps_ctty_filter): Likewise. (ps_parent_filter): Likewise. (ps_alive_filter): Likewise. Submitted by Maurizio Boriani <baux@debian.org>.
* .Roland McGrath2001-03-311-0/+8
|
* 2001-03-29 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-03-312-19/+21
| | | | | | | | * host.c: Fix comments. (ps_host_basic_info): Make INITIALIZED static; otherwise we never cache BUF. Do not initalize static variables to 0. (ps_host_sched_info): Likewise. * ps.h: Doc fix.
* .Roland McGrath2001-02-261-0/+4
|
* 2001-02-25 Roland McGrath <roland@frob.com>Roland McGrath2001-02-261-2/+3
| | | | * user.c: Include <string.h> for decls of built-ins.
* .Roland McGrath2000-02-111-0/+5
|
* 2000-02-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-02-111-2/+2
| | | | | * context.c (ps_context_find_tty_by_cttyid): Use the ttys_by_cttyid hash table, not the ttys hash table.
* .Roland McGrath2000-01-251-0/+8
|
* 2000-01-25 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-01-251-11/+13
| | | | | | | | * tty.c (struct ps_tty_abbrev): Add const to member types. (ps_tty_abbrevs): Make const. (ps_tty_short_name): Clean up type usage, add consts. Include null terminator in calculation for short_name allocation size. Save lengths and use memcpy instead of using strcpy and strcat.
* .Roland McGrath1999-12-221-0/+4
|
* 1999-12-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-12-221-5/+3
| | | | * Makefile (HURDLIBS): Add shouldbeinlibc.
* .Roland McGrath1999-07-111-0/+4
|
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-0/+2
| | | | * common.h: Add #include <sys/mman.h> for munmap decl.
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-033-6/+9
| | | | | * common.h (VMFREE): Use munmap instead of vm_deallocate. * procstat.c (merge_procinfo): Likewise.
* .Roland McGrath1999-06-021-0/+11
|
* 1999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-023-10/+52
| | | | | | | | | | | * ps.h (PSTAT_ENV): New macro. (struct proc_stat): New members `env', `env_len', `env_vm_alloced'. (proc_stat_env, proc_stat_env_len): New accessor macros. (PSTAT_USER_BASE): Increase value to leave more room for additions. * procstat.c (proc_stat_set_flags): Handle environment. (_proc_stat_free): Likewise. * spec.c (ps_get_env, ps_env_getter): New function and constant. (specs): New spec "Env" using ps_env_getter and ps_emit_args.
* .Roland McGrath1999-05-291-0/+13
|
* 1999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-291-3/+5
| | | | | * context.c (ps_context_free): Don't call ihash_free on PC->procs twice! Instead, call it on ttys, ttys_by_cttyid, and users.
* 1999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-05-291-43/+55
| | | | | | | | | * spec.c (ps_emit_past_time, ps_emit_minutes): Fix return type of getter fn (int to void). * spec.c (ps_get_start_time, ps_start_time_getter): New function and constant to report task_basic_info.creation_time time stamp via "start_time" spec. (specs): Add "Start" fmt for it.
* Add braces to silence gcc warnings.Roland McGrath1998-10-203-80/+97
|
* .Miles Bader1997-06-081-0/+5
|
* (ps_emit_wait):Miles Bader1997-06-081-6/+11
| | | | Provide slightly better abbreviations for various port types.
* fix typoThomas Bushnell1997-05-231-1/+1
|
* Fri May 23 13:13:18 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-05-232-5/+18
| | | | | | | | * procstat.c (summarize_thread_basic_info): Don't include the kernel's idle threads in the summation. (summarize_thread_sched_info): Likewise. (summarize_thread_states): Likewise. (summarize_thread_waits): Likewise.
* .Miles Bader1997-03-011-0/+5
|
* (ps_fmt_squash):Miles Bader1997-02-281-2/+3
| | | | Deal with FIELD->spec being NULL when advancing over a field.
* .Miles Bader1996-11-161-0/+6
|
* (proc_stat_set_flags):Miles Bader1996-11-161-3/+6
| | | | | Allow the user fetch hook to turn on non-user bits, even if they've already failed in the standard code.
* .Miles Bader1996-10-091-0/+6
|
* (ps_nominal_string):Miles Bader1996-10-091-6/+16
| | | | | | | | New function. (specs): Use ps_nominal_string for `Args' and `Arg0' fields. (ps_emit_args, ps_emit_string): Use `-' for empty values.
* .Miles Bader1996-10-081-0/+6
|
* (ps_emit_seconds, ps_emit_minutes):Miles Bader1996-10-081-4/+10
| | | | Interpret PS_FMT_FIELD_COLON_MOD flag to mean `print zero as "-"'.
* (proc_stat_set_flags):Miles Bader1996-10-081-8/+3
| | | | | Get rid of INAPP macro. Fix preconditions of PSTAT_SUSPEND_COUNT.
* .Miles Bader1996-10-081-0/+26
|
* (struct ps):Miles Bader1996-10-081-133/+140
| | | | | | Add INAPP field. (struct ps_fmt): Add ERROR field, and rename INVAL to INAPP.
* (_fmt_create):Miles Bader1996-10-081-7/+14
| | | | | | | | Initialize INAPP & ERROR fields. (ps_fmt_clone): Propagate them. (ps_fmt_write_proc_stat): Use them.
* (proc_stat_thread_create):Miles Bader1996-10-081-38/+75
| | | | | | | | | | | | | | | | | | | 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.
* (ps_emit_wait): Correct mapping of init ports.Miles Bader1996-10-061-3/+5
|
* .Miles Bader1996-10-011-0/+5
|
* (noise_write, noise_len):Miles Bader1996-10-011-2/+2
| | | | Correctly calculate the length of a character printed using an octal escape.
* *** empty log message ***Thomas Bushnell1996-09-172-1/+7
|
* .Miles Bader1996-08-021-0/+6
|
* (set_procinfo_flags): Pass HAVE to count_threads.Miles Bader1996-08-021-10/+18
| | | | | (count_threads): Take new argument HAVE, and use different thread counting method depending on whether we have thread detail info.