diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-25 18:05:28 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-25 18:05:28 +0000 |
commit | f75dd37adbe94337f4aa2608fe489d2887fb69f4 (patch) | |
tree | 5e7659385ceb5cf76506261a271cdb0677850ad1 /main | |
parent | ce7f125edd4ab3f89a3cade00a8fd60ebfcc6ec1 (diff) |
Identify what the columns mean in the output of "show profile"
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41118 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/asterisk.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index 14b9f77e6..9cf309872 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -469,10 +469,12 @@ static int handle_show_profile(int fd, int argc, char *argv[]) } ast_cli(fd, "profile values (%d, allocated %d)\n-------------------\n", prof_data->entries, prof_data->max_size); + ast_cli(fd, "%6s %8s %10s %12s %12s %s\n", "ID", "Scale", "Events", + "Value", "Average", "Name"); for (i = min; i < max; i++) { struct profile_entry *e = &prof_data->e[i]; if (!search || strstr(prof_data->e[i].name, search)) - ast_cli(fd, "%6d: [%8ld] %10ld %12lld %12lld %s\n", + ast_cli(fd, "%6d: [%8ld] %10ld %12lld %12lld %s\n", i, (long)e->scale, (long)e->events, (long long)e->value, |