summaryrefslogtreecommitdiff
path: root/libps
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-06 02:43:48 +0000
committerMiles Bader <miles@gnu.org>1995-04-06 02:43:48 +0000
commit8e2d1434527563aa099da31323775d54d4158cac (patch)
tree25a71eedfe611698e70c67bc39ec609c747caa6b /libps
parent7234f47557602880baaaee8d75cfafc12476ce96 (diff)
Add the `Arg0' spec, which is the same as `Args', but only prints the first
one. Change MsgsIn and MsgsOut to MsgIn and MsgOut.
Diffstat (limited to 'libps')
-rw-r--r--libps/spec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libps/spec.c b/libps/spec.c
index 52696e7c..cd7d1fd6 100644
--- a/libps/spec.c
+++ b/libps/spec.c
@@ -755,6 +755,7 @@ struct ps_fmt_spec ps_std_fmt_specs[] =
{"Sess", &ps_session_getter, ps_emit_int, ps_cmp_ints, -5},
{"LColl", &ps_login_col_getter, ps_emit_int, ps_cmp_ints, -5},
{"Args", &ps_args_getter, ps_emit_string0, ps_cmp_strings, 0},
+ {"Arg0", &ps_args_getter, ps_emit_string, ps_cmp_strings, 0},
{"Time", &ps_tot_time_getter, ps_emit_seconds, ps_cmp_ints, -8},
{"UTime", &ps_usr_time_getter, ps_emit_seconds, ps_cmp_ints, -8},
{"STime", &ps_sys_time_getter, ps_emit_seconds, ps_cmp_ints, -8},
@@ -771,8 +772,8 @@ struct ps_fmt_spec ps_std_fmt_specs[] =
{"PgFlts", &ps_page_faults_getter, ps_emit_int, ps_cmp_ints, -5},
{"COWFlts",&ps_cow_faults_getter, ps_emit_int, ps_cmp_ints, -5},
{"PgIns", &ps_pageins_getter, ps_emit_int, ps_cmp_ints, -5},
- {"MsgsIn", &ps_msgs_rcvd_getter, ps_emit_int, ps_cmp_ints, -5},
- {"MsgsOut",&ps_msgs_sent_getter, ps_emit_int, ps_cmp_ints, -5},
+ {"MsgIn", &ps_msgs_rcvd_getter, ps_emit_int, ps_cmp_ints, -5},
+ {"MsgOut", &ps_msgs_sent_getter, ps_emit_int, ps_cmp_ints, -5},
{"ZFills", &ps_zero_fills_getter, ps_emit_int, ps_cmp_ints, -5},
{0}
};