Home
last modified time | relevance | path

Searched refs:tbprintf (Results 1 – 10 of 10) sorted by relevance

/openbsd-src/usr.bin/systat/
H A Dsensors.c212 tbprintf("%s.%s%d", devnames[s->sn_dev], in showsensor()
223 tbprintf("%10.2f degC", in showsensor()
227 tbprintf("%11lld RPM", s->sn_value); in showsensor()
230 tbprintf("%10.2f V DC", in showsensor()
234 tbprintf("%10.2f V AC", in showsensor()
238 tbprintf("%11lld ohm", s->sn_value); in showsensor()
241 tbprintf("%10.2f W", s->sn_value / 1000000.0); in showsensor()
244 tbprintf("%10.2f A", s->sn_value / 1000000.0); in showsensor()
247 tbprintf("%12.2f Wh", s->sn_value / 1000000.0); in showsensor()
250 tbprintf(" in showsensor()
[all...]
H A Dpftop.c721 tbprintf("%s", inetname(addr->v4)); in tb_print_addr()
724 tbprintf("%s", inet6name(&addr->v6)); in tb_print_addr()
730 tbprintf("/%u", unmask(mask)); in tb_print_addr()
759 tbprintf(":%u", ps); in print_fld_host2()
761 tbprintf("[%u]", ps); in print_fld_host2()
770 tbprintf(":%u", pn); in print_fld_host2()
772 tbprintf("[%u]", pn); in print_fld_host2()
795 tbprintf("%s:%s", tcpstates[s1], tcpstates[s2]); in print_fld_state()
799 tbprintf("PROXY:SRC\n"); in print_fld_state()
802 tbprintf("PROXY:DST\n"); in print_fld_state()
[all …]
H A Dnetstat.c391 tbprintf("%s", proto); in shownetstat()
393 tbprintf("6"); in shownetstat()
396 tbprintf("divert"); in shownetstat()
398 tbprintf("6"); in shownetstat()
401 tbprintf("%d", p->nif_ipproto); in shownetstat()
429 tbprintf("%s", inetname(*in)); in inetprint()
434 tbprintf(":%s", sp ? sp->s_name : "*"); in inetprint()
436 tbprintf(":%d", ntohs((u_short)port)); in inetprint()
448 tbprintf("%s", inet6name(in6)); in inet6print()
452 tbprintf(" in inet6print()
[all...]
H A Dmain.c230 tbprintf("%s %g", curr_view->name, naptime); in show_view()
239 tbprintf("[%s] ", v->name); in add_view_tb()
241 tbprintf("%s ", v->name); in add_view_tb()
260 tbprintf("[%s%s(%c)] ", o->name, in add_order_tb()
264 tbprintf("%s(%c) ", o->name, (char) o->hotkey); in add_order_tb()
275 tbprintf("No orders available"); in show_order()
H A Dengine.c124 tbprintf(char *format, ...) in tbprintf() function
358 tbprintf(" "); in print_bar_title()
361 tbprintf("%s", buf); in print_bar_title()
390 tbprintf("#"); in print_fld_bar()
686 if (tbprintf("%02u:%02u:%02u", h, m, s) <= len) in print_fld_age()
690 if (tbprintf("%u", age) <= len) in print_fld_age()
695 if (tbprintf("%um", age) <= len) in print_fld_age()
702 if (tbprintf("%uh", age) <= len) in print_fld_age()
709 if (tbprintf("%ud", age) <= len) in print_fld_age()
878 if (tbprintf("%*.*f", len, prec, f) > len) in print_fld_float()
H A Dif.c347 tbprintf("%s", ifs->ifs_cur.ifc_flags & IFF_UP ? in showifstat()
354 tbprintf(":U"); in showifstat()
357 tbprintf (":D"); in showifstat()
H A Dpf.c139 if (tbprintf("%.2f", val) > len) in print_fld_double()
256 tbprintf("0x%08x\n", ntohl(s->hostid)); in print_pf()
H A Dengine.h109 int tbprintf(char *format, ...) GCC_PRINTFLIKE(1,2);
H A Dcpu.c171 tbprintf(val >= 1000 ? "%4.0f%%" : "%4.1f%%", val / 10.); in print_fld_percentage()
H A Dpigs.c276 tbprintf("%.2f", value); in showpigs()