Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/systat/iostat.c
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | |||||
#ifdef lint | #ifdef lint | ||||
static const char sccsid[] = "@(#)iostat.c 8.1 (Berkeley) 6/6/93"; | static const char sccsid[] = "@(#)iostat.c 8.1 (Berkeley) 6/6/93"; | ||||
#endif | #endif | ||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <sys/sysctl.h> | #include <sys/sysctl.h> | ||||
#include <sys/resource.h> | #include <sys/resource.h> | ||||
#include <devstat.h> | |||||
#include <err.h> | #include <err.h> | ||||
#include <nlist.h> | #include <nlist.h> | ||||
#include <paths.h> | #include <paths.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <string.h> | #include <string.h> | ||||
#include "systat.h" | #include "systat.h" | ||||
#include "extern.h" | #include "extern.h" | ||||
#include "devs.h" | |||||
static int linesperregion; | static int linesperregion; | ||||
static double etime; | static double etime; | ||||
static int numbers = 0; /* default display bar graphs */ | static int numbers = 0; /* default display bar graphs */ | ||||
static int kbpt = 0; /* default ms/seek shown */ | static int kbpt = 0; /* default ms/seek shown */ | ||||
static int barlabels(int); | static int barlabels(int); | ||||
static void histogram(long double, int, double); | static void histogram(long double, int, double); | ||||
▲ Show 20 Lines • Show All 301 Lines • Show Last 20 Lines |